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 dev or main, stop and ask the user to switch by default.
  • Never checkout, merge, rebase, or push dev or main by 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-hub exception (explicit user request only):
    • Allow operating on main only in the skills-hub repo.
    • 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/main only after task completion and explicit confirmation.
    • Keep all other protections unchanged.

Secure context input

Related skills

More from xiaojiongqian/skills-hub

Installs
8
GitHub Stars
2
First Seen
Mar 12, 2026