internal/instructions/skills/kn-commit/SKILL.md
Use when committing code changes with proper conventional commit format and verification
npx skillsauth add knowns-dev/knowns kn-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.
Announce: "Using kn-commit to commit changes."
Core principle: VERIFY BEFORE COMMITTING - check staged changes, ask for confirmation.
git status
git diff --staged
Format:
<type>(<scope>): <message>
- Bullet point summarizing change
Types: feat, fix, docs, style, refactor, perf, test, chore
Rules:
Ready to commit:
feat(auth): add JWT token refresh
- Added refresh token endpoint
Proceed? (yes/no/edit)
Wait for user approval.
git commit -m "feat(auth): add JWT token refresh
- Added refresh token endpoint"
All built-in skills in scope must end with the same user-facing information order: kn-init, kn-spec, kn-plan, kn-research, kn-implement, kn-verify, kn-doc, kn-template, kn-extract, and kn-commit.
Required order for the final user-facing response:
Keep this concise for CLI use. Skill-specific content may extend the key-details section, but must not replace or reorder the shared structure.
Out of scope: explaining, syncing, or generating .claude/skills/*. Runtime auto-sync already handles platform copies, so this skill source only defines the built-in output contract.
For kn-commit, the key details should cover:
When a follow-up is natural, recommend exactly one next command:
/kn-verify/kn-extract or the next task-specific workflow command if one is obvioustesting
Use when running SDD verification and coverage reporting
development
Use when generating code from templates - list, run, or create templates
testing
Use when creating a specification document for a feature (SDD workflow)
development
Use when reviewing implemented code before committing — multi-perspective review with severity-based findings