A comprehensive Claude Code automation package for developing, validating, and managing the AI Context Protocol (ACP) training corpus.
This SpecKit provides end-to-end automation for creating a training corpus that embeds ACP knowledge into foundation models. The package follows the 4-phase implementation roadmap defined in the requirements and provides commands, scripts, and templates for each phase.
# Initialize the corpus project
/scaffold.init
# View current phase status
/validate.status
# Generate seed examples for a domain
/develop.seeds --domain annotation-syntax
# Run validation pipeline
/validate.pipeline.claude/
├── commands/
│ ├── scaffold/ # Project initialization & setup
│ │ ├── init.md
│ │ ├── configure.md
│ │ └── baseline.md
│ ├── develop/ # Corpus development
│ │ ├── seeds.md
│ │ ├── expand.md
│ │ ├── multiturn.md
│ │ └── errors.md
│ ├── test/ # Testing & quality
│ │ ├── syntax.md
│ │ ├── semantics.md
│ │ └── behavioral.md
│ ├── validate/ # Validation & verification
│ │ ├── pipeline.md
│ │ ├── coverage.md
│ │ ├── status.md
│ │ └── requirements.md
│ ├── research/ # Research & analysis
│ │ ├── gaps.md
│ │ ├── competitors.md
│ │ └── resources.md
│ ├── implement/ # Implementation execution
│ │ ├── phase.md
│ │ ├── batch.md
│ │ └── review.md
│ └── remediate/ # Gap remediation
│ ├── identify.md
│ ├── plan.md
│ └── execute.md
├── memory/
│ ├── project-context.md
│ ├── phase-status.md
│ ├── coverage-matrix.md
│ ├── assumptions-log.md
│ ├── decisions-log.md
│ └── validation-state.md
scripts/
├── validate_syntax.py
├── validate_semantics.py
├── validate_schema.py
├── analyze_coverage.py
├── generate_seeds.py
├── check_requirements.py
├── estimate_resources.py
└── aggregate_metrics.py
templates/
├── examples/
│ ├── instruction-following.json
│ ├── multi-turn.json
│ ├── code-analysis.json
│ └── error-correction.json
├── documents/
│ ├── phase-report.md
│ ├── coverage-report.md
│ ├── validation-report.md
│ └── gap-analysis.md
└── reports/
├── daily-progress.md
├── phase-completion.md
└── final-delivery.md
references/
├── requirements-traceability.md
├── corpus-categories.md
├── validation-rules.md
├── lock-level-semantics.md
├── cli-command-reference.md
├── mcp-tool-reference.md
└── ebnf-grammar.md
docs/
├── phase-1-foundation.md
├── phase-2-expansion.md
├── phase-3-completion.md
├── phase-4-validation.md
└── workflow-guide.md
- Goal: 500 high-quality seed examples
- Focus: Lock levels, basic syntax, core CLI, primary MCP tools
- Commands:
/scaffold.init,/develop.seeds,/validate.coverage
- Goal: 2,500 examples + 500 multi-turn
- Focus: Variable system, multi-turn workflows, error correction
- Commands:
/develop.expand,/develop.multiturn,/develop.errors
- Goal: 5,000 examples, >90% coverage
- Focus: Gap remediation, edge cases, integration scenarios
- Commands:
/remediate.identify,/remediate.execute,/validate.pipeline
- Goal: Human review, behavioral testing, documentation
- Focus: Quality assurance, cross-validation, final delivery
- Commands:
/implement.review,/validate.requirements,/implement.phase --complete
All commands trace back to requirements in acp-training-corpus-requirements.md:
- Section 2: Corpus Objectives →
/validate.requirements - Section 5: Corpus Structure →
/develop.*commands - Section 9: Quality Gates →
/validate.pipeline - Section 11: Gap Analysis →
/remediate.*commands - Section 12: Implementation Roadmap → Phase commands
The SpecKit maintains persistent state across sessions:
| Memory File | Purpose | Updated By |
|---|---|---|
project-context.md |
Project identity, stakeholders | /scaffold.init |
phase-status.md |
Current phase, progress metrics | All commands |
coverage-matrix.md |
Domain/category coverage tracking | /validate.coverage |
assumptions-log.md |
Tracked assumptions with validation | Manual + commands |
decisions-log.md |
Design decisions with rationale | Manual + commands |
validation-state.md |
Last validation results, issues | /validate.pipeline |
scaffold.init
├── scaffold.configure
│ └── scaffold.baseline
│ ├── develop.seeds
│ │ ├── develop.expand
│ │ │ └── develop.multiturn
│ │ └── develop.errors
│ └── validate.coverage
│ └── remediate.identify
│ └── remediate.execute
└── validate.pipeline (can run anytime)
Every example must pass:
- Syntactic Validation - EBNF grammar compliance
- Semantic Validation - Lock level behavior, inheritance rules
- Behavioral Validation - Workflow correctness, multi-turn consistency
- Coverage Validation - Domain coverage, language distribution
- Initialize: Run
/scaffold.initto set up project structure - Configure: Run
/scaffold.configureto set generation parameters - Baseline: Run
/scaffold.baselineto establish initial metrics - Develop: Use
/develop.*commands to generate examples - Validate: Use
/validate.*commands to verify quality - Remediate: Use
/remediate.*commands to fix gaps
- Requirements: See
acp-training-corpus-requirements.md - Workflow Guide: See
docs/workflow-guide.md - Phase Details: See
docs/phase-*.md