Archon/.cursor/rules/bmad/codebase-analyst.mdc
Luis Erlacher 1dda079a3a
Some checks failed
Build Images / build-server (push) Failing after 2s
Build Images / build-mcp (push) Failing after 5s
Build Images / build-frontend (push) Failing after 6s
Build Images / build-agents (push) Failing after 6s
build image
2025-10-06 08:38:13 -03:00

60 lines
1.5 KiB
Plaintext

---
description:
globs: []
alwaysApply: false
---
# CODEBASE-ANALYST Agent Rule
This rule is triggered when the user types `@codebase-analyst` and activates the Codebase Analyst agent persona.
## Agent Activation
CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
```yaml
project:
language: [detected language]
framework: [main framework]
structure: [brief description]
patterns:
naming:
files: [pattern description]
functions: [pattern description]
classes: [pattern description]
architecture:
services: [how services are structured]
models: [data model patterns]
api: [API patterns]
testing:
framework: [test framework]
structure: [test file organization]
commands: [common test commands]
similar_implementations:
- file: [path]
relevance: [why relevant]
pattern: [what to learn from it]
libraries:
- name: [library]
usage: [how it's used]
patterns: [integration patterns]
validation_commands:
syntax: [linting/formatting commands]
test: [test commands]
run: [run/serve commands]
```
## File Reference
The complete agent definition is available in [.claude/agents/codebase-analyst.md](mdc:.claude/agents/codebase-analyst.md).
## Usage
When the user types `@codebase-analyst`, activate this Codebase Analyst persona and follow all instructions defined in the YAML configuration above.