/cipherpowers:commit-workflowfrom cipherpowers
Guides the commit process with pre-commit checks, atomic commits, and conventional commit messages. Use when committing code changes or before creating pull requests.
Ships in cipherpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Structured commit process ensuring code quality through pre-commit verification, atomic commit composition, and conventional commit message formatting.
Before committing:
Commit composition:
Note: Quality gates (PostToolUse, SubagentStop hooks) automatically enforce pre-commit checks, so code quality is already verified.
Read these before committing:
${CLAUDE_PLUGIN_ROOT}standards/conventional-commits.md - Commit message format${CLAUDE_PLUGIN_ROOT}standards/git-guidelines.md - Git workflow standardsNote: Pre-commit quality checks (linters, tests, build) are enforced automatically by quality gates (PostToolUse, SubagentStop hooks). By the time you're committing, gates have already verified code quality.
Review what's staged:
git status
If 0 files staged:
git add .git add <specific-files>Understand what's being committed:
# See staged changes
git diff --staged
# See all changes (staged + unstaged)
git diff HEAD
Analyze for logical grouping:
Single commit: All changes are logically related (one feature, one fix)
Multiple commits: Multiple distinct changes detected:
If splitting, stage selectively:
# Stage specific files
git add file1.py file2.py
git commit -m "..."
# Stage remaining files
git add file3.py
git commit -m "..."
Format (from standards/conventional-commits.md):
<type>(<optional-scope>): <description>
[optional body]
[optional footer]
Common types:
feat: New featurefix: Bug fixrefactor: Code change that neither fixes bug nor adds featuredocs: Documentation changestest: Adding or updating testschore: Maintenance tasksExample messages:
git commit -m "feat(auth): add password reset functionality
Implement forgot-password flow with email verification.
Includes rate limiting to prevent abuse."
git commit -m "fix: handle null values in user profile endpoint"
git commit -m "refactor: extract validation logic into separate module
Improves testability and reduces duplication across endpoints."
Execute commit:
git commit -m "type(scope): description"
Verify commit:
git log -1 --stat
NEVER skip:
Common rationalizations that violate workflow:
Note: Pre-commit quality checks are enforced by quality gates automatically - no need to run them manually at commit time.
See test-scenarios.md for pressure tests validating this workflow resists shortcuts.
What SKILL.md sets; muted values are Claude Code's defaults
when committing code changes, before creating pull requests, when another agent needs to commit work
Three short reads, in order
41 skills in this plugin
/algorithmic-command-enforcementAlgorithmic Command EnforcementUse boolean decision trees instead of imperatives for 100% compliance under pressure/brainstormingUse when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes/capturing-learningCapturing Learning from Completed Worknpx claudepluginhub cipherstash/cipherpowers --plugin cipherpowersOther plugins' skills for the same job