원클릭으로
spec-fragment-validate
Validate SEA spec fragments for CALM compliance, required sections, schema correctness, and cross-reference integrity.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Validate SEA spec fragments for CALM compliance, required sections, schema correctness, and cross-reference integrity.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends AI agent capabilities with specialized knowledge, workflows, or tool integrations.
Use when creating, scaffolding, or updating the repository AI harness in VS Code. Trigger on requests to bootstrap or refresh instructions, prompts, agents, hooks, skills, or memory layers while preserving useful existing structure and avoiding monolithic always-on context.
Canonical SEA-Forge release workflow for release preparation, validation, branch promotion, tagging, rollback, and release-gate evidence. Use when preparing a release, promoting dev to stage or stage to main, cutting a version tag, validating release readiness, handling hotfix forward-merges, planning rollback, or executing a full end-to-end release. Prefer existing just recipes and evidence-producing gates over ad hoc deployment steps.
Use when SEA work touches specs, generators, manifests, semantic fixtures, regeneration, `src/gen`, or behavior projected from ADR/PRD/SDS/SEA authority.
Use when a SEA context has valid specs and generated contracts but lacks handwritten logic, runtime wiring, persistence, integration, tests, or executable proof.
Create concise, copy-paste-ready bridge prompts between a repo-aware coding agent and an external strategic reasoning agent such as S1 ArchDevAgent. Use when the user wants to offload architecture, research, large refactor planning, migration design, plan critique, implementation-spec drafting, test-strategy design, whole-repo analysis, or diff review to an external agent while keeping repo inspection and implementation in the coding agent. Also use when the user says "use S1", "ask S1", "make a prompt for S1", "bridge this to my external agent", "prepare a context packet", or "validate this S1 response".
| name | spec-fragment-validate |
| description | Validate SEA spec fragments for CALM compliance, required sections, schema correctness, and cross-reference integrity. |
Use this skill to validate SEA specification fragments before committing changes. Ensures all specs meet quality and compliance standards.
Invoke when:
docs/specs/Claude invokes automatically when editing spec files, or user can invoke with:
Every spec must have valid frontmatter:
---
title: Spec Title
version: 1.0.0
status: draft|proposed|accepted|deprecated|superseded
created: YYYY-MM-DD
updated: YYYY-MM-DD
authors:
- name: Author Name
role: Role
---
Required fields:
title: Brief, descriptive titleversion: Semantic versionstatus: One of the allowed statusescreated: Creation dateupdated: Last modification dateauthors: At least one author with nameEvery spec must contain:
For CALM-related specs:
@finos/calm-cli formatFor YAML/JSON specs:
[links](path/to/file.md) resolve to existing files[](spec:reference) style references are valid## Spec Validation: {spec-file}
### Frontmatter ✅/❌
{status or list of missing/invalid fields}
### Required Sections ✅/❌
{status or list of missing sections}
### CALM Compliance ✅/❌
{status or list of CALM issues}
### Schema ✅/❌
{status or list of syntax errors}
### Cross-References ✅/❌
{status or list of broken links}
### Overall Status: PASS/FAIL
### Issues Found
{detailed list of issues with file:line references}
### Recommendations
{specific fixes for each issue}
Error: No YAML frontmatter found
Fix: Add --- delimited frontmatter block at start of file
Error: Status "draft" is not a valid status
Valid statuses: draft, proposed, accepted, deprecated, superseded
Error: Link target does not exist
File: docs/specs/unknown-spec.md
Reference: [Some Spec](docs/specs/unknown-spec.md)
Line: 42
Error: Required section 'Context' not found
Fix: Add ## Context section with problem description
Can be run via command:
# Validate single spec
npx @sea/spec-validator docs/specs/my-spec.md
# Validate all specs
npx @sea/spec-validator docs/specs/**/*.md
# Validate and auto-fix where possible
npx @sea/spec-validator --fix docs/specs/**/*.md
This skill integrates with:
governance-validation skill - for CALM-specific validationspec-guardian subagent - for pre-commit enforcement