ワンクリックで
plan-task
Write an implementation plan into specs/fase-N/plan-nombre.md — bite-sized steps, exact files, TDD order, verification commands
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write an implementation plan into specs/fase-N/plan-nombre.md — bite-sized steps, exact files, TDD order, verification commands
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Verify and fix documented gaps one at a time — reproduce, root cause, minimal fix, wire-test regression, close
Discover undocumented gaps by comparing AxiomDB against MySQL/PostgreSQL — build inventory, run tests, classify, hand off to hunt-gap
Run Criterion micro-benchmarks and 3-Docker comparison benchmarks, verify no regression against MySQL/PostgreSQL
Explore approaches before proposing — read context, ask questions, present 2+ options with trade-offs, write sprint with dependencies
Save session context to a checkpoint file so the next session can resume without losing state
Systematic debug protocol — reproduce with minimal test, 2+ hypotheses, fix root cause, add regression test
| name | plan-task |
| description | Write an implementation plan into specs/fase-N/plan-nombre.md — bite-sized steps, exact files, TDD order, verification commands |
Translate an approved spec into a concrete, executable plan. The plan is the "how" — ordered steps small enough that each one compiles, tests, and commits cleanly.
/plan-task fase-N name
Example: /plan-task 2 btree-insert writes specs/fase-02/plan-btree-insert.md.
specs/fase-N/spec-<nombre>.md exists and is marked approvedIf the spec is still draft, go back to /spec-task first.
cat specs/fase-N/spec-<nombre>.md
Identify:
Rules for task size:
If a task feels too big, split it. If a task feels trivial (< 2 files, < 20 lines), merge it with the next one.
# Plan: [task name]
Phase: N — [phase name]
Task: [task name within the sprint]
Spec: specs/fase-N/spec-<nombre>.md
Status: draft | in-progress | done
## Summary
[One paragraph. What this plan accomplishes, in what order, and why
this order. Reference the spec for behavior details.]
## Dependencies
Must be done first:
- [ ] spec-[other] approved
- [ ] plan-[other] completed
Blocks (until this plan is done):
- [ ] [name of blocked work]
## Affected files
New files:
- `crates/axiomdb-X/src/module.rs` — [purpose]
- `crates/axiomdb-X/tests/integration.rs` — [purpose]
Modified files:
- `crates/axiomdb-X/src/lib.rs` — add public re-exports
- `crates/axiomdb-X/Cargo.toml` — add dependency [Y]
## Step 1 — [name]
**Goal:** [one line]
**Files:** [list]
**Approach:** TDD — write the failing test first, then the minimal implementation.
### Test to add
\`\`\`rust
// crates/axiomdb-X/tests/module_test.rs
#[test]
fn test_name_describes_behavior() {
// Arrange
let x = ...;
// Act
let result = x.operation();
// Assert
assert_eq!(result, expected);
}
\`\`\`
### Implementation outline
\`\`\`rust
// crates/axiomdb-X/src/module.rs
pub struct Thing { ... }
impl Thing {
pub fn operation(&self) -> Result<Output, DbError> {
// 1. Validate input
// 2. Do the thing
// 3. Return Ok(output)
todo!()
}
}
\`\`\`
### Verification
\`\`\`bash
cargo test -p axiomdb-X --test module_test
cargo clippy -p axiomdb-X -- -D warnings
\`\`\`
### Commit
\`\`\`
feat(fase-N): [concise action]
Step 1 of specs/fase-N/plan-<nombre>.md
\`\`\`
---
## Step 2 — [name]
[Same structure as Step 1.]
---
## Step N — Wire together / final integration
**Goal:** expose public API and ensure the full task spec is met.
### Verification against spec
Walk through every item in the spec's "Done criteria" and check:
- [ ] Public API matches spec signatures
- [ ] Every edge case from spec has a test
- [ ] cargo test -p axiomdb-CRATE passes
- [ ] cargo clippy -p axiomdb-CRATE -- -D warnings passes
- [ ] Benchmarks within budget: [list]
### Final commit
\`\`\`
feat(fase-N): complete [task name]
Implements specs/fase-N/spec-<nombre>.md
Plan: specs/fase-N/plan-<nombre>.md
Tests: [N new tests]
\`\`\`
---
## Risk register
| Risk | Likelihood | Mitigation |
|------|-----------|------------|
| [unknown behavior of dep X] | medium | prototype in Step 1, fail fast |
| [perf may not hit budget] | low | benchmark in Step N-1 before integration |
## Rollback plan
If the plan is abandoned mid-way:
1. `git reset --hard <commit before Step 1>` — or
2. Leave partial work on a branch named `abandoned/plan-<nombre>-<date>`
3. Update spec status back to `draft` with a note explaining what failed
## Estimated effort
Total: [X hours / Y days]
Per step: [step 1: 30min, step 2: 1h, ...]
Before executing the plan:
draft to in-progressdone in the plan fileWhen the plan is complete:
git add specs/fase-N/plan-<nombre>.md
git commit -m "plan(fase-N): mark plan-<nombre> as done"
Then run /subfase-completa N.M to close the subphase officially.