From atelier
Use when the user runs "/cap" or asks to "commit and push", "cap it", "ship it", "save progress". Scans for secrets, generates a commit message, stages appropriate files, commits, and pushes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atelier:cap [optional commit message hint][optional commit message hint]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fast commit workflow: devsec scan → message generation → selective staging → commit → push.
Fast commit workflow: devsec scan → message generation → selective staging → commit → push.
git status --short
git diff --stat HEAD
Identify: new files, modified files, deleted files, untracked files.
Run gitleaks on staged + unstaged changes:
gitleaks detect --source . --no-git 2>/dev/null \
|| gitleaks detect --source . 2>/dev/null \
|| echo "gitleaks not found — skipping"
If gitleaks is unavailable, fall back to a quick pattern grep on changed files:
git diff HEAD -- . | grep -iE \
'(api[_-]?key|secret|password|token|bearer|private[_-]?key)\s*[:=]\s*["\x27]?[A-Za-z0-9+/]{16,}'
If any real secrets are found: STOP. Report findings. Do not commit.
False positives (test fixtures, variable names, localhost IPs) — note them and continue.
Stage:
Do NOT stage:
.env, .env.*, *.key, *.pem, *.p12, *.pfx*secret*, *credential*, *token* (unless clearly non-sensitive, e.g. a test fixture file)target/, dist/, *.wasm) unless explicitly requested.ctx/HANDOFF.*.state.yamlStage appropriate files:
git add <files> # specific files only — never `git add -A` blindly
Read the diff and produce a conventional commit message:
<type>(<scope>): <what changed and why>
Types: feat, fix, docs, chore, refactor, test, style, ci
Rules:
git commit -m "<message>"
Never use --no-verify. Let hooks run. If a hook fails, report it — do not retry blindly.
git push
If the branch has no upstream, set it:
git push -u origin $(git branch --show-current)
One-line summary:
capped: <N> files | <commit hash> | <branch> -> origin
If anything was skipped (secrets found, files excluded), note it on the next line.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub 89jobrien/bazaar --plugin atelier