.claude/skills/generate-prompts/SKILL.md
Scan codebase for actionable issues and generate verified harness prompts. Auto-archive completed items and filter false positives. Use when: user asks to scan codebase, generate new prompts, review existing prompts, clean up completed items, or says "프롬프트 생성", "코드베이스 스캔", "새 프롬프트", "/generate-prompts". Also triggers on "프롬프트 리뷰", "프롬프트 정리".
npx skillsauth add junnv93/equipment_management_system generate-promptsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scan → Verify → Generate harness prompts for example-prompts.md.
Critical rule: Never trust 1st-pass scan results. Always verify with Read/Grep before writing a prompt.
Read .claude/skills/harness/references/example-prompts.md. Note completed (~~strikethrough~~), in-progress, and pending items.
Launch 3 Agents in parallel with prompts from references/scan-prompts.md:
Each agent must report findings with file:line.
For every finding, use Read/Grep to confirm it exists in current code:
"X is missing" → Read the file, confirm it's actually missing
"Decorator missing" → Read the full controller
"Index missing" → Read the schema's index section
Classify each:
Format per finding (confirmed only):
### {title} (Mode {0|1|2})
\`\`\`
{problem — what's wrong, verified locations with file:line}
{action — what to do}
검증: {success criteria}
\`\`\`
Mode: 0 (≤3 files) / 1 (4-15 files) / 2 (15+ or DB change)
Priority: 🔴 CRITICAL (security) → 🟠 HIGH (perf/gaps) → 🟡 MEDIUM (quality) → 🟢 LOW (polish)
Move to <details> archive section:
git log)False positives → separate <details> section with lessons learned.
Write final prompts to .claude/skills/harness/references/example-prompts.md:
Present summary and ask for confirmation:
| Priority | New | Archived | False Positive |
|----------|-----|----------|----------------|
### Items needing your decision
{domain questions}
| File | Purpose |
|------|---------|
| references/scan-prompts.md | Agent prompts for Step 2 |
| .claude/skills/harness/references/example-prompts.md | Prompt storage (SSOT) |
| .claude/skills/harness/SKILL.md | Harness skill (prompt consumer) |
testing
Verifies Zod validation pattern compliance — ZodValidationPipe usage (no class-validator), versionedSchema inclusion in state-change DTOs, controller pipe application, query DTO consistency. Run after adding/modifying DTOs or controller endpoints.
testing
Verifies cross-feature workflow E2E test coverage against critical-workflows.md checklist. Checks WF-01~WF-35 coverage, step completeness, role correctness, side-effect verification, and status transition assertions. Run after adding workflow tests or before PR.
testing
SSOT(Single Source of Truth) 임포트 소스를 검증합니다. 타입/enum/상수가 올바른 패키지에서 임포트되는지 확인. 타입/enum 추가/수정 후 사용.
development
Verifies SQL safety — LIKE wildcard escaping, N+1 query pattern detection, COUNT(DISTINCT) for fan-out JOINs, RBAC INNER JOIN enforcement. Run after adding/modifying search or list API endpoints.