When the user types /request_feature <idea>, orchestrate the development process strictly using AGENTS.md and .agents/skills/. This skill is limited to research and planning; implementation must be handled separately via /implement_task.
Planning-Only Boundary
- Produce and revise documentation artifacts only: PRDs, RFCs, plans, task lists, scorecards, and decision rationale.
- Read relevant codebase sections when needed to assess feasibility and impact, but do not modify application code, tests, configuration, dependencies, or implementation files.
- Treat implementation feasibility as a design input, not as permission to implement. Any code changes must be deferred to
/implement_task.
Architecture Review Board Model
Use the request pipeline as an automated architecture review board:
- Requirement Clarifier: The pm sub-agent turns the idea into an agreed engineering brief before design begins.
- Design Proposer: The architect sub-agent writes the initial RFC and defends a concrete design.
- Red-Team Reviewer: The architecture-reviewer sub-agent critiques the RFC for bottlenecks, weak assumptions, unclear ownership, failure modes, security risks, over-engineering, under-specified operations, and bad cost tradeoffs. Conducts a mandatory Pre-Mortem analysis.
- Implementation Feasibility Reviewer: The engineer sub-agent performs read-only analysis of codebase impact, migration complexity, interfaces, testing strategy, rollout, backward compatibility, CI/CD implications, and operational readiness.
- Documentation Validator: The technical-writer sub-agent drafts external-facing documentation to validate the design is explainable and usable before planning begins.
- Planning Specialist: The planner sub-agent translates the approved RFC into a step-by-step implementation plan and task breakdown.
- Decision Orchestrator: The main agent passes artifacts between sub-agents, enforces review rounds, prevents constraint drift, compares against a simpler baseline, and stops only when the design is stable enough for human approval.
Every design review response should be treated as a structured artifact, not as chat. Capture assumptions, risks, tradeoffs, open questions, score changes, and explicit decisions in the RFC.
RFC Decision Criteria
During technical design and design review, score the RFC from 1 to 10 on:
- Correctness
- Scalability
- Reliability
- Security
- Cost
- Simplicity
- Implementation effort
- Observability
- Maintainability
The RFC must include the final recommended design, rejected alternatives, simpler baseline comparison, service or module boundaries, data ownership, API or interface contracts, event or control flows when relevant, failure scenarios, observability plan, security review, rollout strategy, open risks, and decision rationale.
Execution Sequence:
- Requirements Phase:
- Invoke the pm sub-agent.
- Execute the
write_prd skill using the provided <idea> and follow the PRD Template.
- Ensure the PRD clarifies users and actors, traffic assumptions, latency goals, availability target, consistency requirements, compliance constraints, existing systems, non-goals, and unknowns when relevant.
- Save the output to
docs/prds/prd_<feature_name>.md.
- Inversion (Wait for User): Halt execution. Ask the user to review the PRD. If the user provides feedback or modifies the file, read the changes and revise the PRD. Loop this sub-step until the user explicitly inputs "Approved".
- Technical Design Phase:
- Invoke the architect sub-agent.
- Read the approved
docs/prds/prd_<feature_name>.md.
- Generate an initial RFC proposal following the RFC Template.
- Include at least one simpler baseline alternative. If the proposed design is more complex than the baseline, justify why the extra operational cost is necessary.
- Include an initial decision scorecard using the RFC Decision Criteria.
- Complete the Architecture Tradeoff Checklist for all relevant project domains (mark inapplicable items as N/A with a one-liner justification) and append it to the RFC as
## Appendix: Architecture Tradeoff Checklist. Reference checklist findings when justifying RFC Decision Criteria scorecard scores.
- Save the output to
docs/rfcs/rfc_<feature_name>.md.
- Design Review Phase:
- Invoke the architecture-reviewer sub-agent.
- Read
docs/rfcs/rfc_<feature_name>.md and red-team the design. Ask critical architecture questions, identify risks, and challenge unnecessary complexity.
- Verify the Architecture Tradeoff Checklist appendix is complete for all applicable domains. Flag any item left blank without justification or any tradeoff decision that contradicts the RFC design as a blocking review finding.
- Pre-Mortem Requirement: Assume this feature launched and caused a critical production outage or user data loss exactly one month from now. Write a post-mortem explaining what went wrong with this proposed design.
- Invoke the engineer sub-agent for a read-only implementation feasibility review. Do not implement. Review codebase impact, migration complexity, required interfaces, test strategy, rollout plan, backward compatibility, CI/CD implications, and operational readiness.
- Pass architecture-reviewer and engineer feedback back to the authoring architect sub-agent to revise the RFC.
- Re-score the revised RFC using the RFC Decision Criteria and compare it against the simpler baseline.
- Internal Pipeline Loop: Repeat critique, feasibility review, revision, baseline comparison, and scoring until the architecture-reviewer sub-agent explicitly approves the RFC and either scores no longer materially improve or all high-severity risks have documented mitigations. Cap the loop at three internal rounds unless a blocking risk remains unresolved.
- Inversion (Wait for User): Once internally approved, halt execution. Ask the user for RFC approval. If the user provides feedback, revert to the authoring architect to update, then the architecture-reviewer to re-review. Loop until the user inputs "Approved".
- Documentation Phase:
- Invoke the technical-writer sub-agent.
- Read
docs/rfcs/rfc_<feature_name>.md.
- Draft external-facing documentation (e.g., API reference, README additions) to
docs/.
- Inversion (Wait for User): Halt execution. Wait for user approval before moving to the Planning phase.
- Planning Phase:
- Invoke the planner sub-agent.
- Read
docs/rfcs/rfc_<feature_name>.md and the relevant codebase sections.
- Execute the
planning-and-task-breakdown skill to plan the <feature_name>.
- Save the output to
docs/plans/plan_<feature_name>.md following the Implementation Plan Template.
- Read
docs/plans/plan_<feature_name>.md and create tasks list docs/plans/tasks_<feature_name>.md using Markdown checkboxes ([ ]).
- Identify the dependency graph between components
- Slice work vertically (one complete path per task, not horizontal layers)
- Write tasks with acceptance criteria and verification steps
- Add checkpoints between phases
- Present the plan for human review
Templates
The templates to follow for output files are located in the assets/templates/ folder of this skill:
- PRD Template: prd_template.md
- RFC Template: rfc_template.md
- Architecture Tradeoff Checklist Template: tradeoff_checklist_template.md
- Implementation Plan Template: plan_template.md
1---2name: request-feature3description: Start the Autonomous AI Plan Pipeline sequence with a new idea. Use this skill whenever the user types `/request_feature <idea>` or asks to kick off a full feature development pipeline — from requirements writing through PRD, RFC design review, and task breakdown planning. This skill focuses EXCLUSIVELY on feature planning and MUST NOT perform any code implementation or modifications to source files beyond documentation. Trigger this skill for any request to take a feature idea through the full autonomous planning lifecycle using the established agent pipeline.4---56When the user types `/request_feature <idea>`, orchestrate the development process strictly using `AGENTS.md` and `.agents/skills/`. This skill is limited to research and planning; implementation must be handled separately via `/implement_task`.78### Planning-Only Boundary910- Produce and revise documentation artifacts only: PRDs, RFCs, plans, task lists, scorecards, and decision rationale.11- Read relevant codebase sections when needed to assess feasibility and impact, but do not modify application code, tests, configuration, dependencies, or implementation files.12- Treat implementation feasibility as a design input, not as permission to implement. Any code changes must be deferred to `/implement_task`.1314### Architecture Review Board Model1516Use the request pipeline as an automated architecture review board:1718- **Requirement Clarifier:** The **pm** sub-agent turns the idea into an agreed engineering brief before design begins.19- **Design Proposer:** The **architect** sub-agent writes the initial RFC and defends a concrete design.20- **Red-Team Reviewer:** The **architecture-reviewer** sub-agent critiques the RFC for bottlenecks, weak assumptions, unclear ownership, failure modes, security risks, over-engineering, under-specified operations, and bad cost tradeoffs. Conducts a mandatory Pre-Mortem analysis.21- **Implementation Feasibility Reviewer:** The **engineer** sub-agent performs read-only analysis of codebase impact, migration complexity, interfaces, testing strategy, rollout, backward compatibility, CI/CD implications, and operational readiness.22- **Documentation Validator:** The **technical-writer** sub-agent drafts external-facing documentation to validate the design is explainable and usable before planning begins.23- **Planning Specialist:** The **planner** sub-agent translates the approved RFC into a step-by-step implementation plan and task breakdown.24- **Decision Orchestrator:** The main agent passes artifacts between sub-agents, enforces review rounds, prevents constraint drift, compares against a simpler baseline, and stops only when the design is stable enough for human approval.2526Every design review response should be treated as a structured artifact, not as chat. Capture assumptions, risks, tradeoffs, open questions, score changes, and explicit decisions in the RFC.2728### RFC Decision Criteria2930During technical design and design review, score the RFC from 1 to 10 on:3132- Correctness33- Scalability34- Reliability35- Security36- Cost37- Simplicity38- Implementation effort39- Observability40- Maintainability4142The RFC must include the final recommended design, rejected alternatives, simpler baseline comparison, service or module boundaries, data ownership, API or interface contracts, event or control flows when relevant, failure scenarios, observability plan, security review, rollout strategy, open risks, and decision rationale.4344### Execution Sequence:45461. **Requirements Phase:**47 - Invoke the **pm** sub-agent.48 - Execute the `write_prd` skill using the provided `<idea>` and follow the [PRD Template](assets/templates/prd_template.md).49 - Ensure the PRD clarifies users and actors, traffic assumptions, latency goals, availability target, consistency requirements, compliance constraints, existing systems, non-goals, and unknowns when relevant.50 - Save the output to `docs/prds/prd_<feature_name>.md`.51 - **Inversion (Wait for User):** Halt execution. Ask the user to review the PRD. If the user provides feedback or modifies the file, read the changes and revise the PRD. Loop this sub-step until the user explicitly inputs "Approved".522. **Technical Design Phase:**53 - Invoke the **architect** sub-agent.54 - Read the approved `docs/prds/prd_<feature_name>.md`.55 - Generate an initial RFC proposal following the [RFC Template](assets/templates/rfc_template.md).56 - Include at least one simpler baseline alternative. If the proposed design is more complex than the baseline, justify why the extra operational cost is necessary.57 - Include an initial decision scorecard using the **RFC Decision Criteria**.58 - Complete the [Architecture Tradeoff Checklist](assets/templates/tradeoff_checklist_template.md) for all relevant project domains (mark inapplicable items as N/A with a one-liner justification) and append it to the RFC as `## Appendix: Architecture Tradeoff Checklist`. Reference checklist findings when justifying RFC Decision Criteria scorecard scores.59 - Save the output to `docs/rfcs/rfc_<feature_name>.md`.603. **Design Review Phase:**61 - Invoke the **architecture-reviewer** sub-agent.62 - Read `docs/rfcs/rfc_<feature_name>.md` and red-team the design. Ask critical architecture questions, identify risks, and challenge unnecessary complexity.63 - Verify the Architecture Tradeoff Checklist appendix is complete for all applicable domains. Flag any item left blank without justification or any tradeoff decision that contradicts the RFC design as a blocking review finding.64 - **Pre-Mortem Requirement:** Assume this feature launched and caused a critical production outage or user data loss exactly one month from now. Write a post-mortem explaining what went wrong with this proposed design.65 - Invoke the **engineer** sub-agent for a read-only implementation feasibility review. Do not implement. Review codebase impact, migration complexity, required interfaces, test strategy, rollout plan, backward compatibility, CI/CD implications, and operational readiness.66 - Pass architecture-reviewer and engineer feedback back to the authoring **architect** sub-agent to revise the RFC.67 - Re-score the revised RFC using the **RFC Decision Criteria** and compare it against the simpler baseline.68 - **Internal Pipeline Loop:** Repeat critique, feasibility review, revision, baseline comparison, and scoring until the **architecture-reviewer** sub-agent explicitly approves the RFC and either scores no longer materially improve or all high-severity risks have documented mitigations. Cap the loop at three internal rounds unless a blocking risk remains unresolved.69 - **Inversion (Wait for User):** Once internally approved, halt execution. Ask the user for RFC approval. If the user provides feedback, revert to the authoring **architect** to update, then the **architecture-reviewer** to re-review. Loop until the user inputs "Approved".704. **Documentation Phase:**71 - Invoke the **technical-writer** sub-agent.72 - Read `docs/rfcs/rfc_<feature_name>.md`.73 - Draft external-facing documentation (e.g., API reference, README additions) to `docs/`.74 - **Inversion (Wait for User):** Halt execution. Wait for user approval before moving to the Planning phase.755. **Planning Phase:**76 - Invoke the **planner** sub-agent.77 - Read `docs/rfcs/rfc_<feature_name>.md` and the relevant codebase sections.78 - Execute the `planning-and-task-breakdown` skill to plan the `<feature_name>`.79 - Save the output to `docs/plans/plan_<feature_name>.md` following the [Implementation Plan Template](assets/templates/plan_template.md).80 - Read `docs/plans/plan_<feature_name>.md` and create tasks list `docs/plans/tasks_<feature_name>.md` using Markdown checkboxes (`[ ]`).81 - Identify the dependency graph between components82 - Slice work vertically (one complete path per task, not horizontal layers)83 - Write tasks with acceptance criteria and verification steps84 - Add checkpoints between phases85 - Present the plan for human review8687### Templates8889The templates to follow for output files are located in the `assets/templates/` folder of this skill:90- **PRD Template**: [prd_template.md](assets/templates/prd_template.md)91- **RFC Template**: [rfc_template.md](assets/templates/rfc_template.md)92- **Architecture Tradeoff Checklist Template**: [tradeoff_checklist_template.md](assets/templates/tradeoff_checklist_template.md)93- **Implementation Plan Template**: [plan_template.md](assets/templates/plan_template.md)