Plan gen
A portable library of standardized AI agent skills and orchestration scripts, built on the SKILL.md open standard to streamline consistent engineering workflows across diverse LLM clients.
npx -y skills add victoriacheng15/dev-toolchain --skill plan-genAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Scaffolds a local PLAN-[TASK].md template to sequence PRs and coordinate execution steps to prevent goal drift.
SKILL.md
4.0 KB, as published. Nobody here has run it
Agent Execution Planning
Overview
Complex software engineering tasks require systematic planning to prevent code duplication, architectural regressions, and AI agent execution drift. This skill automates the creation and revision of a local, non-committed PLAN-[TASK].md file in the workspace root to serve as an execution anchor. It focuses on partitioning changes into logical, sequential Pull Requests (PRs) to simplify code review and ensure incremental stability.
Automated Execution
When the user requests a new plan or a plan revision (e.g., /plan-gen "detailed request"), the AI agent must:
- Execute the script from the root of the workspace using the user's detailed request as the single argument:
./plan-gen/plan-gen.sh "User's detailed request"
Script Behavior
- Initialization: If
PLAN-[TASK].mddoes not exist, the script creates the file pre-populated with the planning template. - Revision: If
PLAN-[TASK].mdalready exists, the script appends the user's detailed request as a checklist item under## Revisions & Updatesat the bottom of the file. - Agent Refinement: After running the script, the AI agent must read the file and update the Goal, Approach, Stacked PRs Strategy, and Detailed Execution Checklist to reflect the new instructions.
Mandatory Plan Template Structure
The generated PLAN-[TASK].md file must adhere to the following schema:
# Implementation Plan: [Task Title]
- **Status:** [In Progress | Completed | Aborted]
- **Date:** [YYYY-MM-DD]
## Goal
[Clear description of the primary objective.]
## Approach & Affected Files
- **Affected Components:** [List of files or packages]
- **Key Constraints:** [e.g., performance targets, backwards compatibility, no external dependencies]
- **Assumptions:** [Assumptions about the current implementation]
## Stacked PRs Strategy
To facilitate incremental review and parallel development, the implementation is organized as a stack of dependent Pull Requests:
1. [ ] **PR 1 (Base): [Logical Sub-task / Component]**
- **Branch:** `[branch-name]` (stacked on `main`)
- **Review Focus:** [e.g., API contracts, database schemas, core interface definitions]
- **Affected Files:** [List paths]
- **Verification:** [Command to run]
2. [ ] **PR 2 (Upstack): [Logical Sub-task / Component]**
- **Branch:** `[branch-name]` (stacked on PR 1 branch)
- **Review Focus:** [e.g., business logic implementation, downstream handlers]
- **Affected Files:** [List paths]
- **Verification:** [Command to run]
## Detailed Execution Checklist
- [ ] **Step 1: Preparation**
- [ ] Analysis of existing implementation
- [ ] Sandbox/mock setup
- [ ] **Step 2: Implementation**
- [ ] Implement changes for PR 1
- [ ] Implement changes for PR 2
- [ ] **Step 3: Verification**
- [ ] Write unit tests for each PR boundary
- [ ] Validate edge cases and rollback capability
## Verification & Rollback Commands
- **Automated Tests:** `[Test command, e.g., make test]`
- **Linting & Formatting:** `[Lint command, e.g., golangci-lint run]`
- **Rollback Strategy:** [Rollback steps or commands if verification fails]
## Open Questions & Risks
- [List any blockers or questions requiring feedback before execution]
## Revisions & Updates
- [ ] **User Request ([YYYY-MM-DD]):** [Appended user instructions to be integrated into the main checklist]
Verification Checklist
Prior to beginning work on the plan, verify that:
- PR Stack Defined: The task is broken down into atomic, stacked PR boundaries and branch dependencies.
- Execution Checklist Defined: The sub-tasks correspond to the defined PR sequence.
- Verification Commands Included: Specific shell commands for testing are written down.
- Agent Anchored: The agent refers back to this plan at the beginning and end of each turn.