بنقرة واحدة
auto
Full pipeline — brainstorm → plan → work → review → merge. One command, end to end.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Full pipeline — brainstorm → plan → work → review → merge. One command, end to end.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Context management — compact session, recall history, run code, search content.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
| name | auto |
| description | Full pipeline — brainstorm → plan → work → review → merge. One command, end to end. |
Run the complete development pipeline from idea to merged code. This skill is self-contained — it includes all the logic needed to execute each phase without loading other skills.
/unipi:auto <string(greedy)>(optional) plan:<path>(optional) specs:<path>(optional)
string(greedy) — what to build (triggers full pipeline from brainstorm)plan:<path> — existing plan to execute (skips brainstorm + plan, starts at work)specs:<path> — existing spec to plan from (skips brainstorm, starts at plan)brainstorm → plan → work → review → merge
Each phase must complete before the next begins. User can intervene at any gate.
Based on args:
If string(greedy) provided (no plan/specs):
→ Start at Phase 2 (Brainstorm). Full pipeline.
If specs:<path> provided (no plan):
→ Start at Phase 3 (Plan). Skip brainstorm.
If plan:<path> provided:
→ Start at Phase 4 (Work). Skip brainstorm + plan.
If no args: → Ask user:
Exit: Entry point determined. Pipeline scope clear.
find . -type f -name "*.ts" | head -20
ls -la src/
cat package.json
git log --oneline -10
Ask one question at a time:
Prefer multiple choice when natural options exist.
Propose 2-3 approaches with trade-offs:
Present conversationally. Ask user to choose.
Once approach chosen, present design in sections:
Ask after each section if it looks right.
Create .unipi/docs/specs/YYYY-MM-DD-<topic>-design.md:
---
title: "{Topic}"
type: brainstorm
date: YYYY-MM-DD
---
# {Topic}
## Problem Statement
{The actual problem, reframed}
## Context
{Key findings from exploration}
## Chosen Approach
{High-level description}
## Why This Approach
{Decision rationale, alternatives rejected}
## Design
{Architecture, components, data flow}
## Implementation Checklist
- [ ] Task 1 — description
- [ ] Task 2 — description
- [ ] Task 3 — description
## Open Questions
{Questions for planning phase}
## Out of Scope
{Explicitly excluded}
Before presenting:
"Spec written to
.unipi/docs/specs/YYYY-MM-DD-<topic>-design.md. Please review and let me know if you want changes before we plan."
WAIT for user approval. If changes requested, make them and re-review.
Exit: User approves design. Proceed to Phase 3.
specs: arg)"Where should this work happen?"
- Main branch — work directly on main (small/medium tasks, low risk)
- New branch — isolated worktree (larger tasks, risky changes)
Record the decision for plan frontmatter.
Create .unipi/docs/plans/YYYY-MM-DD-<topic>-plan.md:
---
title: "{Topic} — Implementation Plan"
type: plan
date: YYYY-MM-DD
workbranch: {branch-name} # empty string = work on main branch
specs:
- path/to/spec.md
---
# {Topic} — Implementation Plan
## Overview
{Brief summary of what this plan covers}
## Tasks
- unstarted: Task 1 — {Task Name}
- Description: {What needs to be done}
- Dependencies: {None, or list of tasks}
- Acceptance Criteria: {How to verify done}
- Steps:
1. {Concrete step}
2. {Concrete step}
- unstarted: Task 2 — {Task Name}
- Description: ...
- Dependencies: ...
- Acceptance Criteria: ...
- Steps: ...
## Sequencing
{Order of execution, dependency graph if complex}
## Risks
{Potential blockers or concerns}
Task Status Lifecycle:
| Status | Meaning |
|---|---|
unstarted: | Not started |
in-progress: | Being worked on |
completed: | Done and verified |
failed: | Attempted but failed |
awaiting_user: | Needs user action |
blocked: | Waiting on dependency |
skipped: | Intentionally not doing |
After plan is complete:
[x][ ]Semantics: Spec [x] means "planned" (covered by a plan). It does NOT mean "done".
Present plan summary to user.
WAIT for user approval. If changes requested, make them.
Exit: User approves plan. Proceed to Phase 4.
workbranch from plan frontmatterworkbranch non-empty:
git worktree add .unipi/worktrees/{branch} -b {branch}workbranch empty:
For each task in order, skip completed:, skipped:, and awaiting_user: tasks:
If unstarted::
unstarted: to in-progress: in planin-progress: to completed: when completeIf in-progress::
completed: when doneIf failed::
completed: when fixed, or keep failed: if still brokenIf awaiting_user::
If blocked::
unstarted: and continueSTOP immediately when:
Ask for clarification rather than guessing.
After each task or group of tasks:
Don't wait until end to commit — incremental commits are safer.
When all tasks are completed::
Exit: All tasks complete. Proceed to Phase 5.
workbranch from plan frontmatterworkbranch exists and not empty → switch to that branch/worktreeworkbranch missing or empty → review on current branch (main)For each task in plan:
completed:Run project's verification suite:
npm run lint or equivalenttsc --noEmit or equivalentnpm test or equivalentnpm run build or equivalentdocker build . if Dockerfile existsReport results. If any fail:
Add REVIEWER-REMARK at the end of the plan document, behind a divider:
---
## Reviewer Remarks
REVIEWER-REMARK: Done
- All tasks complete, verified against acceptance criteria
Codebase Checks:
- ✓ Lint passed
- ✓ Type check passed
- ✓ Tests passed
- ✓ Build passed
If all tasks done and checks pass: → Proceed to Phase 6
If tasks incomplete or checks fail:
"Tasks remaining and/or checks failing. Continuing back to work phase." → Go back to Phase 4 with failure context
Exit: All checks pass. Reviewer remarks say Done. Proceed to Phase 6.
If workbranch was set (worktree):
If workbranch was empty (main branch):
→ Skip merge — changes already on main.
Exit: Code on main. Worktree cleaned (if applicable).
Report pipeline results:
Pipeline Complete: {topic}
✓ Brainstorm — .unipi/docs/specs/{spec}
✓ Plan — .unipi/docs/plans/{plan}
✓ Work — {N} tasks completed on {branch or "main"}
✓ Review — all checks passed
✓ Merge — {merged to main, worktree cleaned or "already on main"}
Artifacts:
- Spec: .unipi/docs/specs/{spec}
- Plan: .unipi/docs/plans/{plan}
Suggest next steps:
/unipi:consolidate — save learnings/unipi:scan-issues — deeper code review/unipi:document — generate docsIf any phase fails or user interrupts:
Example:
"Pipeline paused at review phase. 3/5 tasks complete, tests failing. Resume with:
/unipi:auto plan:<plan-path>"
When packages are present, auto pipeline enhances:
| Package | Enhancement |
|---|---|
@unipi/ask-user | Use ask_user for decision gates |
@unipi/subagents | Parallel task execution in work phase |
@unipi/mcp | MCP tools available throughout |
@unipi/web-api | Web research in brainstorm phase |
@unipi/ralph | Ralph loop for 3+ tasks in work phase |
full sandbox — all tools available