From renata
Use whenever you are about to propose a technical solution, write code, or implement a feature. Ensures the proposal respects the project's accepted ADRs before writing a single line of code. Auto-activates when detecting context like "implement X", "how do I Y", "I'm going to use library Z", or similar.
How this skill is triggered — by the user, by Claude, or both
Slash command
/renata:respecting-adrsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
ADRs (`docs/decisions/ADR-*.md`) are the project's structural decisions with status `accepted`. **Every technical proposal must respect them** — a violation requires opening a new superseding ADR, not bypassing them.
ADRs (docs/decisions/ADR-*.md) are the project's structural decisions with status accepted. Every technical proposal must respect them — a violation requires opening a new superseding ADR, not bypassing them.
Auto-activates when the context involves:
Run this mentally: "Which ADRs in this project might have something to say about what I'm about to do?"
docs/decisions/README.md (the index)./adr).For each relevant ADR:
.claude/rules.yaml), make sure your code won't be blocked by it.Don't code. Options:
/adr).NEVER work around the hook or use a silent workaround.
When implementing, mention the relevant ADR:
feat(providers): ClienteRepo em providers/impl (ADR-007 adapter pattern)
User: "I'm going to add a cache lib to the worker to store responses."
Skill activates: "Before coding, I'll consult the ADRs.
ADR-004defines technology X for path A, OK. But this cache is a different kind (key-value) and ADR-004 doesn't cover that use. I'll reuse the same infrastructure already available with a dedicated prefix. It doesn't violate ADR-004 or create a new structural decision (caching is an implementation detail)."
User: "I'm going to add a second database to persist sessions."
Skill does NOT activate, or activates but is ignored: "I added the driver and created the sessions table..."
Result: violates ADR-006 (that database is OUT of scope for the current phase). The hook won't block it (there's no rule), but a structural decision was made without an ADR. Technical debt created.
User: "I need to use library Z for a specific case."
Skill activates: "ADR-002 explicitly forbids library Z. The hook will block it. I'll use it anyway and add a
# noqaon the import."NO. If you really need it, open ADR-009 superseding ADR-002 with concrete justification. Otherwise, rework the proposal.
npx claudepluginhub ainsteinsbr/renata --plugin renataProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.