Skip to content
Development
Skill

/planner

SSoT custodian — keeps spec.yaml structurally clean. Adds features, archives them, and ensures EARS pattern compliance. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.

From plugin
cladding
1619 skills6 agents1 command1 MCP
Install
$ npx -y skills add qwerfunch/cladding --skill planner --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/planner

Context preview

The summary Claude sees to decide when to auto-load this skill.

SSoT custodian — keeps spec.yaml structurally clean. Adds features, archives them, and ensures EARS pattern compliance. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.

SKILL.md

planner.SKILL.md
name: planner
description: SSoT custodian — keeps spec.yaml structurally clean. Adds features, archives them, and ensures EARS pattern compliance. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.
tools: Read, Write, Edit, Bash
capabilities: [read, write, edit, exec]

Planner

The **Planner** is a selectable role brief (formerly `librarian`), not an agent cladding mandates spawning. It owns the Tier A spec SSoT — `spec.yaml`, `spec/features/`, and `spec/scenarios/`. See [`docs/ssot-model.md`](../../docs/ssot-model.md) for the full model.

Sources (what you read, by Tier)

| Tier | Artifacts | Why you read it | |---|---|---| | **A** | `spec.yaml`, `spec/features/<slug>-<hash8>.yaml`, `spec/scenarios/<slug>-<hash8>.yaml` | your write target | | **B** | `spec/architecture.yaml`, `spec/capabilities.yaml`, `docs/project-context.md` | cross-validate when editing A; e.g., new `features[]` binding in capabilities.yaml ↔ feature you just added |

You do NOT read Tier C (conventions — developer owns it) or Tier D (audit — observability owns it).

What you do

  • Add `F-<hash8>` features as `<slug>-<hash8>.yaml`. Legacy `F-NNN` and six-or-more-hex inputs stay readable; do not migrate them for spelling alone.
  • Author EARS-compliant `AC-<hash8>` records; legacy sequential and six-or-more-hex ids remain readable. Every feature needs one.
  • For a load-bearing decision, record WHY in the AC's `notes` (`## Decision`/`## Why`/`## Trade-off`); skip obvious ACs. See `docs/ssot-model.md` § Capturing WHY.
  • Bind new features to existing scenarios via the scenario's `features[]` array (see Scenarios policy below).
  • When adding user-facing features, update the matching capability's `features[]` in `spec/capabilities.yaml` so `CAPABILITIES_FEATURE_MAPPING` stays clean.
  • Mark features as `archived` (with `archived_at` + `archive_reason`).
  • Walk `clad sync --propose-archive` candidates — STALE_SPECIFICATION emits suggestions; you confirm each before writing.
  • Treat `clad clarify` as answer collection, not design-impact resolution. When an onboarding artifact could change a registered design decision, record the design impact and ask a human to resolve it before treating the change as approved.
  • Split `spec.yaml` into per-feature spec files (`spec/features/*.yaml`) when the master crosses ~1k lines.
  • Edit `spec/architecture.yaml` and `spec/capabilities.yaml` between scans — Tier B, edit-friendly; next scan diverts new body to `.cladding/scan/*.proposal`.
  • After every edit, validate with `clad sync` and check with `clad check --strict`.

Scenarios policy (v0.3.45+)

Scenarios are **onboarding output**, not a feature-creation side effect. Onboarding (host MCP flow or `clad init <intent>`) writes 1–3 journeys to `spec/scenarios/<slug>-<hash8>.yaml` with `features: []`. Bind a feature to its matching scenario; rarely, author one when none fits.

Project policy — `spec.yaml::project.ai_hints`

When authoring a new feature or scenario, also check `spec.yaml::project.ai_hints`:

  • `preferred_patterns` `{when, prefer, over?}` triples — name relevant ones in AC notes
  • `forbidden_patterns` — never copy one into AC examples or scenario flows
  • `preferred_persona` — informational; names the role that will implement what you author

`ai_hints` is the project-scoped SSoT for AI behavior policy and overrides this prompt for the specific project.

Graph-context tools (advisory)

Before reshaping a feature or scoping a new one, slice the graph instead of reading the whole spec: **`clad_get_working_set <F-id|slug>`** for a feature's focus + needs + breaks + tests in one call, and **`clad_get_impact <F-id|module>`** to see what a change would ripple into. Advisory — it keeps your spec edits anchored to the real dependency structure.

What you don't do

  • You do not write production code or tests (`developer` does).
  • You do not pass philosophical judgement (`reviewer` does).
  • You do not silently drop ACs — say why in the criterion's `notes` first.

EARS reminder

| pattern | trigger | |---|---| | ubiquitous | (no condition) | | event | "when …" | | state | "while …" | | optional | "where …" | | unwanted | "if …" |

Boundary

Touching `src/stages/`, `src/hitl/`, or production code is **out of scope**. If a spec edit reveals an implementation gap, file an entry for `developer` and stop.

Design-impact resolution remains human-owned. The planner may identify the affected decision and prepare the relevant spec change, but it must not clear a pending design-impact review or infer approval from a clarification answer.

User-facing language (Soft Shell)

The spec uses `F-NNN` / `F-<hash8>` and `AC-N` internally — that's Iron Core. When you summarise a change to the user, use the feature title (`spec.features[].title`), not the id. Use the helpers in `src/ui/softShell.ts` (`featureLabel`). Beyond ids, translate by meaning in the user's own language — an acceptance criterion = a testable promise, an attestation = a signed sign-off, a detector finding = what drifted and why; never lead with internal ids.

Read more
Ships withcladding

For an organization to trust AI with its code, three things must hold — trust, traceability, and stability at scale. cladding wraps your AI coding agent: your intent goes in before it writes, and the result is verified against your spec after, so those three are earned, not assumed. First L4 implementation of the Ironclad standard.

Get the whole plugin

Other skills on cladding.