Cfn alpha launch

From masharratt/claude-flow-novice · View interactive version

Cfn alpha launch is an AI agent skill from the GitHub repository masharratt/claude-flow-novice. MUST BE USED before any alpha or production release. Do not deploy without passing this check. Alpha readiness analysis plus fix execution: scores 8 readiness areas in parallel, emits a fix manifest and hands off to /cfn-vote-implement. Use when preparing to ship.

How to use this skill

Skill file

CFN Alpha Launch

Overview

Analyzes alpha readiness gaps and executes priority fixes using parallel subagents with TDD protocols. Features:

Usage

Phase 1: Readiness Analysis

/cfn-alpha-launch:analyze

Spawns 8 agents in parallel to analyze:

Output: After analysis, creates docs/alpha/fix-list.md with prioritized fixes.

Phase 2a: Manifest Emission (optional, routes through voting)

/cfn-alpha-launch:manifest

Converts docs/alpha/fix-list.md into a cfn-vote-implement-compatible JSON manifest at <project-root>/.cfn-cache/manifests/cfn-review-alpha-<ts>.json. Use when you want 3-agent consensus voting on findings before implementation, instead of direct parallel-execute.

Manifest schema: matches cfn-dry-review output — see cfn-vote-implement SKILL.md.

Field mapping from fix-list.md:

| Source | Manifest field |

|--------|----------------|

| ## Critical section | impact: high, priority: critical |

| ## High Priority section | impact: high, priority: high |

| ## Medium Priority section | impact: medium, priority: medium |

| - Agent: <type> | category: <type> |

| - File: <path> | files: ["<path>"] |

| Item text | title + description |

Then run:

/cfn-vote-implement latest

Phase 2b: Fix Execution (direct)

/cfn-alpha-launch:fix

Converts docs/alpha/fix-list.md to a cfn-vote-implement-compatible manifest and prints

the exact hand-off command to run: /cfn-vote-implement latest. The --agents flag has

no effect on this mode. fix mode does not spawn agents itself: a shell script cannot

spawn Claude agents, so it stops at "manifest ready" and exits 3 (distinct from 0 success

/ 1 error) to signal that execution is still pending.

/cfn-vote-implement latest is what actually processes the manifest:

See /cfn-vote-implement documentation for full execution protocol.

Mode: Analysis (cfn-alpha-launch:analyze)

Parallel Agent Spawn

Main chat spawns 8 analysis agents simultaneously:

// Agent 1: Test Readiness
Task(subagent_type="tester", prompt="Analyze test readiness...", run_in_background=false)

// Agent 2: Frontend Readiness
Task(subagent_type="react-frontend-engineer", prompt="Analyze frontend readiness...", run_in_background=false)

// Agent 3: Backend Readiness
Task(subagent_type="backend-developer", prompt="Analyze backend readiness...", run_in_background=false)

// Agent 4: Security Readiness
Task(subagent_type="security-specialist", prompt="Analyze security readiness...", run_in_background=false)

// Agent 5: Architect Readiness
Task(subagent_type="system-architect", prompt="Analyze architectural readiness...", run_in_background=false)

// Agent 6: Supabase Readiness
Task(subagent_type="supabase-specialist", prompt="Analyze Supabase readiness...", run_in_background=false)

// Agent 7: Contract Readiness
Task(subagent_type="code-standards-reviewer", prompt="Analyze contract readiness...", run_in_background=false)

// Agent 8: Consistency Readiness
Task(subagent_type="code-standards-reviewer", prompt="Analyze consistency readiness...", run_in_background=false)

Analysis Outputs

Each agent writes to docs/alpha/readiness-[area].md with gaps prioritized.

After all agents complete, create docs/alpha/fix-list.md:

# Alpha Launch Fix List

## Critical (Blockers)
1. [gap description] - Agent: [type] - File: [location]
2. ...

## High Priority (Before Launch)
3. [gap description] - Agent: [type] - File: [location]
4. ...

## Medium Priority (Post-Launch)
5. [gap description] - Agent: [type] - File: [location]
6. ...

This fix-list is the source of truth for fix execution.

Readiness Scoring

Agent-Level Scoring

Each agent calculates readiness using a deterministic formula:

| Agent | Formula | Critical | High | Medium |

|-------|---------|----------|------|--------|

| test | 100 - (c×20 + h×10 + m×5) | 20% | 10% | 5% |

| frontend | 100 - (c×15 + h×8 + m×4) | 15% | 8% | 4% |

| backend | 100 - (c×20 + h×10 + m×5) | 20% | 10% | 5% |

| security | 100 - (c×25 + h×10 + m×5) | 25% | 10% | 5% |

| architect | 100 - (c×15 + h×8 + m×4) | 15% | 8% | 4% |

| supabase | 100 - (c×15 + h×8 + m×4) | 15% | 8% | 4% |

| contract | 100 - (c×15 + h×8 + m×4) | 15% | 8% | 4% |

| consistency | 100 - (c×10 + h×5 + m×2) | 10% | 5% | 2% |

Key: c = critical count, h = high count, m = medium count

Example (test agent):

