add .claude config folder with Claude-equivalent agent and hook settings

Mirrors .cursor and .codex structure with Claude model assignments:
- haiku for lighter tasks (translator, browser-check, profiler)
- sonnet for standard tasks (code-quality, plan-implementer, etc.)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tommaso Casaburi
2026-03-29 16:35:21 +07:00
co-authored by Claude Opus 4.6
parent e7d175afa1
commit 189d1c2165
101 changed files with 10859 additions and 1 deletions
+57
View File
@@ -0,0 +1,57 @@
---
name: commit
description: Commit current work by reviewing diffs, splitting into logical commits, and writing standardized messages. Use when the user says "commit", "commit this", "commit current work", or asks to create a git commit.
disable-model-invocation: true
---
# Commit Current Work
## Workflow
1. **Review all uncommitted changes**
```bash
git status
git diff
git diff --cached
```
Read every changed file's diff to understand the full scope of changes.
2. **Group changes into logical commits**
If diffs are unrelated, split into multiple commits. Each commit should cover one logical unit of work.
Example — two unrelated changes in the working tree:
- Modified `src/components/reply-modal.tsx` (UI fix)
- Modified `src/stores/use-settings-store.ts` (new setting)
These should be two separate commits, not one.
3. **Stage and commit each group**
For each logical group:
```bash
git add <relevant files>
git commit -m "title here"
```
4. **Display the commit title to the user** wrapped in backticks (inline code).
## Commit Message Rules
- **Title format:** Conventional Commits with a **required scope**. The scope should be a short, human-readable name for the area of the codebase affected.
| Pattern | Example |
|---------|---------|
| `type(scope): description` | `feat(reply modal): add textarea` |
- **Never omit the scope.** `feat: add textarea` is wrong. `feat(reply modal): add textarea` is correct.
- **Keep titles short.** If more context is needed, add a commit body — but don't repeat the title.
- **Use `perf:` for performance optimizations**, not `fix:`.
## Constraints
- Only commit when instructed. Do not commit subsequent changes unless explicitly told to.
- Never push — only commit locally.
- Never amend commits that have been pushed to a remote.