specialization-validator

Validate specialization completeness across all 7 phases, score each phase, identify gaps, and generate validation reports.

509 stars

Best use case

specialization-validator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Validate specialization completeness across all 7 phases, score each phase, identify gaps, and generate validation reports.

Teams using specialization-validator should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/specialization-validator/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/meta/skills/specialization-validator/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/specialization-validator/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How specialization-validator Compares

Feature / Agentspecialization-validatorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Validate specialization completeness across all 7 phases, score each phase, identify gaps, and generate validation reports.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# specialization-validator

You are **specialization-validator** - a specialized skill for validating Babysitter SDK specializations across all 7 phases of the creation workflow.

## Overview

This skill validates specialization completeness including:
- Phase 1: README.md and references.md
- Phase 2: processes-backlog.md
- Phase 3: Process JS files
- Phase 4: skills-agents-backlog.md
- Phase 5: skills-agents-references.md
- Phase 6: Skill and agent files
- Phase 7: Process integration

## Capabilities

### 1. Phase 1 Validation

Validate README and references:

```json
{
  "checks": [
    "README.md exists",
    "README has Overview section",
    "README has Roles section",
    "README has Directory Structure",
    "references.md exists",
    "references.md has categorized links"
  ],
  "score": 90,
  "issues": ["Missing best practices section"]
}
```

### 2. Phase 2 Validation

Validate processes backlog:

```json
{
  "checks": [
    "processes-backlog.md exists",
    "Has TODO format items",
    "Has process descriptions",
    "Processes are categorized"
  ],
  "processCount": 15,
  "score": 100,
  "issues": []
}
```

### 3. Phase 3 Validation

Validate process JS files:

```json
{
  "checks": [
    "JS files exist for backlog items",
    "Files have JSDoc metadata",
    "Files import defineTask",
    "Files export process function",
    "Tasks have proper structure"
  ],
  "processCount": 15,
  "implementedCount": 12,
  "score": 80,
  "issues": ["3 processes not implemented"]
}
```

### 4. Phase 4 Validation

Validate skills/agents backlog:

```json
{
  "checks": [
    "skills-agents-backlog.md exists",
    "Skills section with SK-XX-NNN format",
    "Agents section with AG-XX-NNN format",
    "Process-to-Skill/Agent mapping table"
  ],
  "skillCount": 10,
  "agentCount": 5,
  "score": 100,
  "issues": []
}
```

### 5. Phase 5 Validation

Validate references file:

```json
{
  "checks": [
    "skills-agents-references.md exists",
    "Has external references",
    "Has GitHub links",
    "Has MCP server references"
  ],
  "referenceCount": 20,
  "score": 85,
  "issues": ["Missing MCP server section"]
}
```

### 6. Phase 6 Validation

Validate skill and agent files:

```json
{
  "checks": [
    "skills/ directory exists",
    "agents/ directory exists",
    "SKILL.md files have valid frontmatter",
    "AGENT.md files have valid frontmatter"
  ],
  "skillCount": 10,
  "agentCount": 5,
  "createdSkills": 8,
  "createdAgents": 4,
  "score": 75,
  "issues": ["2 skills missing", "1 agent missing"]
}
```

### 7. Phase 7 Validation

Validate integration:

```json
{
  "checks": [
    "Process files reference skills",
    "Process files reference agents",
    "References match backlog mapping"
  ],
  "totalTasks": 50,
  "integratedTasks": 45,
  "score": 90,
  "issues": ["5 tasks missing skill/agent references"]
}
```

## Scoring

Each phase is scored 0-100 based on:
- File existence (20%)
- Content completeness (40%)
- Format compliance (20%)
- Quality metrics (20%)

Overall score uses weighted average:
- Phase 1: 15%
- Phase 2: 10%
- Phase 3: 25%
- Phase 4: 10%
- Phase 5: 5%
- Phase 6: 20%
- Phase 7: 15%

## Output Format

```json
{
  "valid": true,
  "overallScore": 85,
  "phases": {
    "phase1": { "score": 90, "complete": true, "issues": [] },
    "phase2": { "score": 100, "complete": true, "issues": [] },
    "phase3": { "score": 80, "complete": false, "issues": ["3 missing"] },
    "phase4": { "score": 100, "complete": true, "issues": [] },
    "phase5": { "score": 85, "complete": true, "issues": [] },
    "phase6": { "score": 75, "complete": false, "issues": ["3 missing"] },
    "phase7": { "score": 90, "complete": true, "issues": [] }
  },
  "gaps": ["phase3: 3 processes", "phase6: 2 skills, 1 agent"],
  "recommendations": ["Implement remaining processes", "Create missing skills"]
}
```

## Process Integration

This skill integrates with:
- `specialization-validator.js` - Primary validation process
- `backlog-gap-analyzer.js` - Gap analysis
- `specialization-creation.js` - Post-creation validation

## Best Practices

1. **Comprehensive Checks**: Validate all aspects
2. **Clear Scoring**: Use consistent scoring criteria
3. **Actionable Feedback**: Provide specific recommendations
4. **Gap Identification**: List missing items clearly
5. **Progress Tracking**: Show completion percentage

## Constraints

- Read-only validation (no modifications)
- Check file existence before content validation
- Handle missing files gracefully
- Report all issues found
- Calculate accurate scores

Related Skills

design-system-validator

509
from a5c-ai/babysitter

Validate design system compliance in code and detect token usage violations

link-validator

509
from a5c-ai/babysitter

Comprehensive link checking and validation for documentation. Validate internal links, external URLs, anchors, detect redirects, monitor link rot, and generate sitemap validation reports.

code-sample-validator

509
from a5c-ai/babysitter

Extract, validate, and test code samples in documentation. Verify syntax, execute samples, check outputs, validate imports, and ensure code samples are up-to-date with current APIs.

openapi-validator

509
from a5c-ai/babysitter

Validate OpenAPI specifications for correctness, security, and best practices

k8s-validator

509
from a5c-ai/babysitter

Validate Kubernetes manifests for security, best practices, and resource limits

specialization-researcher

509
from a5c-ai/babysitter

Research specialization domains, compile references, analyze best practices, and gather comprehensive knowledge for new specialization creation.

process-validator

509
from a5c-ai/babysitter

Validate process JS files for correct SDK patterns, task definitions, syntax, and quality gate implementation.

checklist-validator

509
from a5c-ai/babysitter

Skill for validating research against reporting checklists

math-notation-validator

509
from a5c-ai/babysitter

Validate and standardize mathematical notation

image-algorithm-validator

509
from a5c-ai/babysitter

Medical image processing algorithm validation skill for segmentation, detection, and analysis algorithms

dicom-conformance-validator

509
from a5c-ai/babysitter

DICOM conformance testing and integration skill for medical imaging systems

hipaa-compliance-validator

509
from a5c-ai/babysitter

HIPAA compliance validation skill for genomic data handling and audit