/lumio:writing-plansfrom lumio
Creates structured implementation plans from specs or requirements. Supports deep step-by-step plans for single features or task cards for parallel execution. Saves plans to .spec/plans/ with status tracking.
Ships in lumio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Save plans to: .spec/plans/YYYY-MM-DD-<feature-name>.md
status: pending — the only key allowed; enum pending / in_progress / completed (spec-lint enforced). Execution flips it: subagent-driven-development sets in_progress at start, completed at final close.rules/dispatch.md「调度取向」).Decomposition into sub-projects is brainstorming's job (or this skill's shallow mode), not the deep plan's. If the spec still covers multiple independent subsystems, stop and send it back for splitting — one plan per subsystem, each producing working, testable software on its own.
Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
A task is the smallest unit that carries its own verification and is worth a fresh implementer's brief. When drawing task boundaries: fold setup, configuration, scaffolding, and documentation steps into the task whose deliverable needs them; split only where one task can be built and verified without the other. Each task ends with an independently testable deliverable.
The failing-test-first steps below bind large tasks (rules/dispatch.md「编码约定 · 测试分级」: not pure docs / config / comments / deletions, and ≥ 50 effective added lines). A small task keeps only the implementation, run-existing-tests and commit steps — no new test per change.
Each step is one action (2-5 minutes):
Every plan MUST start with this header:
---
status: pending
---
# [Feature Name] Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use subagent-driven-development to implement this plan wave by wave (hosts without subagents: its Inline Fallback section). Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
## Global Constraints
[The spec's project-wide requirements — version floors, dependency limits,
naming and copy rules, platform requirements — one line each, with exact
values copied verbatim from the spec. Every task's requirements implicitly
include this section.]
---
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
**Interfaces:**
- Consumes: [what this task uses from earlier tasks — exact signatures]
- Produces: [what later tasks rely on — exact function names, parameter
and return types. A task's implementer sees only their own task; this
block is how they learn the names and types neighboring tasks use.]
- [ ] **Step 1: Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
```
- [ ] **Step 2: Run test to verify it fails**
Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
- [ ] **Step 3: Write minimal implementation**
```python
def function(input):
return expected
```
- [ ] **Step 4: Run test to verify it passes**
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS
- [ ] **Step 5: Commit**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```
Every step must contain the actual content an engineer needs. These are plan failures — never write them:
After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.
1. Spec coverage: Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
2. Placeholder scan: Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
3. Type consistency: Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called clearLayers() in Task 3 but clearFullLayers() in Task 7 is a bug.
If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.
After saving the plan, hand off to execution:
"Plan complete and saved to
.spec/plans/<filename>.md. Executing with subagent-driven-development: contract cards first, implementation cards fanned out per wave, one review of the merged whole."
Split one goal into cards that a worker can start without asking a question and that can be verified on their own. Card format has a single authority — the project's .spec/tasks/README.md (goal / 涉及范围 / 验收标准 / 依赖 / 接口) — do not restate it here.
AGENTS.md, knowledge/ and the relevant source. Resolve what the code or docs can answer; list the rest explicitly as 待澄清项 — never fill a gap with a guess..spec/knowledge/standards/ doc). Implementation cards align only through these artefacts; if a contract turns out insufficient, the contract card changes — no implementation card widens an interface on its own.## 接口 block (Consumes / Produces with exact signatures) — parallel workers never see each other's code, so the contract on the card is their only alignment. Mark the expected size (small / large per rules/dispatch.md「测试分级」); the closeout tool's verdict wins later. No placeholders (criteria in the card README).rules/dispatch.md「并行边界与合入」).Don't over-split: work that is one step stays one card.
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/brainstormingUse when starting creative work - creating features, building components, adding functionality, or modifying behavior - before any implementation. Explores user intent, requirements and design./spec-steward维护 LumioAgentSpec 的结构并把改动沉淀进知识库——放对位置(插件资产 vs 项目实例)、校验 frontmatter、同步索引与名册、更新状态。当新增或修改 Agent、Skill、知识或规则,或完成一处改动后需要沉淀时使用。/subagent-driven-developmentUse when executing an implementation plan or a set of task cards in the current session — dispatches implementer subagents wave by wave (contract cards first) and routes the merged whole to one closeout reviewnpx claudepluginhub lumiogames/lumioagentspec --plugin lumioOther plugins' skills for the same job