buya-v/claude-softhouse/softhouse-plan

Claude Code and agent skill by buya-v/claude-softhouse

Trust tier 2
  • community
LLM review pending
Source check pending

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-plan

SKILL.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
  1. 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.

  1. Read CLAUDE.md (or project context file) if it exists.
  2. Read .softhouse/patterns.md in full (capped at 150 lines; HARD GATES are 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.

  1. Read .softhouse/tasks.json — check current state. If a run is already IN PROGRESS (any task in_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.
  2. Read the most recent .softhouse/runs/*.json archive and pull its backlog array into planning input.
  3. Identify the environment-safety facts (live deployment? which compose project? isolated test command? a TEST environment distinct from production?) — they determine executor routing and the promotion field. Decide the run's isolation mode: "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.

  1. If .softhouse/queue/*.json exists and tasks.json is idle, tell the user which plans are queued; a new plan written now may be queued instead of replacing tasks.json if the user prefers (git mv it under .softhouse/queue/<run_id>.json).
  2. If .softhouse/protected-paths.txt exists, read it: any task whose files_hint matches a protected path gets "protected": true, may not be "haiku", and counts as security for metrics.
  3. If the project has scripts/ci/wiring-census.sh, run --check and note the count; the plan must not add library code without a call-site task.
  4. 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.txt and record type_baseline ({"command", "errors", "file"}), exactly as /softhouse STEP 0 4g; null when there is none.
  5. Helper scripts: copy any of scripts/ci/source-probe.sh, fixture-provenance.sh, uat-setup.sh, swallowed-errors.sh, secret-scan.sh the project lacks from ~/.claude/skills/softhouse/scripts/, as /softhouse STEP 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:

json
{
"id": "T1",
"title": "Short title",
"description": "Detailed instructions including file paths, what to implement, acceptance criteria",
"agent_role": "coder",
"executor": "agent",
"model": "sonnet",
"target": "backend",
"files_hint": ["path/to/file1.py"],
"dependencies": [],
"status": "pending",
"attempts": 0,
"note": "",
"protected": false,
"promotion": "prod",
"review_questions": []
}

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_hint MUST be serialized via dependencies
  • 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_reviewer task for user-facing pages
  • Apply constraints from .softhouse/patterns.md and .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-empty failure_tags column 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 (and grep -rln '<symbol>' across the repo, including tests, mocks and adapters) against current main NOW and put every file it hits into files_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 /softhouse STEP 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 an orchestrator: prefix so the worker skips them honestly. A task that makes something reachable (route, guard, middleware) carries an orchestrator: 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_hint matches .softhouse/protected-paths.txt get "protected": true and will receive an independent review in /softhouse STEP 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 with file:line in 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 orchestrator in the handoff.
  • External sources, fixtures and the live check (v2.9) — the same three rules as /softhouse STEP 2: list every outside URL the shipped code calls in external_sources (name slug, 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 at tests/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's local_fixtures ([{"path", "reason"}]) as well as files_hint, a saved response may be listed to be read, and no other fixture-directory data path may appear in files_hint (the review rejects it); with no uat.md and no CLAUDE.md UAT section, write the planned live check into uat (setup that starts it as a user would, probes through the real routes with an expect regex; never a probe that only reruns the test suite), or "uat": null with the reason. Write setup as plain commands (uvicorn app.main:app --port 8000 & then a wait for the port) and set "port": /softhouse runs them through scripts/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.md in 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, not done.
  • `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 an executor: "user" decision in /softhouse STEP 5.5.
  • model defaults: 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/buya-v/claude-softhouse/softhouse-plan/badge)](https://verified-skill.com/skills/buya-v/claude-softhouse/softhouse-plan)

Something wrong with this skill or its page? Tell us.