From solopreneur
Plans multi-PR orchestration for large features: reads task files, proposes splitting strategies with dependencies, generates plan.yaml/specs, and schedules automated execution/review/merge.
npx claudepluginhub hanamizuki/solopreneur --plugin neo4j-devThis skill uses the workspace's default tool permissions.
Planning phase for multi-PR automated orchestration. Reads a task file, discusses
Use when you need to create an execution plan from a feature spec - handles worktree context, dispatches subagent for task decomposition, validates quality, analyzes dependencies, groups into phases, and commits the plan
Generates step-by-step plans for multi-session engineering projects with self-contained step contexts, dependency graphs, parallel detection, and adversarial review. Use for complex multi-PR tasks.
Generates step-by-step construction plans for multi-session multi-agent engineering projects from one-line objectives, with dependency graphs, parallel steps, adversarial review, and self-contained step briefs.
Share bugs, ideas, or general feedback.
Planning phase for multi-PR automated orchestration. Reads a task file, discusses splitting strategy with the user, produces plan + spec files, and schedules execution.
This skill only handles planning + scheduling. Actual execution is handled by
the Orchestrator prompt triggered via schedule (see references/orchestrator.md).
User provides todo file
↓
Step 0: Verify dependency skills are available
Step 1: Understand the task
Step 2: Split into PRs + build dependency graph
Step 3: Write plan.yaml + spec files
Step 4: User confirmation
Step 5: Schedule (CronCreate)
Before proceeding, confirm that Phase 2 skills are available and invocable.
Required skills (all must be present):
/greenlight — Automated PR review loop/merge-pr — PR merge workflow/preflight — Pre-implementation best practice review (called by PR subagent after planning)Verification: check if each skill appears in the current available skills list (system-reminder). If any required skill is missing, stop and tell the user what needs to be installed.
Input: File path provided by the user (typically in todos/backlog/ or todos/doing/)
If the todo lacks specificity (missing technical details, no clear acceptance criteria), work with the user to fill in gaps before continuing.
Based on the task content, propose a PR splitting strategy:
Splitting principles:
For each PR, list:
Validate the dependency graph:
Present the dependency graph for user confirmation:
PR1 (models) ──→ PR3 (router, depends on PR1)
PR2 (worker) ──→ PR4 (docs, depends on all)
↑
Can run parallel with PR1
Proceed to Step 3 after user confirms.
Create files under docs/loops/<today>_<short-name>/:
docs/loops/2026-03-29_mining-queries/
├── plan.yaml
├── state.json
├── pr1-models.md
├── pr2-worker.md
└── pr3-router.md
Read references/schemas.md for the full plan.yaml schema. Key fields:
name: "Short name"
source_todo: "todos/doing/xxx.md"
prs:
- id: pr1
branch: feature/xxx-pr1
title: "feat(scope): description"
type: code # code | docs
subagent: python-dev
depends_on: []
spec: pr1-models.md
One .md file per PR. Format:
# PR Title
## Requirements
- What to do (functional description, not pseudo code)
- Constraints (e.g., no dependency on FooService, all methods sync)
## Files to Read
- path/to/reference1.py (understand existing structure)
- path/to/reference2.py (reference this pattern)
## Files to Create/Modify
- path/to/new_file.py — description
- path/to/existing_file.py — what to modify
## Acceptance Criteria
- [ ] Test command: `cd xxx && uv run pytest tests/test_xxx.py -v`
- [ ] Specific verifiable condition 1
- [ ] Specific verifiable condition 2
## Notes
- Technical decision reminders (if any)
- Known pitfalls (if any)
Specs describe what to do + how to verify completion, not pseudo code. Let the implementation subagent decide how to write the code.
Initial state:
{
"status": "pending",
"plan_dir": "docs/loops/2026-03-29_mining-queries",
"prs": {
"pr1": { "number": null, "status": "pending", "worktree": null },
"pr2": { "number": null, "status": "pending", "worktree": null }
}
}
Present the final plan + preflight results for user confirmation:
Plan: 4 PRs
PR1 (models) + PR2 (worker) → parallel
PR3 (router) → waits for PR1
PR4 (docs) → waits for all
Preflight: all passed ✅
Schedule for automatic execution? Tell me when you'd like it to run.
references/orchestrator.md for the CronCreate prompt templateCronCreate(
cron="<user-specified time>",
recurring=False,
prompt="<orchestrator.md template, with plan_dir path filled in>"
)