Overall Readiness Score

Overall = Average of all 8 agent scores

overall = (test + frontend + backend + security + architect + supabase + contract + consistency) / 8

Example:

test: 35%, frontend: 68%, backend: 45%, security: 70%
architect: 72%, supabase: 68%, contract: 90%, consistency: 80%

overall = (35 + 68 + 45 + 70 + 72 + 68 + 90 + 80) / 8 = 66%

Regression Detection

Automatic regression tracking:

  1. Before analysis: Previous fix-list.md is archived to fix-list-YYYYMMDD-HHMMSS.md
  2. Score extracted: Previous overall score stored in .readiness-scores-history.json.tmp
  3. After analysis: New score compared to previous
  4. Regression threshold: Decrease of ≥10% triggers warning

Example regression:

Previous: 70% on 2026-01-17
Current: 55% on 2026-01-18
Change: -15% (REGRESSION DETECTED)

Regression warnings appear in fix-list.md header:

**Overall Readiness**: 55% (Target: 85%+)
**Regression**: DETECTED (Previous: 70% on 2026-01-17, Δ: -15%)

Fix List Archive

Each analysis run archives the previous fix-list:

docs/alpha/fix-list.md                    # Current
docs/alpha/fix-list-20260117-143022.md    # Previous run
docs/alpha/fix-list-20260116-091545.md    # Two runs ago

Benefits:

Mode: Fix Execution (cfn-alpha-launch:fix)

Builds the manifest, then hands off to /cfn-vote-implement. A shell script cannot

spawn Claude agents, so this skill's job ends at "manifest ready."

After analysis creates docs/alpha/fix-list.md, fix mode:

  1. Calls the same mode_manifest logic that manifest mode uses (fix-list existence

check, converter existence check, single converter invocation)

  1. Prints the hand-off command: /cfn-vote-implement latest
  2. Exits 3 (manifest ready, execution not performed) instead of running anything

See /cfn-vote-implement documentation for:

Task Assignment Strategy

Consumed by the fixlist-to-manifest.sh converter, not by an executor skill. It maps:

Tasks in fix-list.md must follow this format:

## Critical
1. Fix auth RLS - Agent: security-specialist - File: src/auth/users.ts

## High Priority
2. Add login test - Agent: tester - File: src/auth/login.test.ts
3. Type check exports - Agent: typescript-specialist - File: src/api/index.ts

Output Files

| File | Purpose |

|------|---------|

| docs/alpha/readiness-test.md | Test coverage, type safety, build |

| docs/alpha/readiness-frontend.md | UI functionality, UX readiness |

| docs/alpha/readiness-backend.md | API functionality, data integrity |

| docs/alpha/readiness-security.md | Auth, RLS, secrets, CORS |

| docs/alpha/readiness-architect.md | System design, scalability, tech debt |

| docs/alpha/readiness-supabase.md | Database, storage, real-time, edge functions |

| docs/alpha/readiness-contract.md | API contracts, GraphQL schema, types |

| docs/alpha/readiness-consistency.md | Naming, conventions, code patterns |

| docs/alpha/fix-list.md | Prioritized list of required fixes |

| <project-root>/.cfn-cache/manifests/cfn-review-alpha-<ts>.json | cfn-vote-implement JSON manifest (emitted by manifest mode) |

Configuration

Agent Count

/cfn-alpha-launch:fix --agents=5  # Use 5 parallel agents (default: 3)

Analysis Scope

By default, analysis is cold start:

Example Session

Phase 1: Analyze

/cfn-alpha-launch:analyze

Spawns 8 analysis agents in parallel, outputs:

Phase 2: Fix

/cfn-alpha-launch:fix

Converts fix-list.md to a manifest, then prints:

/cfn-vote-implement latest

Running that command starts 3-agent voting on every finding:

  1. All 3 agents vote YES/NO per suggestion
  2. 3/3 agreement: auto-implemented with TDD
  3. 2/3 agreement: routed to the product-owner agent (IMPLEMENT/DEFER/REJECT)
  4. 1/3 agreement: surfaced to the user via AskUserQuestion

See /cfn-vote-implement documentation for detailed execution protocol.

Readiness Criteria

Test (Target: 90%+)

Frontend (Target: 85%+)

Backend (Target: 90%+)

Security (Target: 95%+)

Architect (Target: 85%+)

Supabase (Target: 90%+)

Contract (Target: 90%+)

Consistency (Target: 85%+)

Version History

1.7.0 (2026-05-17)

1.6.0 (2026-01-18)

1.5.0 (2026-01-17)

existed on disk or in git history; superseded in 1.7.1 by a direct /cfn-vote-implement hand-off)

1.7.1 (2026-08-20)

it now calls the existing mode_manifest to build the manifest, then prints the

documented hand-off command, /cfn-vote-implement latest

fix-list check, converter check, and converter invocation that mode_manifest

already owned; it calls mode_manifest instead

instead of failing on a missing script

1.4.0 (2025-01-16)

1.3.0 (2025-01-16)

1.2.0 (2025-01-16)

1.1.0 (2025-01-16)

1.0.0 (2025-01-16)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.