スキル一覧に戻る
pidster

dialogue-resolve-reference

by pidster

3🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: dialogue-resolve-reference description: 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". allowed-tools: Bash

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.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です