writing-plans

Generate current-task/plan.md from task definitions and doctrine.

1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/jackson2787/torque-coding --skill writing-plans-jackson2787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-plans
Source: https://github.com/jackson2787/torque-coding/tree/main/skills/state-machine/writing-plans
Command: npx skills add https://github.com/jackson2787/torque-coding --skill writing-plans-jackson2787

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The PLAN-state skill automates the generation of a formal task plan by converting task definitions and doctrine into the current-task/plan.md, providing a durable contract that guides downstream execution and cross-session handoffs.

Core Features & Use Cases

  • Produces the current-task/plan.md as the formal contract between PLAN and all downstream components.
  • Reads and enforces inputs from .memory-bank-v2/machine/constitution.md, .memory-bank-v2/machine/operational-context.md, .memory-bank-v2/machine/current-task/definition.md, and .memory-bank-v2/machine/limits.md to enforce scope and guardrails.
  • Explicitly does NOT produce plan_context.md; plan-contextualize handles contextualization, keeping planning and execution responsibilities separate.
  • Supports plan workflows driven by powerful models (e.g., Claude Code plan mode) to generate a plan that survives model switches and session resets.

Quick Start

Instruct the system to generate the current-task/plan.md from the current task definition and doctrine.

Frequently Asked Questions about writing-plans

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

FAQPage Schema
How do I automate plan generation from task definitions in a memory-bank workflow?

To automate plan generation, the writing-plans skill reads current-task/definition.md and doctrine files like constitution.md to produce a formal current-task/plan.md contract. This output preserves MVP scope and records risks, acceptance criteria, and task decomposition for downstream verification.

What is the best way to maintain task plan continuity across model switches and session resets?

Maintaining task plan continuity requires generating a durable plan.md contract that survives model switches and session resets. By converting task definitions and operational doctrine into a formal plan file, downstream execution components can reliably resume work without losing scope or context.

Does the plan generation workflow create plan_context.md alongside plan.md?

No, the plan generation workflow explicitly does not create plan_context.md. It strictly produces current-task/plan.md as the formal contract, delegating contextualization to a separate plan-contextualize step to keep planning and execution responsibilities distinct.

How do I enforce operational limits and constitution rules when creating a task plan?

You can enforce operational limits and constitution rules by feeding limits.md and constitution.md into the plan generation process. The skill reads these doctrine files alongside the task definition to ensure the generated plan.md respects guardrails and preserves MVP scope.

When do I need a formal plan contract for task decomposition and verification?

You need a formal plan contract when handing off tasks to downstream execution components or cross-session workflows. The generated plan.md records task decomposition, acceptance criteria, and risks, providing a durable agreement that guides and verifies execution.

Can I use plan generation with Claude Code plan mode for complex task workflows?

Yes, plan generation supports workflows driven by powerful models like Claude Code plan mode. It generates a plan that survives model switches and session resets, ensuring the formal plan.md contract remains intact across different execution environments.