auto-dev
Installation
SKILL.md
Auto Dev
This skill is designed for reuse across projects. Keep business-specific behavior in project packs and inject it via .skills-hub/ hooks.
Guardrails
- Confirm scope with
pwd; keep all reads/writes inside the current worktree. - Read the current branch with
git rev-parse --abbrev-ref HEAD. - If the branch is
devormain, stop and ask the user to switch by default. - Never checkout, merge, rebase, or push
devormainby default. - Never push to any remote branch other than the current branch name by default.
- Never force-push or rewrite remote history.
- For GitHub Actions deploys, require the branch to track
origin/<current-branch>; infer deploy targets from the remote branch state, not unpushed local commits. skills-hubexception (explicit user request only):- Allow operating on
mainonly in theskills-hubrepo. - Treat explicit confirmation as part of the protected command invocation, using
AUTO_DEV_ALLOW_SKILLS_HUB_MAIN=skills-hub-main-confirmed. - Allow commit/push to
origin/mainonly after task completion and explicit confirmation. - Keep all other protections unchanged.
- Allow operating on