feat: add claude config

This commit is contained in:
Daniel Bauer
2026-08-09 14:15:17 +02:00
parent 22af30aa1b
commit f165a04aca
27 changed files with 7124 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
---
name: commit
description: >-
Create git commits with well-formatted conventional commit messages.
disable-model-invocation: true
effort: low
model: haiku
allowed-tools:
- Glob
- Grep
- Read
- TodoWrite
- TaskCreate
- TaskUpdate
- TaskList
---
# Commit
Create commits with well-formatted conventional commit messages.
## Process
1. Check for changes (`git status`). If something is staged, consider only staged changes. Otherwise, review and stage appropriate files.
2. Determine the commit type (e.g. feat, fix, docs, refactor, ...).
3. Generate a descriptive commit message using conventional commit standards. Include scope if applicable: `type(scope): description`.
4. Add a body for complex changes explaining the *why*.
5. Execute the commit.
## Best Practices
- Keep commits atomic and focused
- Write in imperative style ("Add feature" not "Added feature")
- Explain why, not just what
- Reference issues/PRs when relevant
- Split unrelated changes into separate commits
- Do not add Claude Code as co-author to the commit