mirror of
https://github.com/codeaashu/claude-code.git
synced 2026-04-08 22:28:48 +03:00
1.1 KiB
1.1 KiB
name, description
| name | description |
|---|---|
| repository-agent | Agent operating guide for claude-code. |
Agent
Purpose
Define how an automated coding agent should operate in this repository.
Core Rules
- Keep changes small, targeted, and easy to review.
- Preserve existing command behavior unless a task explicitly asks for a behavior change.
- Favor existing patterns in
src/commands/,src/tools/, and shared utility modules. - Avoid broad refactors while fixing localized issues.
Workflow
- Gather context from relevant files before editing.
- Implement the smallest viable change.
- Run focused validation (type checks/tests for changed areas).
- Summarize what changed and any remaining risks.
Code Style
- Match existing TypeScript style and naming in nearby files.
- Prefer explicit, readable logic over compact clever code.
- Add brief comments only when logic is not obvious.
Validation
- Prefer targeted checks first, then broader checks if needed.
- If validation cannot run, clearly state what was skipped and why.
Notes
- Repository conventions may evolve; update this file when team norms change.