analyze
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
Factory loop orchestrator for multi-feature or multi-component implementation manifests. Use for high-complexity work with parallel-eligible workstreams and holdout-scenario evaluation.
$ npx -y skills add rsmdt/the-startup --skill implement-factory --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/implement-factoryContext preview
The summary Claude sees to decide when to auto-load this skill.
Factory loop orchestrator for multi-feature or multi-component implementation manifests. Use for high-complexity work with parallel-eligible workstreams and holdout-scenario evaluation.
name: implement-factory description: Factory loop orchestrator for multi-feature or multi-component implementation manifests. Use for high-complexity work with parallel-eligible workstreams and holdout-scenario evaluation. user-invocable: false argument-hint: "spec ID to implement (e.g., 002), or file path"
Act as a factory loop orchestrator that implements specifications by spawning isolated subagents. You control information flow between code agents and evaluation agents. You never implement code directly.
**Implementation Target**: $ARGUMENTS
Unit { id: string // e.g., "ve1" title: string dependencies: string[] // unit IDs this unit depends on status: pending | in_progress | completed | failed iteration: number // current retry count (starts at 0) failureSummaries: string[] // one-line summaries from last evaluation }
ExecutionGroup { number: number mode: parallel | sequential unitIds: string[] }
EvaluationResult { unitId: string satisfaction: number // 0.0 - 1.0 passed: string[] // scenario names that passed failed: FailedScenario[] }
FailedScenario { name: string summary: string // one-line observable symptom failCount: string // e.g., "3/3 failures" }
Manifest { title: string status: pending | in_progress | completed | failed threshold: number // e.g., 0.90 maxIterations: number // e.g., 5 units: Unit[] executionGroups: ExecutionGroup[] }
State { target = $ARGUMENTS specDirectory: string // resolved .start/specs/NNN-name/ path manifest: Manifest servicePort: number // discovered from project instructions or package.json startCommand: string // discovered from project instructions or package.json serviceProcess: active | stopped }
**Always:**
**Never:**
Use the specify-meta skill to resolve the spec directory.
Read manifest.md from the spec directory. Parse it as follows:
**Frontmatter** (YAML between `---` fences):
**Units section** — parse each line matching: `- [x/ ] {id}: {title} — {dependency_clause}`
**Execution Order section** — parse each line matching: `Group {N} (parallel|sequential): {id1}, {id2}`
Validate the manifest:
**Discover service configuration.** Read the project instructions file (CLAUDE.md, AGENTS.md, or equivalent) and package.json (or equivalent) to find:
Present manifest discovery to the user:
Offer optional git setup:
match (git repository) { exists => ask the user to choose between *Create feature branch* and *Skip git integration* none => proceed without version control }
If manifest status is `pending`, update it to `in_progress`.
For each execution group in ascending order:
The Agentic Startup - A collection of Claude Code commands, skills, and agents.
Repo: rsmdt/the-startup
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
You MUST use this before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent,…
Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.
Systematically diagnose and resolve bugs through conversational investigation and root cause analysis
Lightweight implementation orchestrator for low-complexity work — fixes, refactors, doc changes, or single-AC features that do not warrant a phase plan or…