Agent skill
shepherd
Merge process -- push, CI check, PR, merge, deploy monitor, prune branches
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/shepherd
SKILL.md
Shepherd
Guide the merge-to-main process.
Prepare
Follow /prepare if this command did not immediately follow prepare.
Clean NPM Check
- Push the branch
- Monitor the workflow in GitHub Actions
- Fix any errors (lint, test, typecheck), commit and push
Create and Merge PR
- Create PR
- Merge once checks pass (use
--merge, not--squash)
Clean NPM Deploy
- Monitor the workflow in GitHub Actions
- If NPM publish errors (especially pre-1.0), request the operator publish manually
- Once operator publishes, restart the failed workflow and monitor
- Report once NPM Deploy finishes successfully
- Report errors in other jobs but do not resolve unless asked
Prune Branches
- Return to main, fetch, and pull
- Delete the local and remote feature branches
- Delete local branches orphaned during this session
- Propose and confirm with operator additional local branches without a remote tracking branch to delete
Known Issues
Do not worry about Build Stacks to Development, Build Stacks to Sandbox, or Deploy Documentation Stack. These stacks are still in beta.
User Input
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?