From claude-intent
Use when the user wants to find the intent behind code, search past decisions, or trace the "why" of a file/function/keyword/commit. 사용자가 한국어로 "이 코드 왜 이래?", "왜 이렇게 됐지?", "intent why", "이전 결정 찾아", "이 파일 의도", "src/X 왜 도입?", "이거 왜 만든거야", "결정 검색", "사이클 찾아"라고 하거나, 영어로 "why this code?", "intent why", "why was X introduced?", "find decision about Y"라고 할 때. Searches docs/intent/ INDEX and frontmatter to find relevant cycles, follows supersedes/refines chains, displays results without modifying anything. Read-only.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-intent:intent-whyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
코드·키워드·커밋·ID로 과거 결정을 역추적합니다. **읽기 전용 — 절대 저장·수정하지 않습니다.**
코드·키워드·커밋·ID로 과거 결정을 역추적합니다. 읽기 전용 — 절대 저장·수정하지 않습니다.
비유: git blame의 의도 레이어 버전. 누가 썼는지가 아니라 왜 그렇게 결정했는지.
사용자 입력을 보고 4가지 검색 방식 중 하나로 분류:
src/retry.ts, auth/middleware.go 같은 경로 형태files 필드 매칭title, 본문 ## Intent, ## Alternatives grepcommits 필드 매칭#0042, #42, 0042docs/intent/0042-*/decision.md 직접 로드모호하면 사용자에게 확인. 추측해서 진행하지 않음.
ls docs/intent/ 2>/dev/null
docs/intent/ 없음 또는 비어있음 → "기록된 사이클이 없음. intent-record로 첫 사이클부터 만드세요." 알림 후 종료. 추측·환각 금지.grep -l "^ - <file-path>$" docs/intent/*/decision.md
# 또는 frontmatter files 블록 안에 매칭
grep -B1 -A20 "^files:" docs/intent/*/decision.md | grep -l "<file-path>"
# 한국어·영어 모두. 대소문자 무시.
grep -rli "<keyword>" docs/intent/*/decision.md
# 7자리 prefix 매칭
grep -l "<short-sha>" docs/intent/*/decision.md
ls -d docs/intent/<NNNN>-*/ # 정확히 1개여야 정상
docs/intent/INDEX.md를 읽어 시간순·관계 정보 추가 확보:
매칭된 각 결정 frontmatter에서:
supersedes: [<id>, ...] → 그 옛 결정들도 함께 표시 (역사적 맥락. 한 단계만 추적, 깊이 제한)superseded_by: <id> → 이 결정이 이미 뒤집혔으면 신결정 안내 ("⚠️ #0042가 이걸 뒤집음")refines: [<id>, ...] → 정교화 관계 한 줄로 표시체인 깊이는 1단계만. 2단계 이상은 사용자가 명시적으로 요청 시.
"<query>" 매칭되는 사이클 없음
확인:
- docs/intent/INDEX.md (현재 N개 사이클)
- 다른 키워드/파일로 재검색
추측해서 빈 결과를 채우지 말 것.
<query> 관련 사이클 N개
#0042 (2026-04-29) 재시도 백오프 도입
Intent: 재시도가 외부 API에 과부하
Chosen: exponential-backoff
Trade-offs: p99 latency 증가 (알람 임계 조정 필요)
Assumptions:
- 외부 API rate limit ~100rps
- tail latency p99 < 500ms
Supersedes: #0019
Files: src/retry.ts, src/retry.test.ts
→ docs/intent/0042-add-retry-backoff/
#0019 (2026-03-15) 고정 30초 재시도 ⚠️ #0042가 뒤집음
Intent: 단순한 재시도 로직 필요
Chosen: fixed-30s-x5
→ docs/intent/0019-fixed-retry/
상세 내용(전체 본문, transcript.md)이 필요하면 사용자가 추가 요청 (#0042 본문, #0042 transcript).
매칭이 있으면 마지막에 한 줄 안내:
관련 작업하려면:
- 새 결정 추가: "이번 사이클 정리해줘" → intent-record
- 이 결정 뒤집기: "#0042 뒤집는 작업 시작할게" → intent-record (supersedes)
매칭 0건이면 안내 생략.
이 스킬은 다음을 하지 않습니다:
intent-record 영역)intent-verify)상세 schema는 ../../docs/SCHEMA.md.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub jeongph/claude-plugins --plugin claude-intent