finish-work
Run quality gates, commit changes, push branch, and create a pull request.
SKILL.md.claude/skills/finish-work/SKILL.md
GitHubRun 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.