building

Orchestrate gated multi-phase plan execution from discovery to working code.

351|31|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/ryanthedev/code-foundations --skill building-ryanthedev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building
Source: https://github.com/ryanthedev/code-foundations/tree/main/skills/building
Command: npx skills add https://github.com/ryanthedev/code-foundations --skill building-ryanthedev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill coordinates multi-phase planning and execution with strict gates, ensuring feature branches, per-phase commits, and auditable execution logs throughout the build lifecycle.

Core Features & Use Cases

  • Phased gating orchestration across DISCOVERY, PRE-GATE, IMPLEMENT, POST-GATE, and CHECKPOINT to convert plans into verifiable code.
  • Subagent-driven workflow: discovery, pseudocode generation, implementation, and reviewer checks to maintain fresh context and quality gates.
  • Traceable execution with per-phase commits, execution logs, and built-in test support to support auditable releases and rollbacks. Use Case: A team converts a whiteboard plan into a staged build with mandatory gates, ensuring safe feature branch integration.

Quick Start

Start by drafting a plan with /code-foundations:whiteboarding, then save it to docs/plans/YYYY-MM-DD-topic.md and run /code-foundations:building docs/plans/YYYY-MM-DD-topic.md to execute the gated phases.

Frequently Asked Questions about building

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate gated plan execution from idea to working code?

Gated plan execution automates the transition from ideas to code by orchestrating multi-phase workflows across DISCOVERY, PRE-GATE, IMPLEMENT, POST-GATE, and CHECKPOINT. It enforces mandatory gates and per-phase commits to produce verifiable, auditable execution logs.

What's the best way to enforce mandatory quality gates during code implementation?

To enforce quality gates during code implementation, use a subagent-driven workflow that applies reviewer checks and test verification. This ensures feature branches pass through PRE-GATE and POST-GATE checkpoints, maintaining code quality before integration.

How does subagent-driven code review work in a phased build process?

Subagent-driven code review works by assigning dedicated agents to handle discovery, pseudocode generation, implementation, and reviewer checks. This maintains fresh context throughout the phased build process and generates an auditable execution log for each stage.

Can I use feature branches and checkpoints for staged software builds?

Yes, you can use feature branches and checkpoints for staged software builds. The gated execution process isolates feature branch work and enforces per-phase commits, ensuring safe integration and supporting auditable releases and rollbacks.

Do I need a whiteboard plan document to start multi-phase code generation?

Yes, you need a whiteboard plan document saved as a markdown file to start multi-phase code generation. You draft the initial plan, save it to your docs directory, and then execute the gated phases to convert it into working code.

Why use per-phase commits and execution logs for software release rollbacks?

Per-phase commits and execution logs provide traceable execution history for software release rollbacks. By committing at each stage of the gated workflow, you create distinct checkpoints that make it easy to identify issues and safely revert to previous implementation states.