Logo vun 02 Plan

02 Plan

Communautéit
leing2021
02-plan

Turn requirements into an execution-ready plan with TDD-gated implementation units. Use when a brainstorm artifact exists and is ready for planning.

Iwwersiicht

Editeurleing2021
Repositorysuper-pi
Skill-Numm02-plan
Stären
30
Forks
2
Matgeliwwert Fichieren
5
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum leing2021 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill 02 Plan an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/leing2021/super-pi/tree/main/skills/02-plan
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/leing2021/super-pi.git /tmp/super-pi
mkdir -p .claude/skills
cp -r /tmp/super-pi/skills/02-plan .claude/skills/02-plan
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert 02 Plan an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet 02 Plan automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass 02 Plan net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Plan

Use this skill when requirements are ready to become an execution-ready plan.

See shared pipeline instructions for model routing and pipeline behavior.

Core rules

  1. Load project rules (4 steps):
    • Load rules/common/development-workflow.md and rules/common/testing.md
    • Detect project language via language detection
    • Load matching language-specific rules (e.g., rules/typescript/)
    • If frontend/browser concerns, also load rules/web/ files
  2. Priority: project-level {repo-root}/rules/ overrides package defaults
  3. Search docs/brainstorms/ for relevant requirements first
  4. Run solution search (see ../references/solution-search.md):
    • Extract keywords → grep -rl "tags:.*keyword" docs/solutions/ ~/.pi/agent/docs/solutions/
    • Read frontmatter only (first 15 lines) of matches → score by severity + tag relevance
    • Fully read top 3 candidates
  5. Write plan to docs/plans/ with the > Status: draft header (closed vocabulary: draft → ready → executing → done → deprecated); flip to ready when the plan is finalized
  6. If plan exists, use plan_diff to compare and patch incrementally
  7. End by recommending 03-work — see the Work gate and chaining section below.
  8. Every question to the user ships with a recommended answer: put the recommendation and its one-line reason in the question text on its own line below the question (e.g. ✓ 推荐「X」:<理由>), NOT inside options — option labels must stay short (≤ 20 chars) or the selector UI truncates them. Questions without a recommendation are a blocking violation.

Work gate and chaining

When the plan is finalized (Status: ready), present a brief plan summary (units, files, verification strategy), then ask via ask_user_question with the review choice folded into the gate options: ✓ 开工 (recommended), CEO Review, Strict Review. Recommend by change scale: small/safe change → ✓ 开工, cross-cutting or risky change → CEO/Strict. This is the default path's only human confirmation point — no other prompt may precede or follow it. On ✓ 开工, immediately read ../03-work/SKILL.md and execute it in this session — do not wait for further user input. If CEO/Strict is chosen, run references/ceo-review-mode.md, update the plan artifact, then re-ask the gate. The four valves (defined in 03-work) apply chain-wide from this point.

Hard gates — TDD enforcement

Every unit follows RED → GREEN → REFACTOR:

TDD violation rejection criteria — reject and revise if any unit:

  • Implements code before failing test
  • Lacks RED step verification
  • Lacks GREEN step verification
  • Skips verification
  • Uses placeholders or unstated assumptions

Scope discipline — a unit adds only what the requirements name. No unrequested guards, retries, modes, kill switches, or runbooks; no quietly narrowing a feature the user asked for (a "retry now" that ships as "retry in 24h" is scope corruption). Adding defensive machinery nobody asked for is a violation, not diligence.

Planning flow

  1. Load context: consume latest handoff before any broad file reads — context_handoff load or read .context/compound-engineering/handoffs/latest.md. If found, use activeFiles and blocker as starting point. If not found, proceed normally (new project). Read CONTEXT.md (or GLOSSARY.md) if either exists at root — see ../references/domain-language.md.
  2. Read relevant brainstorm from docs/brainstorms/. If no relevant requirements artifact exists AND the user hasn't provided requirements inline in this conversation, stop and ask via ask_user_question (recommended option ✓ 转 01-brainstorm) — never draft a plan from verbal intent alone; the spec chain must start from an approved artifact
  3. Run solution search (keywords → grep frontmatter → read top 3)
  4. Grep docs/out-of-scope/ for prior rejections of features in this plan
  5. Gather repository context
  6. Source-driven check: For each unit that involves framework/library APIs, add a note: "Verify against official docs before implementing."
  7. If plan exists: use plan_diff compare → review with user → patch
  8. If no plan: write new plan under docs/plans/ using references/plan-template.md
  9. Structure work using references/implementation-unit-template.md
  10. Verify every unit follows TDD gates

Optional: CEO Review

Folded into the work gate (above): the gate's options include CEO Review and Strict Review. If chosen, read references/ceo-review-mode.md, execute the review flow, update the plan artifact, then re-run the gate. No separate pre-gate review prompt.

Artifact output

  • Plan: docs/plans/<slug>.md
  • Use references/plan-template.md structure
  • Implementation units follow references/implementation-unit-template.md

Before finishing this skill, apply the completion checklist in shared pipeline instructions.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 02 Plan?

Turn requirements into an execution-ready plan with TDD-gated implementation units. Use when a brainstorm artifact exists and is ready for planning.

Firwat 02 Plan op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. 02 Plan besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech 02 Plan an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/leing2021/super-pi/tree/main/skills/02-plan an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen 02 Plan benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat 02 Plan benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir 02 Plan domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill 02 Plan gratis?

De Skill gëtt vum leing2021 op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