# Spec Refiner

> Iterate on specs for better code generation. Use when Claude output needs refinement.

- Skill: `majiayu000/spec-refiner-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/spec-refiner-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/spec-refiner-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/spec-refiner-2

---

# SpecRefiner Instructions
Input: Initial spec.md, error/feedback.
Output: Updated spec.md.
Steps:
1. Read current spec.
2. Apply changes (e.g., add error handling).
3. Run script: python {baseDir}/scripts/refine_spec.py <spec_path> <feedback>
