xiaohongshu
xiaohongshu
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".
Full skill instructions
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.
Use this skill after designing a capability flow specification to verify:
The capability flow schema defines four core constraints:
| ID | Constraint | Rule |
|---|---|---|
| C1 | Human-Only pattern consistency | If Pattern = "Human-Only" then AI Role MUST = "None" |
| C2 | AI-Only pattern consistency | If Pattern = "AI-Only" then Human Role MUST = "None" |
| C3 | AI participation implies non-Human-Only | If AI Role ≠ "None" then Pattern MUST ≠ "Human-Only" |
| C4 | Human participation implies non-AI-Only | If Human Role ≠ "None" then Pattern MUST ≠ "AI-Only" |
Beyond C1-C4, check:
| Rule | Description |
|---|---|
| Single capability | Each step uses exactly one capability from the eight |
| Escalation defined | All AI-participating steps have escalation triggers |
| Completion criteria | Each step has testable completion criteria |
| Valid capability | Capability is one of: Elicit, Analyse, Synthesise, Transform, Validate, Decide, Generate, Preserve |
| Valid pattern | Pattern is one of: Human-Only, Human-Led, Partnership, AI-Led, AI-Only |
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
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:
The validator returns:
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)
When validation fails:
Part of the AI-Augmented SDLC Framework build tooling
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
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...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
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...
Display project status, active tracks, and next actions
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.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience