본문으로 건너뛰기
cccskills
무료GitHub에 공개

git-workflow

Standard Git commit, verification, push, and CI watch workflow for md-editor

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor스타 40(GitHub 40 + cccskills 0)
연동 도구GitHub

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Git Workflow & Pre-Push Quality Protocol

This skill guides agents through the mandatory lifecycle for branching, committing, verifying, pushing code, and monitoring CI checks in the md-editor workspace.

1. Branch Naming Protocol (Mandatory)

All git branches MUST follow the <category>/<kebab-case-description> pattern:

  • Features: feature/<name> (⚠️ STRICTLY FORBIDDEN to use feat/<name>; feat is for commit types, while branches must use feature/)
  • Bug Fixes: fix/<name> or hotfix/<name>
  • Refactoring: refactor/<name>
  • Documentation: docs/<name>
  • Performance: perf/<name>
  • CI / Build: ci/<name> or chore/<name>

Examples

  • ✅ feature/desktop-r2-distribution
  • ✅ feature/mobile-editor-core
  • ✅ fix/table-cell-editing
  • ✅ refactor/split-desktop-view
  • ❌ feat/desktop-r2-distribution (Do NOT abbreviate to feat/)
  • ❌ update-something (Missing category prefix)

2. Commit Protocol (Mandatory Conventional Commits)

All commit messages MUST strictly adhere to the Conventional Commits specification:

<type>(<scope>): <subject>

[optional body]

[optional footer(s)]

Allowed Types

  • feat: A new feature or capability (e.g. feat(renderer): add dynamic plugin registration)
  • fix: A bug fix (e.g. fix(wysiwyg): calibrate code-block drag alignment)
  • perf: A code change that improves performance (e.g. perf(parser): bypass ast rebuild for ui plugins)
  • refactor: A code change that neither fixes a bug nor adds a feature (e.g. refactor(plugins): decouple syntax plugins to subpackage)
  • docs: Documentation only changes (e.g. docs: update plugin development guide)
  • test: Adding or correcting tests (e.g. test(core): add regression tests for markdown fidelity)
  • chore: Changes to build process, dependencies, or tooling (e.g. chore: update dependencies)
  • style: Formatting or whitespace fixes (e.g. style: format markdown tables)
  • ci: Changes to CI configuration or workflow files (e.g. ci: add automated desktop release)

Disallowed Patterns

  • ❌ No arbitrary capitalized sentences (e.g. Update some files, Fixed bug)
  • ❌ No Lore trailers (Constraint:, Rejected:, Directive:, Confidence:)
  • ❌ No vague messages (e.g. wip, misc fixes)

3. Pre-Push Verification (Mandatory)

Before executing git push, the agent MUST run and ensure the following checks pass:

# 1. Check linting, Prettier formatting, and Rust cargo clippy/fmt
pnpm lint

# 2. Run unit tests across all workspaces (unit tests must pass 100%; e2e is optional)
pnpm test

# 3. Verify TypeScript types across all workspaces
pnpm typecheck

Alternatively, run the unified verification script:

pnpm verify

If ANY of these commands fail:

  • DO NOT proceed to push.
  • Investigate and fix the issue first.
  • Re-run verification until all commands exit with code 0.

4. Push and Post-Push CI Monitoring (Mandatory)

After pushing changes to the remote branch:

git push origin <branch>

Automated CI Watch

If the current branch has an associated open Pull Request, the agent MUST automatically monitor CI status:

pnpm pr:watch
# or:
gh pr checks <pr_number> --watch

Reporting

  • If all checks pass: Report the success and active PR link to the user.
  • If any check fails: Inspect the failed step log (gh run view --log-failed), identify the failure reason, and either fix it or provide a detailed diagnostic report.

5. Pull Request Merge & Branch Cleanup Protocol (Mandatory)

When merging a Pull Request using GitHub CLI (gh pr merge), ALWAYS include the --delete-branch (-d) flag to automatically delete both the remote branch and local tracking branch after merge:

# Recommended squash-and-merge with automatic branch deletion:
gh pr merge <pr_number_or_url> --squash --delete-branch

# Or with auto-merge enabled (automatically merges and deletes branch once CI passes):
gh pr merge <pr_number_or_url> --squash --auto --delete-branch

Safety Rules for Branch Deletion:

  • Protected Branches: NEVER delete main, dev, or beta.
  • Merging with --delete-branch ensures already-merged feature/fix branches do not accumulate as stale branches.
  • After merging, switch back to main and pull the latest changes:
    git checkout main && git pull origin main
    

6. Multi-Platform Release Protocol

For multi-platform releases, version bumps, changelog maintenance, and production deployment, refer to the dedicated Release Skill:

Release Command Quick Reference

PlatformCommandTag PatternCI Workflow
Desktoppnpm release:desktopv*.github/workflows/release-desktop.yml
Androidpnpm release:androidandroid-v*.github/workflows/release-mobile.yml
Webpnpm release:webweb-v*.github/workflows/release-web.yml
Sitepnpm release:siteN/AVercel CLI Prebuilt Deploy
Workerpnpm deploy:workerN/ACloudflare Worker CLI

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

[OMX] Run an anti-slop cleanup/refactor/deslop workflow

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

analyze

무료

[OMX] Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs grounded cross-file explanation before any changes are proposed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

ask

무료

[OMX] Ask a local external advisor CLI (Claude or Gemini) and capture a reusable artifact

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

autopilot

무료

[OMX] Strict autonomous loop: $deep-interview -> $ralplan -> $ultragoal (+ $team if needed) -> $code-review -> $ultraqa

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

[OMX] Stateful validator-gated research loop with native-hook persistence

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

[OMX] Durable professor-critic research workflow over Codex goal mode without reviving deprecated omx autoresearch

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wmasfoe/md-editor402026년 10월 28일 업데이트

wmasfoe의 스킬 모두 보기

이 스킬의 문제 신고