Ship
Use this skill when the user asks to commit and push current work.
1. Review changes
- •Run
git status(never use-uall). - •Run
git difffor unstaged changes. - •Run
git diff --stagedfor staged changes. - •Understand all current modifications before staging anything else.
2. Update project documentation
Update only files directly impacted by the current change set.
End-user docs HTML regeneration
- •If files under
docs/manuals/end-user/changed, run:- •
npm run docs:generate
- •
- •This regenerates:
- •
issuer/public/docs/index.html - •
verification/public/docs/index.html - •related assets in each app
public/docs/assets/
- •
- •If regeneration updates files, include those generated files in the same commit.
CHANGELOG.md
- •Add an entry under
## [Unreleased]. - •Put each change under the right subsection:
Added,Changed,Fixed, orRemoved. - •Create subsection headers if missing.
- •Keep entries concise (one bullet per logical change).
docs/TODO.md
- •Update checkboxes and status labels to match the current state.
- •Adjust V2 progress, metrics, or success criteria only when affected.
docs/SPEC.md
- •Update only if behavior, architecture, acceptance criteria, or dependencies changed.
- •Skip for internal-only changes (refactors, tests, tooling-only updates).
3. Stage files safely
- •Stage files explicitly by name (
git add <file>). - •Never use
git add -Aorgit add .. - •Never stage secrets (
.env, credentials, private keys). Warn the user if detected.
4. Draft commit message
- •Review recent style with
git log --oneline -10. - •Analyze the staged diff and draft a concise conventional commit:
- •
feat:,fix:,docs:,refactor:,test:,chore:
- •
- •Keep it to 1-2 sentences and emphasize why the change exists.
- •Show the proposed message to the user before committing.
5. Choose git alias
Ask the user which alias to use:
- •
git caifor AI-attributed commit (prefixes message withAI:) - •
git chfor regular commit with default git identity
6. Commit
Run the chosen alias with the approved message, for example:
- •
git cai "feat: add dark mode toggle to settings page" - •
git ch "feat: add dark mode toggle to settings page"
7. Push
- •Run
git push. - •If no upstream exists, run
git push -u origin <branch>.