← Back to Skills Marketplace
kkenny0

Taku Plan

by KennyWu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
52
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install taku-plan
Description
Turn an approved design into an executable implementation plan. Three-step pipeline: scope + architecture review → design review (UI only) → plan writing. Au...
README (SKILL.md)

\r \r

Taku Plan — Review + Plan Pipeline\r

\r Rule labels: [IRON LAW] means a non-negotiable correctness constraint. [GUIDANCE] means a strong default that may adapt when context justifies it.\r \r [GUIDANCE] Default path: run the three steps in sequence. Each gate must pass before the next unless the project state clearly shows that step is already complete.\r \r

Step Detection\r

\r Check project state to determine where to start:\r \r

  1. DESIGN.md exists but not reviewed → Start from Step 1 (Scope + Architecture Review)\r
  2. Design reviewed, UI project, design review not done → Start from Step 2 (Design Review)\r
  3. All reviews done or not needed → Go to Step 3 (Write Plan)\r \r Announce which step you're starting from.\r \r ---\r \r

Step 1: Scope + Architecture Review\r

\r Run when the design hasn't been through strategic and technical review. Catches scope mistakes (cheap to fix now, expensive later) and architecture gaps before code is written.\r \r Output destination: Review artifacts (scope assessment, architecture diagram, edge cases, failure modes, test mapping) are appended to DESIGN.md, NOT to PLAN.md. The plan document is pure execution content.\r \r Full process in references/plan-review.md. Load it and follow the instructions.\r \r Quick summary:\r

  • Scope review: Challenge premises, identify blind spots, pick a scope mode (EXPANSION / SELECTIVE EXPANSION / HOLD / REDUCTION)\r
  • Architecture review: Component boundaries, data flow, edge cases, failure modes, test mapping\r
  • Default: run both in sequence. Auto-detect scope-only or arch-only from phrasing.\r \r If review produces critical gaps → stop and address them with the user before proceeding.\r \r ---\r \r

Step 2: Design Review (UI Projects Only)\r

\r Only for projects with UI/UX components. Skip entirely for CLI, API, backend, infra.\r \r Output destination: Design review scores and fixes are appended to DESIGN.md, NOT to PLAN.md.\r \r Scores 9 dimensions (aesthetic, typography, color, spacing, layout, motion, responsiveness, accessibility, content hierarchy). Each gets 0-10, with specific fixes for anything below 8.\r \r Full process in references/design-review.md. Load it and follow the instructions.\r \r Skip when: no UI, or project uses an existing design system without customization.\r \r ---\r \r

Step 3: Write the Plan\r

\r

Template Selection\r

\r Use DEPTH_TIER (set by the think phase or user) to pick the plan template:\r \r | Tier | Criteria | Template |\r |------|----------|----------|\r | Lightweight | \x3C50 files OR single-file change (1 dir touched) | Minimal — goal, files, spec per task |\r | Standard | 50-500 files, moderate scope | Full template with Execution Hints |\r | Deep | >500 files OR cross-cutting change (3+ dirs touched) | Standard + mandatory architecture diagram in header |\r \r Auto-reclassification: If scope expands mid-sprint (e.g., a "simple bugfix" touches 6 files across 3 modules), escalate one tier. Log: DEPTH ESCALATION: Lightweight -> Standard (reason: scope expanded to N files across M modules).\r \r

Prerequisites\r

\r

  • Approved DESIGN.md exists\r
  • Reviews completed (scope, architecture, design — as applicable)\r
  • Read the design doc thoroughly before writing a single task\r \r

File Structure Mapping\r

\r Before writing tasks, map every file that will be created or modified:\r \r

  • Design units with clear boundaries and well-defined interfaces\r
  • Prefer smaller, focused files — easier to reason about, more reliable edits\r
  • Files that change together should live together (split by responsibility, not layer)\r
  • In existing codebases, follow established patterns\r \r

Task Granularity\r

\r Each task is a coherent unit of work — one responsibility, one set of files, one TDD anchor. The TDD cycle (write test → verify fail → implement → verify pass) is enforced by /taku-build at build time, not repeated in every task.\r \r Instead of enumerating every TDD step per task, define WHAT the task must deliver: behavior, contracts, key assertions, and edge cases. The build agent reads the spec and applies TDD against it.\r \r Why spec over steps: A 5-task plan with full TDD steps per task produces 25 checklist items where ~15 are boilerplate. Specs keep the plan focused on what matters — what to build and how to verify it — while the build agent handles the how.\r \r

Plan Document Header\r

\r Use references/plan.md as the local starting scaffold for Standard and Deep plans. The rules below override the scaffold if they differ.\r \r Every plan starts with:\r \r

