Use this skill when repository operations (worktrees, quality gates, CI-prep checks) need a repeatable operational workflow.
Coverage
- worktree lifecycle management
- lint and quality checks before merge
- skill token budget linting via
scripts/lint-skill-tokens.sh
Workflow
- Confirm branch/worktree intent and current git state.
- Create/switch worktree with deterministic naming and path conventions.
- Run focused quality gates for touched surfaces first, then broader gates if risk requires.
- Run repository policy checks (formatting, lint, tests, token lint where relevant).
- Summarize pass/fail results with exact failing commands and next actions.
- Remove temporary worktrees only after work is merged or explicitly abandoned.
Rails Touchpoints
When the repo includes Rails surfaces, include these checks where applicable: