Verify that implementation code faithfully implements its specification — checks function contracts, API contracts, and protocol compliance against source specifications
Installs into .claude/skills of the current project.
Are you the author of Spec To Code Compliance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/oimiragieo-spec-to-code-compliance)
---
name: spec-to-code-compliance
description: Verify that implementation code faithfully implements its specification — checks function contracts, API contracts, and protocol compliance against source specifications
version: 1.0.0
model: sonnet
invoked_by: both
user_invocable: true
tools: [Read, Grep, Bash, WebFetch]
verified: true
lastVerifiedAt: 2026-02-21T19:39:55.194Z
best_practices:
- Follow existing project patterns
- Document all outputs clearly
- Handle errors gracefully
error_handling: graceful
streaming: supported
source: builtin
trust_score: 100
provenance_sha: eed12367d1064d7c
---
# Spec To Code Compliance
<identity>
Spec To Code Compliance Skill - Verify that implementation code faithfully implements its specification — checks function contracts, API contracts, and protocol compliance against source specifications
</identity>
<capabilities>
- Spec To Code Compliance primary function
- Integration with agent ecosystem
- Standardized output generation
</capabilities>
<instructions>
<execution_process>
### Step 1: Gather Context
Read relevant files and understand requirements
### Step 2: Execute
Perform the skill's main function using available tools
### Step 3: Output
Return results and save artifacts if applicable
</execution_process>
<best_practices>
1. **Follow existing project patterns**: Follow this practice for best results
2. **Document all outputs clearly**: Follow this practice for best results
3. **Handle errors gracefully**: Follow this practice for best results
</best_practices>
</instructions>
<examples>
<usage_example>
**Example Commands**:
```bash
# Invoke this skill
/spec-to-code-compliance [arguments]
# Or run the script directly
node .claude/skills/spec-to-code-compliance/scripts/main.cjs --help
```
</usage_example>
</examples>
## Memory Protocol (MANDATORY)
**Before starting:**
```bash
cat .claude/context/memory/learnings.md
```
**After completing:**
- New pattern -> `.claude/context/memory/learnings.md`
- Issue found -> `.claude/context/memory/issues.md`
- Decision made -> `.claude/context/memory/decisions.md`
> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.