Phased Implementation

Ensures the AI only implements one phase of a plan at a time and waits for manual approval before moving to the next, preventing silent multi-phase code dumps.

Development / Workflow Controldevelopmentworkflow-control
by AgentVoltv1.0.0Published 1y ago
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptBuild the complete authentication system for my app in phases
Beforegeneric AI agent
I'll build a complete authentication system for your app. Let me break this into phases: Phase 1 is database schema for users and sessions. Phase 2 is login/signup endpoints. Phase 3 is JWT token generation and refresh logic. Phase 4 is frontend forms (login, signup, password reset). Phase 5 is password reset email flow. Phase 6 is two-factor authentication. Let me start building everything now... [After 4 hours of work, returns 8,000-line diff implementing all 6 phases without any pause for review or approval.]
Afterwith Phased Implementation
PHASED IMPLEMENTATION: AUTHENTICATION SYSTEM

Planned phases:
→ Phase 1: Database schema
→ Phase 2: Login/signup endpoints
→ Phase 3: JWT + refresh logic
→ Phase 4: Frontend forms
→ Phase 5: Password reset
→ Phase 6: 2FA

===== PHASE 1: DATABASE SCHEMA =====

Files to create/modify:

prisma/schema.prisma
• User model: id, email (unique), passwordHash, emailVerified, createdAt, updatedAt
• Session model: id, userId (FK), token (hashed), expiresAt, createdAt
• PasswordReset model: id, userId (FK), token (hashed), expiresAt

Migration:
→ Command: npx prisma migrate dev --name add_auth_schema
→ Generates migration, applies to local DB

Changes summary:
• 3 new tables (User, Session, PasswordReset)
• 4 indexes (email unique, session userId, passwordReset userId, token expiry)
• No API endpoints yet

Test: DB schema applies without error

===== HALT: AWAITING APPROVAL =====

I have completed Phase 1. Before proceeding to Phase 2 (endpoints), I need your explicit approval:

Checklist to verify:
[ ] You reviewed the schema and agree with table structure
[ ] You're happy with password hashing approach (bcrypt cost 12)
[ ] You confirmed: Session expiry = 7 days, PasswordReset expiry = 1 hour

If approved: Reply with looks good, proceed

If changes needed:
→ Change Session expiry to 30 days
→ I'll update the schema and wait for re-approval before Phase 2

===== WHAT PHASE 2 WILL BUILD (preview only) =====

Not building yet—just showing what's next:
• POST /auth/signup endpoint (create user, hash password, send verification email)
• POST /auth/login endpoint (check password, create session)
• POST /auth/logout endpoint (delete session)

Files: Create app/api/auth/signup.ts, app/api/auth/login.ts

===== AWAITING YOUR GO-AHEAD =====

Once you approve Phase 1, I'll implement Phase 2, commit it, and halt again for your review.

About this skill


name: phased-implementation description: Use when Ensures the AI only implements one phase of a plan at a time and waits for manual approval before moving to the next, preventing silent multi-phase code dumps.

Phased Implementation

A lightweight companion to Phased Plan. Once a phased plan exists, this skill enforces that the AI implements exactly one phase, stops, and waits for explicit manual review and approval before committing and moving to the next phase. Built after the creator had an AI silently implement phases 1 through 8 unsupervised, resulting in an unreviewable 5,000-line diff.

What you get

  • Strict one-phase-at-a-time execution, mandatory manual approval gate between phases, prevents runaway multi-phase implementation, small and easy to bolt onto any existing plan.

Customize your output

  • Adjust whether approval requires explicit "looks good" language or any form of confirmation to proceed to the next phase.

Example output

Phase 3 of 8 implemented and committed only after manual "looks good, proceed" approval — phase 4 never started until phase 3 was explicitly signed off.

Best for

Developers who've been burned by AI silently completing an entire multi-phase plan unsupervised and want a hard stop between each phase.

SKILL.md preview

SKILL.md
---
name: phased-implementation
description: Use when implementing a phased plan and each phase must stop for explicit manual approval before the next one begins.
version: 1.0.0
category: Development / Workflow Control
author: AgentVolt
license: proprietary
tags:
  - development
  - workflow-control
  - standard
---

# Phased Implementation

Enforces one-phase-at-a-time execution: implement exactly one phase, stop, and wait for explicit manual approval before committing and moving to the next.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill