/renata:respecting-adrsfrom renata
Checks technical proposals against accepted ADRs before coding. Prevents structural decision violations by enforcing project Architecture Decision Records.
Ships in renata. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole 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.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/detecting-scope-creepUse whenever the urge to "also add X", "while I'm here", "since I'm already touching this" appears, or a capability not foreseen in the feature spec comes up. Compares the proposal against the IN/OUT scope of the active feature and forces a conscious decision before expanding the work./keeping-docs-aliveUse whenever you finish a task, pause a session, complete a phase, or change the project status. Ensures the living docs (the active plan and CLAUDE.md Section 5) reflect the real state so the next session can resume without loss of context. Auto-activates on "done", "pausing", "completed", "end of phase", "I'm going to stop now".npx claudepluginhub ainsteinsbr/renata --plugin renataOther plugins' skills for the same job