Introduces 5 rules files following Anthropic's recommended pattern for splitting large CLAUDE.md files. Rules auto-load every session and separate CLI reference material from core project identity. - tea-cli.md: Gitea CLI reference, PR creation, protected branches - git-safety.md: staging rules, commit conventions (from git-commit skill) - project-structure.md: full annotated directory tree - team-patterns.md: model selection, large content push pattern - local-services.md: Gitea/Qdrant/Ollama endpoints Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
583 B
Markdown
17 lines
583 B
Markdown
# Git Safety
|
|
|
|
## Staging rules
|
|
|
|
- **Stage files by name** — never use `git add -A` or `git add .`
|
|
- Verify no secrets, saves, or binary blobs are staged
|
|
- Skip files in `.gitignore`
|
|
- The `.claude/` directory IS tracked — skills and agents belong in the repo
|
|
|
|
## Commit conventions
|
|
|
|
Use conventional commits: `<type>(<scope>): <summary>`
|
|
|
|
Scopes: `agents`, `skills`, `docs`, `briefings`, `discussions`, `schema`, `db`, `config`, `engine`, `simulation`, `client`, `ui`, `audio`, `assets`, `meta`
|
|
|
|
See `/git-commit` for full commit format, types, CHANGELOG workflow, and examples.
|