6bdb802f01
- Add all claude skills (brainstorming, commit, debugging, TDD, etc.) - Add claude hooks (pre-commit-guard, post-edit-quality) - Add research templates (experiment plan, research brief, etc.) - Add claude tools (arxiv/semantic_scholar/openalex fetch, wiki, exa) - Add TRM4 reference implementation as algorithm fidelity baseline - Add research-wiki content (plans, index, graph, query_pack) - Update .gitignore to exclude .graphify_version runtime state
1.7 KiB
1.7 KiB
name, description
| name | description |
|---|---|
| commit | Use when committing code changes - enforces commit message format, safety checks, and prohibits AI signatures |
Commit
Automatically generate a commit message and submit the code.
Workflow
- Check status: run
git statusto inspect changes (do not use-uall) - Review diff: run
git diff --stagedandgit diffto inspect the exact changes - Check style: run
git log --oneline -10to review recent commit style - Generate message: create a commit message that follows the rules below
- Commit: stage the files and commit
Commit Message Rules
Format
<type>: <description>
[optional body]
Type Values
feat: new featurefix: bug fixdocs: documentation updaterefactor: refactor with no functional changetest: test-related changechore: build / tooling / configurationperf: performance optimizationci: CI/CD related
Rules
- The description must be written in English
- Keep it under 72 characters
- Use the imperative mood, for example "add user authentication" instead of "added user authentication"
Safety Rules
Caution
Never add any AI signature to a commit message:
- Do not add
Co-Authored-By: Claude- Do not add
🤖 Generated with...- Do not add any AI signature or marker
Sensitive File Check
Before committing, check whether any of the following files were accidentally added:
.env/.env.*credentials.json*_secret**.pem/*.key
If sensitive files are found, warn the user and wait for confirmation.
Examples
# Auto-generate a message
/commit
# Specify a message
/commit "feat: add user login"