Track the project-local Claude Code skills that were living untracked in .claude/skills/. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
name, description
| name | description |
|---|---|
| commit | Create a well-formatted git commit with staged changes |
Git Commit
Create a well-formatted commit with staged changes following best practices.
Steps
- Run
git status --porcelainto check for changes - If no staged changes, show unstaged files and ask what to stage
- Run
git diff --cachedto review staged changes - Generate a commit message following Conventional Commits format:
feat:new featurefix:bug fixdocs:documentationrefactor:code restructuringtest:adding testschore:maintenance
- Create commit with the message, adding Co-Authored-By trailer
Commit Message Format
<type>(<scope>): <short description>
<body - what and why, not how>
Co-Authored-By: Claude <noreply@anthropic.com>
Best Practices
- Warn about large commits (>500 lines changed)
- Suggest splitting large changes into smaller commits
- Never skip pre-commit hooks unless explicitly requested
Changelog
After committing, update CHANGELOG.md following Keep a Changelog format:
- Add entry under
[Unreleased]section (create if not exists) - Categorize changes:
Added- new featuresChanged- changes to existing functionalityDeprecated- features marked for removalRemoved- removed featuresFixed- bug fixesSecurity- security-related changes
- Write entries in imperative mood: "Add feature" not "Added feature"
- Reference issue numbers where applicable