Lukasz Boryn f5227325a3 refactor(skills): split grill-with-docs into router + domain-modeling
Mirror upstream's structural split. Old grill-with-docs bundled the
Socratic interview and the docs-discipline in one model-invoked skill;
upstream now separates them.

- Rename engineering/grill-with-docs/ -> engineering/domain-modeling/
  (the active glossary / ADR discipline). Model-invocable, fires when
  another skill needs canonical vocabulary.
- Adopt upstream's active-vs-reading distinction in domain-modeling/SKILL.md.
- Detect multi-context mode from CONTEXT-MAP.md presence (was a manual
  switch).
- New engineering/grill-with-docs/SKILL.md is now a 16-line user-invoked
  router (disable-model-invocation: true). It composes grill-me
  (Socratic interview) and domain-modeling (docs discipline).
- Trim examples-r.md to 99 lines: drop CONTEXT-MAP-kicks-in section
  (covered in SKILL.md), compress NOT-written bullets and
  zero-implementation note, drop decorative narration.
- Retarget cross-refs in diagnose and bdd to domain-modeling (their
  interest is canonical vocabulary, not the interview).
- Retarget plan-project's three-of-three rule pointer and vocabulary
  See-also to domain-modeling.
- Fix pre-existing broken path in sieve See-also
  (../../productivity/grill-with-docs -> ../grill-with-docs).
- Update upstream attribution URLs in ADR-FORMAT.md and CONTEXT-FORMAT.md
  (upstream renamed grill-with-docs -> domain-modeling).
- README: replace single grill-with-docs entry with router + domain-modeling
  pair; retarget examples-r.md path.
2026-06-19 00:12:06 +02:00

4.5 KiB
Raw Blame History

name, description
name description
plan-project Kick off a greenfield project with a research-backed Socratic interview — research every tool/name the user mentions, scan prior art for the stated aim, grill one question at a time until decisions lock, then write docs/Roadmap.md with a phased, verifiable plan. Planning only, never implementation. Use when the user says "plan project", "/plan-project", "new project idea", "plan this project with me", or pitches a project that has no code and no roadmap yet.

plan-project

When to use

  • User says "plan project", "/plan-project", "new project idea", "plan this project with me".
  • A repo exists but is empty (or nearly) and the user is pitching what it should become.
  • Skip when docs/Roadmap.md already exists — use update-project to revise it.
  • Skip when code already exists and the question is about aligning a plan with it — use grill-with-docs directly.

Process

  1. Survey the repo. ls it. Empty confirms greenfield; existing code means switch to grill-with-docs.
  2. Research before asking. Every tool, product, or codename in the pitch that you don't recognize with certainty: WebSearch it first, report findings with sources, then ask what role it plays. Never guess; never quiz the user on facts the web answers.
  3. Prior-art scan. Search for existing tools covering the stated aim. Build a gap table (tool | has | lacks). If an exact match exists, say so plainly — the honest outcome may be "use that instead". The gap the project fills becomes its pitch.
  4. Grill, one question at a time (wait for each answer). Default order — skip what's already answered:
    1. Deliverable shape (library vs service vs CLI — surface contradictions in the user's own wording immediately).
    2. Core novelty — pin exact semantics of the differentiating feature; offer 2–3 concrete interpretations to pick from.
    3. Interaction surface (API/MCP/UI/CLI) — recommend cheapest that satisfies the aim when asked.
    4. Key tech picks — recommend with reasons, note reversibility; challenge claims that don't hold (benchmarks, scope).
    5. Persistence/storage and lifecycle (updates, triggers).
    6. v1 scope boundary (languages, platforms, integrations).
  5. Pin vocabulary as you go via the grill-with-docs protocol: one resolved term → one inline CONTEXT.md edit (confirm the first write). Roadmap and glossary must use the same canonical terms.
  6. Write docs/Roadmap.md when answers stop moving decisions — skeleton below. Confirm before writing if it's the first file in docs/.
  7. ADRs only by the three-of-three rule from domain-modeling (hard to reverse ∧ surprising ∧ real trade-off). Default no.

Roadmap.md skeleton

# <Project> Roadmap
<Vision: 2–3 sentences, links to ../CONTEXT.md for vocabulary.>
## Why <project> (gap vs prior art)   ← the gap table from step 3
## Locked decisions                   ← numbered; rationale + reversibility each
## Architecture                       ← one ASCII sketch + main flow in words
## Phases                             ← each ends with "**Verify:** <observable check>"
## Risks & gotchas                    ← cost centers, maturity bets, debunked claims
## Out of scope                       ← explicit non-goals

Output / done criteria

  • docs/Roadmap.md exists; every phase has a verify step; every locked decision traces to a user answer or a research finding with source.
  • CONTEXT.md terms and Roadmap vocabulary match exactly.
  • No implementation has been started.

Guardrails

  • Never monologue — one question per message, then wait.
  • Never write the roadmap before the prior-art scan.
  • Never pick silently between interpretations of the user's idea.
  • Never put time-sensitive claims in the skill's outputs without a source fetched this run.

See also