skills/code-commit/SKILL.md
Generate and validate conventional commit messages following the conventionalcommits.org spec. Use whenever the user wants to commit code, mentions commit messages, git commit, or asks to create a commit. Triggers on "commit", "git commit", "conventional", or when reviewing commit message format.
npx skillsauth add martinffx/claude-code-atelier code-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate and validate commit messages following the Conventional Commits specification.
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]
| Type | Description |
|------|-------------|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation only |
| style | Code style (formatting, semicolons, etc.) |
| refactor | Code change that neither fixes nor adds |
| test | Adding or updating tests |
| chore | Build, tooling, dependencies |
| perf | Performance improvement |
| ci | CI configuration changes |
| build | Build system or dependencies |
| revert | Reverting a previous commit |
auth, api, ui)! after type/scope: feat(auth)!: change APIBREAKING CHANGE:) or issue references (Closes #123)When user wants to commit changes:
git status to see changed filesgit diff --staged for staged changesgit commit -m "<message>"Example:
feat(auth): add JWT token refresh
Implements token refresh endpoint to extend sessions
without requiring re-authentication.
Closes #142
When user asks to validate or check a commit message:
<type>(<scope>): <subject>When user wants to open a PR or after finishing commits on a feature branch:
git branch --show-currentls .github/PULL_REQUEST_TEMPLATE.mdgit push -u origin <branch>gh pr create:
--fill if commits are clean (auto-populates title/body)--draft for work-in-progressSee references/pr-workflow.md for full workflow details.
| Input | Action | |-------|--------| | User says "commit" or "git commit" | Generate from git diff, then commit | | User says "validate commit" | Check the commit message format | | User pastes commit message | Validate the provided message |
When generating a commit:
git commit -m "<message>" after confirmationgit status shows nothing → warn user nothing to commitInput: "I fixed the login bug" Output:
fix(auth): resolve login timeout issue
Users were logged out after 5 minutes due to
incorrect token expiry calculation.
Input: "I added a new API endpoint for users" Output:
feat(api): add user profile endpoint
GET /users/:id returns user profile data including
name, email, and avatar URL.
Closes #89
Input: "I changed the auth API, this breaks old clients" Output:
feat(auth)!: change token validation endpoint
The /auth/verify endpoint now requires Bearer token
instead of query parameter.
BREAKING CHANGE: Clients must update to send
Authorization header with Bearer token.
development
Security architecture and threat modeling knowledge. Auto-invokes when designing features that handle untrusted data, authentication, authorization, external integrations, file uploads, or sensitive data. Provides risk assessment frameworks, trust boundary analysis, and security design principles — not implementation code.
testing
Adversarial review of non-trivial decisions using fresh-context scrutiny. Use when correctness matters more than speed, when stakes are high (production, security-sensitive logic, irreversible operations), or before committing significant architectural or implementation choices.
development
Compact the current conversation into a handoff document for another agent to pick up.
testing
Socratic interrogation of plans against the project's domain model and documented decisions. Use when the user wants to stress-test a plan, clarify terminology, or validate assumptions against existing domain language. Updates CONTEXT.md and ADRs inline as decisions crystallise.