Skip to content

drobins25/craft / skills/validate-chunk

validate-chunk

Verified

Enforcement 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.

FileKindSize
SKILL.mdskill md16.2 KB
references/output-templates.mdmarkdown3.7 KB
references/quick-fixes.mdmarkdown645 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())
}
```
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall