drobins25/craft / skills/validate-chunk
validate-chunk
VerifiedEnforcement layer for chunk and story validation. Invokes the chunk-validator agent (haiku), enforces the verdict, routes failures to refine-chunk or test-fix, captures CLI learnings. The orchestrator invokes this skill — never the agent directly.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.2 KB |
| references/output-templates.md | markdown | 3.7 KB |
| references/quick-fixes.md | markdown | 645 B |
references/quick-fixes.md
View on GitHub# Quick Fix Patterns
Common validation issues and their fixes. Reference these when applying auto-fixes during validation.
---
## Missing Type
```typescript
// Error
const handleSubmit = (e) => { ... }
// Fix
const handleSubmit = (e: React.FormEvent) => { ... }
```
## Unused Import
```typescript
// Just remove the line
- import { unused } from 'package'
```
## Missing Dependency
```typescript
// Add to dependency array
useEffect(() => {
fetchData(id)
}, [id]) // Added 'id'
```
## Missing Return Type
```typescript
// Add explicit return
function getData(): Promise<User[]> {
return fetch('/api/users').then(r => r.json())
}
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |