원클릭으로
discover
Intent-driven discovery — recall existing knowledge or create new investigation tickets
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Intent-driven discovery — recall existing knowledge or create new investigation tickets
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
This skill should be used when the user asks to "implement X", "add X feature", "create X", "refactor X", "fix X bug", "develop this story", "work on story", or needs guidance on development work - both ad-hoc tasks and story-based workflows with style guide compliance.
Expand a ticket by linking or creating children for subsystems found in findings
Initialize project discovery — scan repo, gather intent, create initial tickets
Loop through open discovery tickets until queue is empty
Scan repository for structure and code ownership signals
Extract learnings from Claude Code session history.
| name | discover |
| description | Intent-driven discovery — recall existing knowledge or create new investigation tickets |
| user-invocable | true |
| disable-model-invocation | true |
| allowed-tools | ["Bash","Read","Write","AskUserQuestion","Skill"] |
| argument-hint | <intent> |
Search for existing knowledge before creating new tickets. Uses recall-first: done → active → open → overlap → new.
.discovery/ is a knowledge graph, not a docs generator.
done status + populated findings = documentationdoc-reference tickets — summarize coverage, spawn children for gaps.discovery/diagrams/<ticket-id>-<name>.svg for local reviewDISCOVER="${CLAUDE_PLUGIN_ROOT}/scripts/discover.sh"
${CLAUDE_PLUGIN_ROOT}/resources/cli-reference.md — ticket and scan commands${CLAUDE_PLUGIN_ROOT}/resources/ticket-template.md — structure for new tickets${CLAUDE_PLUGIN_ROOT}/resources/investigation-guide.md — how to investigate and record findingsRead CLI_REFERENCE for available ticket commands (new, get, update, list, search, children, etc.).
test -d .discovery && echo "exists" || echo "missing"
If missing, tell user to run /discover-init first and stop.
First list all tickets to see the full graph:
bash "$DISCOVER" ticket list
Then recall for relevance scoring:
bash "$DISCOVER" ticket recall "<user intent>"
Recall uses stemming — names like "zfs-of" and "NVMe-oF" tokenize differently and won't match. Review both outputs.
Output: first line is match type (resolved, active, open, overlap, none), followed by matching tickets if any.
resolved — Found a done ticket covering this area:
bash "$DISCOVER" ticket update <id> --status active --log "Reopened"--parent <id>active — Found an in-progress investigation:
open — Found a queued ticket:
overlap — No direct match but scope/tag overlap:
none — No existing knowledge:
bash "$DISCOVER" ticket new --title "..." --scope "..." --intention "..." --tag discoveryOnce a ticket is selected:
open, activate: bash "$DISCOVER" ticket update <id> --status active --log "Starting investigation"## Findings section)Run /discover-expand <id> to extract candidates from findings and link or create children.
When investigation seems complete, AskUserQuestion: "Investigation complete. How to proceed?"
bash "$DISCOVER" ticket update <id> --status done --log "Investigation complete"When to mark done vs keep open:
--log "..."