writing-plans

Generate end-to-end implementation plans from software specs with files, tests, and commit steps.

Updated Nov 8, 2024
One-click install
npx skills add https://github.com/cqkxxc/cqkxxc.github.io --skill writing-plans-cqkxxc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-plans
Source: https://github.com/cqkxxc/cqkxxc.github.io/tree/main/.trae/skills/writing-plans
Command: npx skills add https://github.com/cqkxxc/cqkxxc.github.io --skill writing-plans-cqkxxc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you convert a detailed spec or requirements into a comprehensive, step-by-step implementation plan before touching code, reducing ambiguity and rework across engineering teams.

Core Features & Use Cases

  • Announce at start to set expectations and establish context for the planning session.
  • Operate in a dedicated worktree workflow to keep brainstorming isolated from main branches.
  • Save plans to docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md with override options for custom locations.
  • Decompose the project into design units, map required files, tests, docs, and boundaries for each task.
  • Follow a consistent plan structure: a Plan Document Header, a Task Structure, and a recurrent Plan Review Loop leading to an execution handoff.

Quick Start

Generate a complete implementation plan from a multi-step spec and save it to docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md

Frequently Asked Questions about writing-plans

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a software spec into an implementation plan before coding?▼

Turning a software spec into an implementation plan involves decomposing requirements into design units, mapping required files, tests, and boundaries for each task, and outputting a structured document with a header and task breakdown.

What is the best way to plan multi-step coding tasks across tests, docs, and version control?▼

The best way to plan multi-step coding tasks is to generate an end-to-end plan detailing files, tests, and commit steps, while running a recurrent plan review loop to ensure structured execution before code changes.

Can I save implementation plans to a custom directory instead of the default docs folder?▼

Yes, you can save implementation plans to a custom directory. While the default location is docs/superpowers/plans/YYYY-MM-DD-feature-name.md, the skill provides override options to specify your preferred custom save path.

Does this implementation planning approach work with an isolated git worktree workflow?▼

Yes, this implementation planning approach operates in a dedicated worktree workflow, keeping your brainstorming and planning sessions isolated from main branches to prevent interference with active development.

What is a plan review loop and when do I need it for task decomposition?▼

A plan review loop is a recurrent validation process that refines task decomposition and design unit boundaries before execution handoff. You need it for multi-step tasks to reduce ambiguity and rework across engineering teams.

Why should I not start coding immediately without an end-to-end implementation plan?▼

Starting coding without an end-to-end implementation plan increases ambiguity and rework across teams. Generating a structured plan with detailed commit steps and file mappings first ensures structured execution and reduces errors.