/contree:setupfrom contree
Orchestrates a dynamic setup workflow that installs Contree's coding-agent feedback loops — including test, linter, architecture, mental model, and mutation feedback — for a new or existing project.
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.
Prepare a project with fast, useful feedback that steers coding agents while they work. Orchestrate the focused setup skills; do not duplicate their implementation guidance here.
Read the project mental model, test trees, source, tests, manifests, test and lint configuration, CI, and coding-harness hooks. Establish which feedback loops already work by running their native commands.
Build a dynamic setup workflow containing only missing or broken steering:
setup-test-feedback for normal, functional, and impacted-test feedbacksetup-linter for conventional lint, automatic fixes, CI, and save-time feedbacksetup-architecture-linter for enforced hexagonal boundaries and Stop feedbackfix-architecture when the architecture command reports violationssetup-mental-model for the seven-section model and project-local model steeringsetup-test-trees for the behavioural contract and project-local tree steeringbootstrap-test-trees to compose both steering skills and implement their trees as testssetup-mutation-testing for fast Domain and Use-case test quality feedbackPresent the dynamic setup workflow with the project evidence behind it. Engage the operator only at consequential choices that project evidence cannot settle:
Make routine ecosystem choices directly. Do not turn conventional package installation or an obvious native command into an approval checkpoint.
Run each selected focused skill faithfully.
Treat setup as Contree progressively expanding into the project. After each focused skill, prove its project-local hooks before continuing so every later coding-agent turn receives all steering installed by the earlier phases. Preserve and merge earlier hooks; no setup phase may replace or disconnect feedback installed by another.
Use subagents for independent, non-overlapping setup work that can safely proceed in parallel. Keep dependent feedback loops ordered: configure before fixing, establish trees before implementing their tests, and install mutation feedback after Domain and Use-case tests exist. Give every subagent explicit file or capability ownership, then reconcile their results yourself before starting dependent work.
Keep ownership of the dynamic workflow in this coordinator. Do not delegate an entire focused skill to an unattended background agent. Invoke each focused skill yourself, let that skill dispatch its required bounded subagents, and wait for every selected phase to finish. Before advancing, confirm that no subagent is still running for that phase. A background task launch is not phase completion.
Run setup-test-feedback before bootstrap-test-trees so the second bootstrap wave has working normal and journey commands. Within bootstrap, setup-mental-model runs before setup-test-trees, and both project-local steering hooks must work before the test implementation wave. Run setup-linter before setup-architecture-linter so the combined lint command has a stable conventional-lint half. When architecture setup invokes fix-architecture, finish that repair before bootstrap records the project architecture.
Gate dependent phases on retained evidence. Never accept a subagent summary as proof. After every focused skill, inspect its changed files and run its owning command. After bootstrap-test-trees, require at least one retained consumer-driven EARS tree for an existing project and exactly one retained test file for each tree, with its hierarchy mirrored, before mutation setup begins. If those artifacts are absent, resume or repair bootstrap instead of moving on.
Run every configured feedback command from the project root:
test-changed command and the actual synchronous project save hooksFix every failure through the focused skill that owns it, then rerun that command and verify its feedback. Verify each save hook through an actual file edit and each Stop hook through an actual Stop turn; files on disk are not proof that the harness loaded them.
Before reporting, list every selected phase and prove that it passed its artifact gate, command gate, and subagent-completion gate. Do not mark an orchestration task complete while one of its focused-skill agents is still running.
If any specialised setup skill cannot establish its feedback loop, fail visibly. Do not claim that the project is prepared.
Report the installed commands, progressively accumulated automatic hooks, mental-model and test-tree steering, test-tree coverage, and mutation result to the operator. Name any feedback loop that could not be installed as a setup failure, with its complete error.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
contree, setup-workflow, feedback-loops, project-setup, coding-agents
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./fix-architectureRepair every reported architecture violation with partitioned subagent work and rerun boundary feedback until green. TRIGGER when: architecture lint reports violations or an operator asks to fix dependency direction, purity, composition-root, or cycle problems./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.