buya-v/claude-softhouse/softhouse-plan
Claude Code and agent skill by buya-v/claude-softhouse
- community
Checking that the SKILL.md file is still in the repository.
Planning-only phase of the Softhouse pipeline — breaks a requirement into a reviewable task graph with executor routing, dependencies, and model assignments, writes it to .softhouse/tasks.json, and stops. Never spawns worker agents or modifies source code. Use when the user runs /softhouse-plan or wants to review a pipeline plan before executing it with /softhouse resume.
Install
npx vskill@latest install buya-v/claude-softhouse/softhouse-planSKILL.md
The same SKILL.md was published earlier as buya-v/claude-softhouse/softhouse-plan.
/softhouse-plan — Plan Only (No Execution) (v2.10.1)
<!-- SOFTHOUSE_PIPELINE_VERSION: 2.10.1 --> PIPELINE VERSION: `2.10.1` — must match /softhouse's version exactly. These two skills share one schema; if they disagree, a plan written here will not execute correctly there.
Runs only the planning phase of the Softhouse pipeline (Steps 0-2) without executing any tasks. Use this to review and refine the task graph before committing to execution.
Schema and rules are IDENTICAL to /softhouse STEP 2 (v2.10) — a plan written here must execute unmodified under /softhouse resume.
Usage
/softhouse-plan <requirement>— Generate a task plan
Steps
STEP 0 — Pre-flight
- Run
git status— abort if working tree is dirty.
1b. Pipeline-version check — read .softhouse/pipeline.json and apply the SAME rules as /softhouse STEP 0: missing → pin at the current version and say so; major mismatch → stop and ask the user to adopt; minor mismatch → warn, re-pin, continue; pinned newer than the skill → warn and ask. A plan must be written by the same pipeline version that will execute it, or /softhouse resume will reject it.
- Read
CLAUDE.md(or project context file) if it exists. - Read
.softhouse/patterns.mdin full (capped at 150 lines;HARD GATESare acceptance rules, not advice), then grep.softhouse/patterns-archive.md(if present) for the files, symbols and tags this requirement touches. Archived lessons are still binding; do not read the archive whole.
3b. Read .softhouse/metrics.jsonl (last 5 lines). Escalation rule: if any failure_tags value appears in 2 or more of the last 3 runs, change the approach for that task type in this plan and state in the plan summary which tag fired and what changed. A stronger model alone is not a change. Create the file empty if missing. 3c. If 3 or more runs carry token data, apply the model-efficiency rule (/softhouse STEP 8): a role on which opus does not beat sonnet on first-attempt rate defaults to sonnet, and the plan summary says so.
- Read
.softhouse/tasks.json— check current state. If a run is already IN PROGRESS (any taskin_progress), warn the user. If the previous run is terminal (all tasks done/approved/deferred/cancelled), it is safe to replace — archive it to.softhouse/runs/first if not already there. - Read the most recent
.softhouse/runs/*.jsonarchive and pull itsbacklogarray into planning input. - Identify the environment-safety facts (live deployment? which compose project? isolated test command? a TEST environment distinct from production?) — they determine
executorrouting and thepromotionfield. Decide the run'sisolationmode:"worktree"by default,"shared-sequential"only when CLAUDE.md/patterns.md say worktrees are impractical for this repo.
6b. Scout before planning: grep for an existing rudimentary version of what is asked; scope the plan to the gap, not the whole epic.
- If
.softhouse/queue/*.jsonexists andtasks.jsonis idle, tell the user which plans are queued; a new plan written now may be queued instead of replacingtasks.jsonif the user prefers (git mvit under.softhouse/queue/<run_id>.json). - If
.softhouse/protected-paths.txtexists, read it: any task whosefiles_hintmatches a protected path gets"protected": true, may not be"haiku", and counts as security for metrics. - If the project has
scripts/ci/wiring-census.sh, run--checkand note the count; the plan must not add library code without a call-site task. - Type baseline (v2.10): if the project has a type checker its tests do not run (
tsc --noEmit,mypy,pyright,go vet,cargo check), write its normalized error lines to.softhouse/type-baseline.txtand recordtype_baseline({"command", "errors", "file"}), exactly as/softhouseSTEP 0 4g;nullwhen there is none. - Helper scripts: copy any of
scripts/ci/source-probe.sh,fixture-provenance.sh,uat-setup.sh,swallowed-errors.sh,secret-scan.shthe project lacks from~/.claude/skills/softhouse/scripts/, as/softhouseSTEP 0 4f2.
STEP 1 — Mode
This command always plans. If a run is in progress, ask user whether to replace it or abort.
STEP 2 — Plan
Break the requirement into a task graph following the same rules as /softhouse (v2):
Each task object:
Optional: spec (§-pointer into a spec document), notes_to_executor, out_of_scope, local_fixtures (v2.9).
Planning rules:
agent_role:"coder","test_writer","designer"(HTML mockups + design spec BEFORE code), or"cx_reviewer"- UI feature chain rule (v2.1): every NEW user-facing screen gets
T-design (designer) → [DESIGN GATE: orchestrator publishes mockup via Artifact, user approves] → T-implement (coder, depends on T-design) → T-cx (cx_reviewer); the coder's acceptance criterion is "match the approved mockup". Trivial UI tweaks may set"design": "skip"with a stated reason. Designer tasks read.softhouse/design/(tokens + component previews) and must reuse it. - `executor` — a safety boundary, not a label:
"agent"(default) — repo-contained work verifiable in an isolated test stack; goes to a worktree worker agent."orchestrator"— host-level or live-prod-touching work (crontab, host configs like /etc/nginx, .env secrets, live-DB mutations, git push, restarts/redeploys, watching external CI). The main session does it inline; NEVER a worker agent."user"— decisions only the product owner can make (governance/legal sign-off, spend, restart windows). Surfaced, answered, recorded — never executed by an agent."agent+orchestrator"— agent writes the artifact, orchestrator installs/verifies on the host; state the split in the description.- Tasks with overlapping
files_hintMUST be serialized viadependencies - Non-overlapping tasks CAN run in parallel
- Migration-creating tasks MUST be serialized with each other (linear chain)
- Work that must land atomically on the live system (config + secret + restart) → explicitly linked tasks + a stated single application window
- Add translation sub-tasks for user-facing strings
- Add index sub-tasks for new DB queries
- UI tasks: include the CX checklist (applicable subset for the project's UI paradigm; N/A items need justification); add a
cx_reviewertask for user-facing pages - Apply constraints from
.softhouse/patterns.mdand.softhouse/patterns-archive.md - Look up similar past tasks first:
grep -i '<file or keyword>' .softhouse/handoff-index.tsv(if present). A hit with a non-emptyfailure_tagscolumn means the previous approach failed; the new task description must state what is different. - Derive `files_hint` from the acceptance line, not from memory. For every deletion, rename or consolidation task, run the task's
Done when:grep (andgrep -rln '<symbol>'across the repo, including tests, mocks and adapters) against current main NOW and put every file it hits intofiles_hint. For an interface change also list its adapters; for a service-behaviour change, the handler that maps its errors to status codes. If the grep hits a file another task owns, serialize or split. - Every task `description` MUST end with a line starting `Done when:` that names at least one runnable command and its expected result (exit code, grep count, HTTP status, coverage number). "build passes" alone is not acceptable. The reviewer executes this line verbatim in
/softhouseSTEP 5. A plan with a task lacking one is invalid — fix it before showing the plan. - Run each
Done when:line now against current main and record its red result in the description (e.g.Planning-time result (red): grep → 0). A line that cannot run at fork time cannot be satisfied by a worker; mark stack-dependent assertions with anorchestrator:prefix so the worker skips them honestly. A task that makes something reachable (route, guard, middleware) carries anorchestrator:live probe through the real route with the real auth and its expected status — unit tests do not prove a route is mounted or that its auth admits the intended caller. - Tasks whose
files_hintmatches.softhouse/protected-paths.txtget"protected": trueand will receive an independent review in/softhouseSTEP 5 4e. Every protected task carries 3–6 `review_questions` the reviewer will ask ("where is the tenant checked before the query?"); the worker answers each withfile:linein its handoff. Any task that adds or changes a handler always carries "which route and which auth reach this handler, and which test proves it?". If the plan assigns shared files (entry points, bootstrap, routes, config, compose) to the orchestrator, say so in the task and tell the worker to put the exact lines under## Wiring for the orchestratorin the handoff. - External sources, fixtures and the live check (v2.9) — the same three rules as
/softhouseSTEP 2: list every outside URL the shipped code calls inexternal_sources(nameslug, exact url, method, expect, purpose; never a guessed address, never a URL that is only test data); never ask a worker to save a sample response — the orchestrator commits the real one attests/fixtures/sources/<name>.<ext>and tests build other shapes in code; in a run with sources, a fixture-directory data file a task needs that is NOT a stand-in for a source goes in the task'slocal_fixtures([{"path", "reason"}]) as well asfiles_hint, a saved response may be listed to be read, and no other fixture-directory data path may appear infiles_hint(the review rejects it); with nouat.mdand no CLAUDE.md UAT section, write the planned live check intouat(setup that starts it as a user would, probes through the real routes with anexpectregex; never a probe that only reruns the test suite), or"uat": nullwith the reason. Write setup as plain commands (uvicorn app.main:app --port 8000 &then a wait for the port) and set"port":/softhouseruns them throughscripts/ci/uat-setup.sh(venv for Python, own process group, stopped afterwards), so the plan needs no teardown just to kill the server. - Every description's first line is
SCOPE SELF-CHECK (run first):plus the one command that proves the listed files are the right ones. - Brief: when 3 or more tasks share a spec, value table, rename map or security list, write it once to
.softhouse/briefs/{run_id}/brief.md(template:templates/brief.mdin the Softhouse repo), set top-level"brief"to that path, commit it with the plan, and keep task descriptions to their delta. - Scale check: split a task that spans several whole large files or documents. Keep dependency installs in ONE task per run.
- Apply/ratify/deploy tasks depend on the producing task reaching
approved, notdone. - `promotion`:
"test"on any task whose surface is child-facing, money-moving, outward-facing or a visible redesign — the run stops at the TEST environment and production promotion becomes anexecutor: "user"decision in/softhouseSTEP 5.5. modeldefaults: coder/test_writer/cx_reviewer →"sonnet";"haiku"for trivial tasks (never on a protected task);"opus"for tasks whose failure is SILENT — code that compiles and passes tests while being wrong (security, tenancy, crypto, payment or settlement state machines, cross-package refactors). Loud-failure tasks stay on sonnet even when large; the executed acceptance line is the quality lever, not the model tier.- Token budget: set a top-level `
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/softhouse-plan/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/buya-v/claude-softhouse/softhouse-plan)