/contree:fix-architecturefrom contree
Repairs architecture violations (dependency direction, purity, composition-root, cycles) by partitioning work across subagents and rerunning lint until green.
Ships in contree. 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.
Repair architecture violations at their source without weakening the architecture feedback.
Read MENTAL_MODEL.md, the architecture-linter configuration, the relevant source, and tests. Run the project's architecture command first and preserve its complete output. Group violations by the boundary crossed and the source files that must change.
If a violation conflicts with the operator's intended architecture or MENTAL_MODEL.md, explain the concrete conflict and resolve the decision with the operator before changing the enforced boundary. Ordinary implementation violations do not require operator input.
Partition all reported violations into complete, non-overlapping work for subagents. Give each subagent:
Run independent partitions concurrently. Keep shared composition roots, public port types, architecture configuration, and cross-partition reconciliation with the coding agent so subagents do not overlap.
Subagents fix the production design and preserve observable behavior. Do not disable rules, weaken boundaries, add exemptions, introduce ignore directives, move forbidden work behind aliases, or delete behavior to make lint green.
Reconcile every subagent change at shared seams. Resolve duplicate ports, incompatible moved types, composition-root wiring, and test coverage yourself. Run the affected normal tests, then rerun the complete architecture command so every architecture rule executes together.
If violations remain, Repartition every remaining violation into fresh non-overlapping subagent work. Reconcile and rerun again until architecture lint passes. Repeated appearances of the same rule are unresolved work, not a reason to suppress the rule.
Do not report completion while any violation remains. Finish only when the complete architecture command and affected tests pass, with no disabled rule, weakened boundary, or exemption in the change.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub elimydlarz/claude-code-plugins --plugin contree15 skills in this plugin
/bootstrap-test-treesCompose mental-model and test-tree setup, then implement every existing-project tree through a second subagent wave. TRIGGER when: the operator asks to bootstrap, backfill, discover, or implement a project's existing behaviour as test trees and tests./changeSet expected behaviour by writing or modifying test trees before code changes. TRIGGER when: the user describes a feature, capability, behaviour change, removal, or modification they want — even loosely (e.g. 'I want X', 'let's add Y', 'can we make it do Z', 'change how X works', 'remove this behaviour')./change-without-meRun the complete Contree arc from idea to independently reviewed working software without routine operator phase transitions: change sets the contract, sync audits it, tdd closes every gap, mutation and completion sync prove the result, and second-opinion findings are repaired before completion. TRIGGER when: the user wants the full workflow, asks to take an idea through implementation, asks to make the project complete, or wants change/sync/tdd handled end to end./diff-for-humansGenerate a single image that explains the current change to a human, using OpenAI's gpt-image-2 model — foregrounding the technical substance the change touches (contracts, databases, behaviour, test trees). TRIGGER when: the user runs /diff-for-humans, or asks to see, picture, illustrate, or visualise the current change or diff./second-opinionGet an independent review of completed work from OpenAI's gpt-5.6-sol with high reasoning effort — sends the work and test-tree contract through the Responses API with OPENAI_API_KEY and surfaces its critique. TRIGGER when: sync has just finished, the user asks for a second opinion, an independent review, or a sanity check on completed work before a PR or release./setupComprehensively install Contree's coding-agent feedback loops through a dynamic, operator-guided workflow. TRIGGER when: the operator asks for full, complete, comprehensive, or luxury Contree setup, or starts a project and wants all steering configured.