Skip to content
Back to skills

Planning

ASecurity

Craft phase 4 - produce the parted TDD implementation plan via the planner agent; mechanically linted so every part carries its context block.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agents

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add scolladon/craft --skill planning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Planning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Planning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/scolladon-planning/badge)](https://www.skillsdirectory.com/skills/scolladon-planning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: planning
description: Craft phase 4 - produce the parted TDD implementation plan via the planner agent; mechanically linted so every part carries its context block.
---

# craft:planning

## Preamble (always runs — non-overridable)

1. Manifest read (lint if standalone).
2. Probe: plan directory (`paths.plan`, else `docs/plan/`, create if absent); **design
   doc present?** present → hard input; absent → the planner's mandatory input is the
   resolved brief and it performs its own exploration (slower, never blocked).
3. **Memory read/write surface (advisory).**
   READS: `part-sizing` entries from prior runs as a weak planner hint (no per-use
   re-check; confidence-weighted). Prepended to the planner spawn's injected block when
   non-empty.
   WRITES: none directly from this phase — part sizing is observed at implementation when
   each part's pass/blocked outcome is known.
4. **Intention consult surface (advisory).** The phase receives the intention consult
   slice on slot 1 — the `IntentionView` entries whose subjects intersect this phase's
   change scope, prepended into the same injected contract block as the memory hint (see
   `skills/run/SKILL.md` step 4). An empty slice means the phase runs its own probes.

## Procedure (default body — a manifest `override:` replaces everything below)

1. Spawn **craft:planner** with: the design doc path (or brief) + the accepted ADR paths; the
   absolute working directory; the output path `<plan-dir>/<slug>.md`; the template
   `"${CRAFT_ROOT:-${CLAUDE_PLUGIN_ROOT}}/templates/plan.md"`; the part-gate command (manifest
   `gates.part`, or probe: the repo's test runner over touched files, falling back to
   `gates.phase`); the commit message `docs(plan): <slug>`; global + planning-phase
   `context:` files verbatim.
2. When it returns: run `"${CRAFT_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/plan-lint.sh" <plan-path>` —
   **the phase cannot close red**. On failure, respawn fresh with the lint output; ≤2
   respawns, then escalate.
3. Read the plan; verify part sizing (no test-only parts) and that part contexts
   reference real files/symbols (spot-check). Record in the run record.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…