agentleFS
vasuag09vasuag09/harness-claude/skills/harness-plan/SKILL.md

harness-plan

Skill2 starsChanged 6 months agoMITView on GitHub

Orchestrate the entire PLAN phase in one command — spec, research, plan, plan-check, and (if warranted) architecture. Use at the start of any non-trivial feature/change. Sequences the atomic skills, delegates to subagents, and pauses for your input at each decision gate.

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use harness-loop.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • maxwell2732Skill

    harness-loop

    Long-running task loop using /loop (Claude Code dynamic mode) and ScheduleWakeup to re-enter with fresh context on each wake-up. Internally invokes harness-work through Agent. Trigger: long-running, loop, wake-up, autonomous. Do NOT load for: one-shot task execution, review, release, planning.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never skip the HALTs — the Plan phase is interactive by design.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/harness-plan — run the Plan phase

A thin orchestrator. It does not re-implement the sub-skills; it sequences them, enforces the gates, and stops for you at real decision points. Keep using the atomic skills (/harness-claude:spec, /harness-claude:plan, ...) directly when you only want one step.

Sequence

  1. /harness-claude:spec — clarify the request into a spec with testable acceptance criteria. → HALT and ask the user any load-bearing clarifying questions. Do not proceed on guesses. Resume once the spec's open questions are resolved.
  2. /harness-claude:research — reuse-first search (in-repo → context7 → registries/GitHub → web). Produce the build-vs-reuse decision; fold it into the spec.
  3. /harness-claude:plan — delegate to the harness-claude:planner agent (pass it the spec + reuse decision + the objective, not just a query). Return a phased plan (tasks with write-sets + depends_on + the AC-n each addresses) with per-task exit checks.
  4. /harness-claude:plan-check — gate the plan against the spec (criteria coverage, scope, parallel-task disjointness) before any code. Delegate to the harness-claude:planner agent in a read-only check pass. Loop ≤3 revisions with /harness-claude:plan on findings. → HALT and show the user the checked plan for approval before any code. A standing Critical finding blocks the phase.
  5. Design gate — two independent, conditional siblings. A change can need one, both, or neither; run only what's relevant and say which you skipped.
    • /harness-claude:architect — only if the plan flagged a load-bearing system decision (new subsystem, public interface/data model, cross-cutting change, multi-shape refactor). Delegate to the harness-claude:architect agent and present the ADR.
    • /harness-claude:design — only if the change has a user-facing surface (page, screen, component, form, mobile, CLI/TUI presentation). Produce the design brief. → HALT for approval on whichever ran. If the work is routine and internal (no UI, no load-bearing design — like this CLI harness itself), skip both and say so.

Rules

  • Delegate the heavy steps (plan, architecture) to subagents; keep only their summaries in the main context to protect tokens.
  • Never skip the HALTs — the Plan phase is interactive by design.
  • Save artifacts (spec, plan, ADR, design brief) via /harness-claude:save-session for multi-session work.

Output

A short phase summary: spec ✓, reuse decision, approved plan (phases), and the design gate — architecture decision (or "skipped — routine") and design brief (or "skipped — no UI surface"). Then hand off to /harness-claude:harness-implement.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.