N Version Workflow
N-version programming skill that generates N independent implementations and selects or synthesizes the best one.
- CCM score
- 49 of 100
- skills.sh installs
- 139
- GitHub stars
- 77
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a seven-step workflow: shared specification, N isolated subprocess implementations, comparison, evaluation, selection or hybrid synthesis, implementation, and documented learnings
- Scores candidates on correctness, security, simplicity, philosophy compliance, and performance, with correctness and security acting as gates
- Sets N to 3 by default, 4 to 6 for critical features, or 2 for quick validation, and assigns each version a diversity profile
- Designed for high-risk work such as authentication, authorization, complex algorithms, and core refactoring, not simple CRUD or bug fixes
Install
$ npx -y skills add rysweet/amplihack --skill n-version-workflow -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
N-Version Programming Workflow Skill
Purpose
Execute N-version programming workflow for critical implementations where multiple independent solutions should be generated and compared to select the best approach.
When to Use This Skill
USE FOR:
- Critical security features (authentication, authorization)
- Complex algorithms with multiple valid approaches
- High-risk refactoring of core components
- Architecture decisions with significant long-term impact
- When correctness is paramount over speed
AVOID FOR:
- Simple CRUD operations
- Straightforward bug fixes
- Documentation updates
- Minor UI tweaks
- Time-sensitive quick fixes
Configuration
Core Parameters
N (Number of Versions):
3- Default for standard tasks4-6- Critical features requiring high confidence2- Quick validation of approach
Selection Criteria (priority order):
- Correctness - Meets requirements and passes tests
- Security - No vulnerabilities or anti-patterns
- Simplicity - Ruthless simplicity, minimal complexity
- Philosophy Compliance - Follows project principles
- Performance - Efficiency and resource usage
Agent Diversity Profiles:
Details
- Repository
- github.com/rysweet/amplihack
- Categories
- Agent Workflow & Planning, Code Review & Quality
- First seen
- Jun 3, 2026
More from rysweet/amplihack
All 55- Outside In Testing139
- Cybersecurity Analyst1.5K
- Lawyer Analyst700
- Psychologist Analyst465
- Mermaid Diagram Generator435
- Economist Analyst387
- Design Patterns Expert370
- Learning Path Builder347
- Philosopher Analyst329
- Storytelling Synthesizer316
- Documentation Writing313
- Political Scientist Analyst309
- Novelist Analyst295
- Knowledge Extractor286
- Socratic Review285
- Chemist Analyst282
- Physicist Analyst282
- Computer Scientist Analyst277
- Docx273
- Journalist Analyst270
- Roadmap Strategist267
- Biologist Analyst264
- Microsoft Agent Framework264
- Code Smell Detector257
Similar to N Version Workflow
More Agent Workflow & Planningdebate-workflowSkillrysweet/amplihack245 installsStructured multi-perspective debate that frames, challenges, and synthesizes major architectural trade-offs before deciding.
investigation-workflowSkillrysweet/amplihack254 installsSix-phase workflow that maps existing systems through parallel agent deep dives and captures findings for reuse.
skill-optimizerSkillmcollina/skills1.5K installsStructured workflow for raising skill activation, cutting regressions, and gating releases with benchmarks.
epcc-workflowPluginaws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrock412 starsEPCC (Explore-Plan-Code-Commit) systematic development workflow with 12 specialized agents for exploration, planning, coding, and commit phases
ensemble-solvingSkillmhattingpete/claude-skills-marketplace220 installsParallel ensemble that spawns three diverse solution attempts and selects the best with evaluation rationale.
spec-driven-developmentSkilladdyosmani/agent-skills87.7K installsStructured spec-first workflow that gates coding behind a reviewed specification, with an optional scope-splitting phase.