AgentSkillsCN

resolve-refs

在文档或代码中提取并追踪交叉引用。当任务中包含节点ID、问题链接或文件引用,且这些内容需要系统化跟进时使用。

SKILL.md
--- frontmatter
name: resolve-refs
description: "Extracts and follows cross-references in documents or code. Use when a task contains node IDs, issue links, or file references that need systematic follow-up."

Resolve References

INTERNAL SKILL — This skill is now part of the /weave orchestrator. Use /weave instead for the full graph-first workflow. Direct invocation is deprecated and may be removed in a future release.

Extract cross-references from: $ARGUMENTS

  1. Extract: Run ~/.local/bin/wv refs $ARGUMENTS
  2. Review: Look at the suggested follow-up commands
  3. Follow: Execute relevant commands to gather full context
  4. Summarize: Report what was found at each reference

Reference Types Detected

  • wv-xxxxxxwv show wv-xxxxxx
  • gh-N or #Ngh issue view N
  • See Note Nrg "Note N" docs/
  • ADR-xxx, RFC-xxxrg -l "ADR-xxx" docs/
  • File paths → Read the file

Guardrails

  • Max 10 references per pass
  • No automatic fetching (review commands first)
  • No recursion (invoke again if needed)