Skip to content
build-only-validate-capability-flow logo

Build-Only: Validate Capability Flow

build-only-validate-capability-flow

Validate a capability flow specification against schema constraints. Use after designing a process to ensure it conforms to framework rules. Triggers on "validate capability flow", "check process spec", "verify schema compliance".

SKILL.md

Full skill instructions

Build-Only: Validate Capability Flow

Validate a capability flow specification against the framework's schema constraints.

Note: This skill is prefixed build-only- because it is used during framework development, not as part of the framework itself.

When to Use

Use this skill after designing a capability flow specification to verify:

  • Schema constraint compliance (C1-C4)
  • Structural completeness
  • Consistency between patterns and roles

Schema Constraints

The capability flow schema defines four core constraints:

IDConstraintRule
C1Human-Only pattern consistencyIf Pattern = "Human-Only" then AI Role MUST = "None"
C2AI-Only pattern consistencyIf Pattern = "AI-Only" then Human Role MUST = "None"
C3AI participation implies non-Human-OnlyIf AI Role ≠ "None" then Pattern MUST ≠ "Human-Only"
C4Human participation implies non-AI-OnlyIf Human Role ≠ "None" then Pattern MUST ≠ "AI-Only"

Additional Validation Rules

Beyond C1-C4, check:

RuleDescription
Single capabilityEach step uses exactly one capability from the eight
Escalation definedAll AI-participating steps have escalation triggers
Completion criteriaEach step has testable completion criteria
Valid capabilityCapability is one of: Elicit, Analyse, Synthesise, Transform, Validate, Decide, Generate, Preserve
Valid patternPattern is one of: Human-Only, Human-Led, Partnership, AI-Led, AI-Only

How to Validate

Manual Validation Checklist

For each capability instance in the specification:

□ Capability is one of the eight valid capabilities
□ Pattern is one of the five valid patterns
□ C1: If Human-Only, AI Role = "None"
□ C2: If AI-Only, Human Role = "None"
□ C3: If AI Role ≠ "None", Pattern ≠ Human-Only
□ C4: If Human Role ≠ "None", Pattern ≠ AI-Only
□ Escalation triggers defined (if AI participates)
□ Completion criteria are testable

Validation Script

Execute the validation script:

.claude/​skills/​build-only-validate-capability-flow/​scripts/​validate-capability-flow.sh <spec-file>

The script reads a YAML capability flow specification and reports:

  • Constraint violations
  • Missing required fields
  • Recommendations for fixes

Validation Output

The validator returns:

  • PASS if all constraints satisfied
  • FAIL with list of violations if any constraint broken

Example output:

Validating: process-spec.yaml
Step PA-3: FAIL - C1 violated: Pattern is Human-Only but AI Role is "Proposes decomposition"
Step PA-7: PASS
Step PA-8: PASS
Overall: FAIL (1 violation)

Handling Failures

When validation fails:

  1. Identify the specific constraint violated
  2. Determine which field is incorrect (Pattern or Role)
  3. Either change the pattern to match the roles, or change the roles to match the pattern
  4. Re-validate after correction

Part of the AI-Augmented SDLC Framework build tooling

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View