Skip to content
dialogue-resolve-reference logo

Dialogue: Reference Resolver

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".

SKILL.md

Full skill instructions

Dialogue: 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: implementation/ (framework dev) or docs/ (typical deployments)
  • ADR documents: decisions/
  • Decisions: .dialogue/​logs/​decisions/ (per-file)
  • Observations: .dialogue/​logs/​observations/ (per-file)
  • Tasks: .dialogue/​tasks/ (per-file)
  • 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

ParameterDescription
idThe reference ID to resolve (e.g., THY-001, DEC-20260114-091633, SH-002)

Optional Parameters

ParameterValuesDescription
output_formatfull, metadata, pathWhat to return (default: full)

Output Formats

FormatReturns
fullComplete content with metadata (default)
metadataJust metadata (title, type, location) without content
pathJust the resolved file path

Supported Reference Types

Project Documents (Resolvable)

PatternTypeLocationExample
THY-NNNTheoryimplementation/​theory_*.mdTHY-001
REF-NNNReferenceimplementation/​ref_*.mdREF-001
STR-NNNStrategyimplementation/​str_*.mdSTR-001
ADR-NNNArchitecture Decision Recorddecisions/​ADR-NNN-*.mdADR-001

Log Entries (Resolvable)

PatternTypeLocationExample
DEC-YYYYMMDD-HHMMSSDecision.dialogue/​logs/​decisions/​{id}.yamlDEC-20260114-091633
OBS-YYYYMMDD-HHMMSSObservation.dialogue/​logs/​observations/​{id}.yamlOBS-20260114-094825

Tasks (Resolvable)

PatternTypeLocationExample
SH-NNNSelf-Hosting.dialogue/​tasks/​{id}.yamlSH-002
CD-NNNConceptual Debt.dialogue/​tasks/​{id}.yamlCD-001
FW-NNNFramework.dialogue/​tasks/​{id}.yamlFW-003
DOC-NNNDocumentation.dialogue/​tasks/​{id}.yamlDOC-001
VAL-NNNValidation.dialogue/​tasks/​{id}.yamlVAL-001

Process Execution (Resolvable)

PatternTypeLocationExample
PROC-P.SProcess Definitionclaude-plugin-evo/​processes/​process-*.yamlPROC-3.1
PINST-YYYYMMDD-HHMMSSProcess Instance.dialogue/​processes/​{id}.yamlPINST-20260118-143052
EXEC-YYYYMMDD-HHMMSSExecution Log.dialogue/​logs/​executions/​{id}.yamlEXEC-20260118-143055

Actors (Metadata Only)

PatternTypeExample
human:<id>Human Actorhuman:pidster
ai:<id>AI Actorai:claude

Framework Source References (NOT Resolvable)

These reference framework source documentation, not available in deployed projects:

PatternTypeReturns
F-NFoundationNOT_SUPPORTED
C-NConceptNOT_SUPPORTED
I-NIntegrationNOT_SUPPORTED
G-NGuidanceNOT_SUPPORTED
E-NExampleNOT_SUPPORTED

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

StatusMeaning
RESOLVEDContent found and returned
NOT_FOUNDValid pattern but no content found
NOT_SUPPORTEDFramework source reference (F-N, C-N, etc.)
INVALID_IDID doesn't match any known pattern
AMBIGUOUSMultiple matches found
EXTERNALURL 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.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View