Run quality gates: Execute each check and fix any failures before proceeding.
pnpm lint:affected pnpm ts:affected pnpm test:affectedFix failures: If any check fails, fix the issue and re-run. Do not skip or ignore failures.
Stage and commit:
- Run
git statusandgit diffto review changes - Stage specific files by name (never use
git add .orgit add -A) - Write a conventional commit message:
<type>(<scope>): <description> - Types:
feat,fix,docs,style,refactor,perf,test,chore,revert - Scopes:
nx,rule,shared,script
- Run
Push 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>"- Labels:
feature,bug,chore,docs,refactoring - Include a summary of changes in the PR body
- Labels:
Verify: Confirm the PR was created successfully and share the PR URL.
Finish Work
Run quality gates, commit changes, push branch, and create a pull request.
Finish Work by majiayu000 · ebe5fea
npx skillmds@latest add majiayu000/finish-work-2 File contents
---name: finish-work-2description: Run quality gates, commit changes, push branch, and create a pull request.---
1. **Run quality gates**: Execute each check and fix any failures before proceeding.
```bash
pnpm lint:affected
pnpm ts:affected
pnpm test:affected
```
2. **Fix failures**: If any check fails, fix the issue and re-run. Do not skip or ignore failures.
3. **Stage and commit**:
- Run `git status` and `git diff` to review changes
- Stage specific files by name (never use `git add .` or `git add -A`)
- Write a conventional commit message: `<type>(<scope>): <description>`
- Types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`, `revert`
- Scopes: `nx`, `rule`, `shared`, `script`
4. **Push the branch**: Run `git push -u origin <branch-name>` to push and set the upstream.
5. **Create the pull request**:
```bash
gh pr create \
-a @me \
-r @carrot-foundation/developers \
--label <label> \
-R carrot-foundation/methodology-rules \
-t "<type>(<scope>): <title>"
```
- Labels: `feature`, `bug`, `chore`, `docs`, `refactoring`
- Include a summary of changes in the PR body
6. **Verify**: Confirm the PR was created successfully and share the PR URL.
majiayu000/claude-skill-registry-data/tree/main/workflow/finish-work-carrot-foundation-methodology-rules commit ebe5fea7e0
Frequently asked questions
Run npx skillmds@latest add majiayu000/finish-work-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Run quality gates, commit changes, push branch, and create a pull request. It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.