ワンクリックで
pwrl-plan-generate
Choose tier, render plan from templates, embed learnings, and save to docs/plans/.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Choose tier, render plan from templates, embed learnings, and save to docs/plans/.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Extract, classify, deduplicate, structure, and save learnings from code, commits, tasks, and documentation
Create structured implementation plans with three tiers (Fast/Standard/Deep). Pure skill pipeline orchestrator—no agent routing.
Review code changes through 4-phase micro-skill pipeline (scope, prepare, analyze, report)
Execute implementation work efficiently through 4-phase micro-skill pipeline
Verify repository state and confirm session completion before committing.
Create a clear session commit with state and next steps. Orchestrates checkpoint and commit micro-skills, optionally chains to pwrl-learnings.
| name | pwrl-plan-generate |
| description | Choose tier, render plan from templates, embed learnings, and save to docs/plans/. |
| argument-hint | [scoped context + research findings + implementation units] |
Purpose: Final output step in the planning workflow. Accepts scoped context, research findings, and implementation units from upstream skills (S2→S3→S4). Selects the appropriate tier (Fast/Standard/Deep), renders the plan from the templates reference file, embeds related learnings, and saves it to docs/plans/.
ask_user_question extension for confirmations and overrides.This skill expects three inputs:
pwrl-plan-scope (S2) — problem, criteria, domain, learningspwrl-plan-research (S3) — patterns, risk, constraintspwrl-plan-design (S4) — U-IDs, files, approach, criteriaIf inputs are missing, search for recent scope/research/design files or prompt the user to run prerequisite skills first.
After completing the workflow, a plan file is saved to docs/plans/YYYY-MM-DD-NNN-<kebab-case-name>.md. The function returns: { file_path: "docs/plans/...md", tier: "Fast", summary: "..." }. For detailed schema documentation, file structure, frontmatter specification, content requirements per tier, storage conventions, and versioning rules, see state-schema.md.
Read the complexity hint from S4's output and the research findings.
Apply the heuristic to determine initial tier:
| Unit Count | Risk Level | Initial Tier |
|---|---|---|
| 1-3 | LOW | Fast |
| 1-3 | MEDIUM or HIGH | Standard |
| 4-8 | any | Standard |
| 9+ | any | Deep |
| any | 2+ high-risk areas | Deep |
Present to user: "Based on [N] units and [risk] risk level, the recommended tier is [Tier]. Would you like to use this tier or choose a different one?"
Apply user's choice.
Document the tier selection rationale in the plan.
pwrl-plan/references/plan-templates.md.Use the loaded template to populate each section based on the chosen tier. For detailed rendering logic, section requirements per tier (Fast/Standard/Deep), template structure, and examples, see render-workflow.md.
From S2's Related Learnings list, add to the plan:
## Related Learnings
- **[Learning Title]** — `docs/learnings/XXX.md` — [1-line applicability note]
From S2's Learning Gaps list, add to the plan:
## Learning Gaps
- **[Gap Name]** — *Action:* Document via `/pwrl-learnings` after implementation
If no learnings or gaps exist, still include the sections:
docs/plans/YYYY-MM-DD-NNN-<kebab-case-name>.mddocs/plans/ directory2026-06-05-001-... exists, next is 2026-06-05-002-...Before saving, validate:
{{GOAL}} or [placeholder])ask_user_question:
[filename]?"
Seven edge cases commonly encountered during generation: template loading failure, filename collisions, tier override after preview, minimal research findings, unit count/complexity mismatch, empty complex sections, and multiple plans with same date/title. For handling strategies, decision trees, and examples, see edge-cases.md.
pwrl-plan/references/plan-templates.md (created by S1)pwrl-plan-generate/references/tier-heuristic.mddocs/plans/YYYY-MM-DD-NNN-<name>.mddocs/learnings/INDEX.md for embedding