Claude-skill-registry dialogue-resolve-reference
Resolves framework reference IDs to their content. Use when you need to look up a document, decision, observation, task, or ADR by its ID. Triggers on "resolve reference", "look up THY-001", "find DEC-...", "get content of", "what is ADR-001".
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/dialogue-resolve-reference" ~/.claude/skills/majiayu000-claude-skill-registry-dialogue-resolve-reference && rm -rf "$T"
skills/data/dialogue-resolve-reference/SKILL.mdDialogue: Reference Resolver
Resolves framework reference IDs to their content. This skill implements the retrieval operation for the framework's Transactive Memory System.
When to Use
Use this skill when you need to:
- Look up a project document by its ID (THY-001, REF-001, STR-001, ADR-001)
- Find a decision or observation log entry
- Retrieve a task's details
- Look up a process definition, instance, or execution log
Do NOT use for:
- External URLs → use WebFetch
- File paths → use Read tool directly
- Creating new references → use appropriate logging/creation skills
- Framework source references (F-N, C-N, etc.) → see Framework Source References below
Configuration
Artifact locations are configured in the script. Projects can customise via
.dialogue/config.yaml (config parsing TODO).
Default locations:
- THY/REF/STR documents:
(framework dev) orimplementation/
(typical deployments)docs/ - ADR documents:
decisions/ - Decisions:
(per-file).dialogue/logs/decisions/ - Observations:
(per-file).dialogue/logs/observations/ - Tasks:
(per-file).dialogue/tasks/ - Process definitions:
claude-plugin-evo/processes/ - Process instances:
.dialogue/processes/ - Execution logs:
.dialogue/logs/executions/
How to Resolve a Reference
Execute the following bash command:
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh <id> [output_format]
Required Parameters
| Parameter | Description |
|---|---|
| The reference ID to resolve (e.g., , , ) |
Optional Parameters
| Parameter | Values | Description |
|---|---|---|
| , , | What to return (default: ) |
Output Formats
| Format | Returns |
|---|---|
| Complete content with metadata (default) |
| Just metadata (title, type, location) without content |
| Just the resolved file path |
Supported Reference Types
Project Documents (Resolvable)
| Pattern | Type | Location | Example |
|---|---|---|---|
| Theory | | |
| Reference | | |
| Strategy | | |
| Architecture Decision Record | | |
Log Entries (Resolvable)
| Pattern | Type | Location | Example |
|---|---|---|---|
| Decision | | |
| Observation | | |
Tasks (Resolvable)
| Pattern | Type | Location | Example |
|---|---|---|---|
| Self-Hosting | | |
| Conceptual Debt | | |
| Framework | | |
| Documentation | | |
| Validation | | |
Process Execution (Resolvable)
| Pattern | Type | Location | Example |
|---|---|---|---|
| Process Definition | | |
| Process Instance | | |
| Execution Log | | |
Actors (Metadata Only)
| Pattern | Type | Example |
|---|---|---|
| Human Actor | |
| AI Actor | |
Framework Source References (NOT Resolvable)
These reference framework source documentation, not available in deployed projects:
| Pattern | Type | Returns |
|---|---|---|
| Foundation | |
| Concept | |
| Integration | |
| Guidance | |
| Example | |
See FW-005 (Deployment Artifact Definition) for the deployment model that separates framework source from runtime artifacts.
Examples
Resolve a Theory Document
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh THY-001
Get Just the Path to an ADR
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh ADR-001 path
Look Up a Decision Log Entry
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh DEC-20260114-091633
Get Task Metadata
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh SH-002 metadata
Look Up a Process Definition
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh PROC-3.1
Find a Process Instance
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh PINST-20260118-143052
Get Execution Log Path
${CLAUDE_PLUGIN_ROOT}/skills/dialogue-resolve-reference/scripts/resolve-reference.sh EXEC-20260118-143055 path
Output
The script returns JSON with the resolution result:
Success
{ "status": "RESOLVED", "id": "THY-001", "type": "DOCUMENT", "location": "implementation/theory_framework.md", "content": "..." }
Not Found
{ "status": "NOT_FOUND", "id": "THY-999", "error": "No document matching pattern found", "searched": ["implementation/theory_*.md"] }
Not Supported (Framework Source)
{ "status": "NOT_SUPPORTED", "id": "C-1", "type": "CONCEPT", "error": "Framework source reference - not available in deployed framework", "note": "See FW-005 for deployment model." }
Invalid ID
{ "status": "INVALID_ID", "id": "UNKNOWN-123", "error": "ID does not match any known pattern" }
Error Handling
| Status | Meaning |
|---|---|
| Content found and returned |
| Valid pattern but no content found |
| Framework source reference (F-N, C-N, etc.) |
| ID doesn't match any known pattern |
| Multiple matches found |
| URL reference (use WebFetch instead) |
Framework Grounding
The resolver implements TMS Retrieval for runtime artifacts:
- Directory: Pattern matching identifies what type of reference
- Retrieval: Fetch content from project locations
- Deployment-aware: Distinguishes runtime artifacts from framework source
This enables the Context Graph (SH-003) to resolve edges to actual content within a deployed project.