# [Feature Name] Implementation Plan\r
\r
> **For agentic workers:** Use `/taku-build` to implement this plan. The build agent should choose sequential, parallel, or hybrid execution unless the user explicitly overrides it.\r
>\r
> **Review context:** Scope and architecture reviews are in `DESIGN.md`. This document is execution-only.\r
>\r
> **Build Agent Contract:**\r
> - **Required:** Goal, Tech Stack, Execution Hints (if present), all Tasks (Depends on + Spec + Files)\r
> - **Optional:** Architecture details (in DESIGN.md), review artifacts (in DESIGN.md)\r
> - **Skip during execution:** Scope review, architecture review sections (already in DESIGN.md)\r
\r
**Goal:** [One sentence]\r
\r
**Architecture:** [2-3 sentences]\r
\r
**Tech Stack:** [Key technologies]\r
\r
---\r
```\r
\r
### Execution Hints\r
\r
*(Standard and Deep tiers only — skip for Lightweight)*\r
\r
After the header and before tasks, include an optional execution hints section. The plan phase understands the dependency graph best — this section advises the build agent on execution mode and wave grouping. The build agent owns the final decision and may override.\r
\r
```markdown\r
## Execution Hints\r
\r
**Suggested mode:** [Sequential | Parallel | Hybrid]\r
\r
**Wave 1** — [Wave purpose]\r
- Task 1: [short name]\r
- Task 2: [short name]\r
\r
**Wave 2** — [Wave purpose]  *(if applicable)*\r
- Task 3: [short name]\r
- Task 4: [short name]\r
\r
**Wave 3** — [Integration]  *(if applicable)*\r
- Task 5: [short name]\r
```\r
\r
Omit this section entirely for plans with 1-2 tightly coupled tasks (sequential is obvious). Include it when:\r
- 3+ tasks exist and some are independent\r
- The dependency graph reveals parallelization opportunities\r
- Hybrid wave execution is the likely best choice\r
\r
### Lightweight Template\r
\r
For Lightweight tier only. Use this instead of the full Plan Document Header + Task Structure:\r
\r
```markdown\r
# [Feature Name] Plan\r
\r
> **Build Agent Contract:**\r
> - **Required:** Goal, Tech Stack, all Tasks (Spec + Files)\r
> - **Skip during execution:** Execution Hints (not needed for Lightweight)\r
\r
**Goal:** [One sentence]\r
**Tech Stack:** [Key technologies]\r
\r
### Task 1: [Name]\r
**Depends on:** none\r
**Files:** [paths]\r
**Spec:** [What to build, key assertions, edge cases]\r
**TDD anchor:** [Test file + test name]\r
```\r
\r
### Task Structure\r
\r
````markdown\r
### Task N: [Component Name]\r
\r
**Depends on:** [Task M, ...] or `none`\r
\r
**Files:**\r
- Create: `exact/path/to/file.py`\r
- Modify: `exact/path/to/existing.py:123-145`\r
- Test: `tests/exact/path/to/test.py`\r
\r
**Spec:**\r
\r
[What to build — describe behavior, contracts, and key assertions.]\r
\r
Test that `function_name()`:\r
- returns [expected] when [condition]\r
- handles [edge case] by [behavior]\r
- raises [error] when [invalid input]\r
\r
Edge cases: [empty input, concurrent access, boundary values, etc.]\r
\r
**TDD anchor:** `tests/path/test.py::test_specific_behavior`\r
````\r
\r
When the contract is non-obvious or the implementation approach is genuinely hard to describe, include a code sketch as part of the spec. Code blocks are optional context, not mandatory scaffolding.\r
\r
### No Placeholders — Ever\r
\r
These are plan failures:\r
\r
- "TBD", "TODO", "implement later", "fill in details"\r
- "Add appropriate error handling" / "add validation" / "handle edge cases" — without specifying what errors, what validation, which cases\r
- "Write tests for the above" (without describing what the tests verify)\r
- "Similar to Task N" (repeat the spec — tasks may be read out of order)\r
- Specs that describe intent without defining verifiable behavior\r
- References to types, functions, or methods not defined in any task\r
\r
### Self-Review Checklist\r
\r
After writing the complete plan, run this against the design doc:\r
\r
1. **Spec coverage:** Can you point every requirement to a specific task? List any gaps.\r
2. **Placeholder scan:** Search for TBD, TODO, "appropriate", "similar to". Fix them.\r
3. **Type consistency:** Do types, method signatures, and names match across tasks?\r
4. **Dependency integrity:** Every `Depends on` reference points to a real task. No circular dependencies. Tasks that can run in parallel have no mutual dependency.\r
5. **Spec verifiability:** Every task's spec describes concrete, testable behavior — not vague intent.\r
6. **Spec testability:** Can each spec's key assertions be written as automated test cases? Flag specs where testability is unclear — e.g., "handles edge cases gracefully" without specifying what "graceful" means.\r
\r
Find issues? Fix inline.\r
\r
### Scope Check\r
\r
If the design covers multiple independent subsystems, suggest breaking into separate plans. If the plan exceeds 15 tasks, decompose by subsystem or dependency layer.\r
\r
### Output\r
\r
Save to `PLAN.md` at project root (or user-specified location).\r
\r
### Execution Handoff\r
\r
After saving:\r
\r
"Plan saved to `PLAN.md`. If the plan is self-reviewed and within the approved scope, continue directly to BUILD.\r
\r
At BUILD start, choose the execution mode yourself: sequential, parallel, or hybrid wave-based execution.\r
\r
Announce a short BUILD PREFLIGHT that includes:\r
- chosen mode\r
- one-line reason\r
- execution waves when applicable, with `wave-slug: [task-slug, ...]`\r
\r
Only stop before BUILD if the plan changed scope materially, introduced a costly or risky action, or left a key ambiguity unresolved."\r
\r
---\r
\r
## Known Pitfalls\r
\r
**Skipping reviews because the plan "looks simple."** The design was a 2-page doc for "add notifications." Scope review found it touched 4 subsystems, required a new queue service, and had implications for the mobile app. "Simple" plans hide complexity in assumptions.\r
\r
*Prevention:* Step detection is state-based, not subjective. If DESIGN.md hasn't been reviewed, run reviews.\r
\r
**Plan references types or functions not defined in any task.** Task 3 calls `UserStore.findById()` but no task defines `UserStore`.\r
\r
*Prevention:* Self-review checklist item 3. Read through all tasks sequentially and verify every reference has a definition.\r
\r
**TDD ordering violated — code step before test step.** The implementer wrote the function, then wrote tests that pass against it — proving nothing.\r
\r
*Prevention:* TDD is enforced by `/taku-build` at build time, not by the plan. Each task's spec defines testable behavior, and the build agent applies the write-test-first cycle automatically.\r
\r
**Plan exceeds 15 tasks / 130+ steps.** Context limits were hit at task 14. The second half produced degraded quality.\r
\r
*Prevention:* Scope check. Each plan produces working, testable software. Split by subsystem or dependency layer.\r
Usage Guidance
Expect this skill to read your design/project context and update DESIGN.md or PLAN.md. Review those files before handing the plan to /taku-build. The supplied SKILL.md excerpt is truncated, so inspect the full skill text if available before installation.
Capability Analysis
Type: OpenClaw Skill Name: taku-plan Version: 1.0.0 The taku-plan skill bundle is a comprehensive framework for an AI agent to perform software engineering planning tasks. It defines a structured pipeline for reviewing project scope, architecture, and UI design before generating a detailed implementation plan in PLAN.md. The instructions in SKILL.md and the reference files (plan-review.md, design-review.md) focus entirely on improving the quality and testability of software development tasks, with no evidence of data exfiltration, malicious execution, or harmful prompt injection.
Capability Assessment
Purpose & Capability
The artifacts coherently match the stated purpose: review an approved design, produce review notes, and write an implementation plan.
Instruction Scope
The skill instructs the agent to inspect project state and edit DESIGN.md/PLAN.md. This is disclosed and purpose-aligned, but users should expect local planning-file changes.
Install Mechanism
No install spec, code files, required binaries, environment variables, credentials, or package dependencies are present in the supplied artifacts.
Credentials
The requested environment access is proportionate for a planning skill: local project/document context only, with no evidence of shell execution, network calls, or external services.
Persistence & Privilege
The skill creates persistent project artifacts and includes instructions intended for a later /taku-build handoff. There is no evidence of background persistence or elevated privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install taku-plan
  3. After installation, invoke the skill by name or use /taku-plan
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
taku-plan 1.0.0 `/taku-plan` does more than write bullets. It forces scope review, architecture review, and UI design review (only when there is actually UI), then produces spec-based tasks with dependency annotations, TDD anchors, and execution hints. Review artifacts go to DESIGN.md. PLAN.md stays pure execution — goal, tasks, dependency graph. The build agent reads the plan's contract header and knows exactly what's required vs. optional. - Initial release introducing a three-step pipeline: scope + architecture review, design review (UI only), and implementation plan writing. - Automatically detects the correct starting step based on project state and approved DESIGN.md. - Outputs reviews to DESIGN.md; outputs execution plans to PLAN.md. - Offers tiered plan templates (Lightweight, Standard, Deep) based on project scope and file impact. - Includes clear task structures and execution hints for build agents. - Triggers on multiple natural language phrases and workflow completions.
Metadata
Slug taku-plan
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Taku Plan?

Turn an approved design into an executable implementation plan. Three-step pipeline: scope + architecture review → design review (UI only) → plan writing. Au... It is an AI Agent Skill for Claude Code / OpenClaw, with 52 downloads so far.

How do I install Taku Plan?

Run "/install taku-plan" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Taku Plan free?

Yes, Taku Plan is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Taku Plan support?

Taku Plan is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Taku Plan?

It is built and maintained by KennyWu (@kkenny0); the current version is v1.0.0.

💬 Comments