Not loaded · from dev
Analyzes codebase architecture to surface refactoring opportunities, consolidate tightly-coupled modules, and improve testability and AI-navigability using domain language from .red/CONTEXT.md and ADRs.
Claude Code won't load this skill
It ships in dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Surface architectural friction and propose deepening opportunities — refactors that turn shallow modules into deep ones. The aim is testability and AI-navigability.
Use these terms exactly in every suggestion. Consistent language is the point — don't drift into "component," "service," "API," or "boundary." Full definitions in LANGUAGE.md.
Key principles (see LANGUAGE.md for the full list):
This skill is informed by the project's domain model. The domain language gives names to good seams; ADRs record decisions the skill should not re-litigate.
Read the project's domain glossary and any ADRs in the area you're touching first.
Then use the Agent tool with subagent_type=Explore to walk the codebase. Don't follow rigid heuristics — explore organically and note where you experience friction:
Apply the deletion test to anything you suspect is shallow: would deleting it concentrate complexity, or just move it? A "yes, concentrates" is the signal you want.
Present a numbered list of deepening opportunities. For each candidate:
Use .red/CONTEXT.md vocabulary for the domain, and LANGUAGE.md vocabulary for the architecture. If .red/CONTEXT.md defines "Order," talk about "the Order intake module" — not "the FooBarHandler," and not "the Order service."
ADR conflicts: if a candidate contradicts an existing ADR, only surface it when the friction is real enough to warrant revisiting the ADR. Mark it clearly (e.g. "contradicts ADR-0007 — but worth reopening because…"). Don't list every theoretical refactor an ADR forbids.
Do NOT propose interfaces yet. Ask the user: "Which of these would you like to explore?"
Once the user picks a candidate, drop into a grilling conversation. Walk the design tree with them — constraints, dependencies, the shape of the deepened module, what sits behind the seam, what tests survive.
Classify the candidate's dependencies to decide how the deepened module is tested across its seam — in-process, local-substitutable, remote-but-owned, or true-external. See DEEPENING.md for the categories, seam discipline, and the replace-don't-layer testing strategy.
Side effects happen inline as decisions crystallize:
.red/CONTEXT.md? Add the term to .red/CONTEXT.md — same discipline as /start (see CONTEXT-FORMAT.md). Create the file lazily if it doesn't exist..red/CONTEXT.md right there.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub reddb-io/red-skills --plugin dev59 skills in this plugin
/adr-editorProposal-driven reverse grill for the active `.red/adr/` collection. Ranks active ADR clusters, recommends where to start, confronts one cluster with current implementation evidence, and applies maintainer-approved dispositions through the full ADR verb set. Use to review, curate, reorganise, fix, or extend ADRs and to pay down accumulated decision debt./afkAutonomous loop that drains the `ready-for-agent` queue on the issue tracker. Registers the project with the `redskilled` daemon at a runner and a target width, arms the drain, and observes; the daemon admits each Worker, which claims an issue, works it in its own workspace, validates, lands, and closes. Use when the user wants to run AFK execution, drain a Spec, hammer specific issues, or otherwise let agents grind through the backlog./Other plugins' skills for the same job