用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/carrot-foundation/methodology-rules --skill finish-work命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | Finish Work |
| description | Run quality gates, commit changes, push branch, and create a pull request. |
Run quality gates: Execute each check and fix any failures before proceeding.
pnpm lint:affected
pnpm ts:affected
pnpm test:affected
Fix failures: If any check fails, fix the issue and re-run. Do not skip or ignore failures.
Stage and commit:
git status and git diff to review changesgit add . or git add -A)<type>(<scope>): <description>feat, fix, docs, style, refactor, perf, test, chore, revertnx, rule, shared, scriptPush the branch: Run git push -u origin <branch-name> to push and set the upstream.
Create the pull request:
gh pr create \
-a @me \
-r @carrot-foundation/developers \
--label <label> \
-R carrot-foundation/methodology-rules \
-t "<type>(<scope>): <title>"
feature, bug, chore, docs, refactoringVerify: Confirm the PR was created successfully and share the PR URL.