Agent Skillsmtarcure/claude-vibe-squad › cross-file-relationship-synthesis

cross-file-relationship-synthesis

GitHub

将独立读取的文件转化为带类型、方向和行锚点的关系映射图,识别调用、导入等边,定位关键切割点、影响范围及孤立节点,确保结论基于可追溯的边而非印象。

.agents/skills/cross-file-relationship-synthesis/SKILL.md mtarcure/claude-vibe-squad

触发场景

需要分析跨文件依赖关系 评估代码变更的影响范围 梳理复杂系统的控制或数据流

安装

npx skills add mtarcure/claude-vibe-squad --skill cross-file-relationship-synthesis -g -y
更多选项

非标准路径

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/cross-file-relationship-synthesis -g -y

不安装直接使用

npx skills use mtarcure/claude-vibe-squad@cross-file-relationship-synthesis

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill cross-file-relationship-synthesis -a claude-code -g -y

安装 repo 全部 skill

npx skills add mtarcure/claude-vibe-squad --all -g -y

预览 repo 内 skill

npx skills add mtarcure/claude-vibe-squad --list

SKILL.md

Frontmatter
{
    "name": "cross-file-relationship-synthesis",
    "audience": "specialist",
    "description": "Use when several files have been read independently but a conclusion depends on how control or data crosses them: build a typed, directed, line-anchored map of calls, imports, producer-consumer and config edges; identify cut points, blast radius, orphans, and traversal-backed conclusions. It maps arbitrary repository relationships; it does not settle privacy compliance or prescribe graph surgery."
}

Cross-File Relationship Synthesis

Turn a set of independently-read files into an explicit relationship map, so conclusions rest on traced edges rather than on the impression that the files are related.

Steps

  1. List the files in scope and give each a one-line role. A file whose role you cannot state in one line has not been understood well enough to relate to others.
  2. Name the edge kinds you will trace before tracing them — calls, imports, writes-then-reads, schema producer/consumer, config-to-consumer, generator-to-generated. Untyped "related to" edges hide the actual dependency.
  3. Trace each edge in the direction data or control actually flows, and record the file and line at both ends. An edge without two anchors is a hypothesis.
  4. Distinguish edges you observed from edges you inferred from naming. Matching names are a lead to verify, never an edge.
  5. Look specifically for the edges that contradict the obvious structure: the secondary writer, the path that bypasses the abstraction, the consumer nobody registered. These decide correctness more often than the primary path does.
  6. Identify the cut points — files whose change propagates furthest — and state the blast radius of each as a concrete list of affected files.
  7. Check the map for orphans and dead ends, and resolve each: either an edge is missing from the map, or the file genuinely is unreachable. Never leave the ambiguity unexplained.
  8. State the conclusion as a traversal over the map, so a reader can follow the same path and reach the same result.

Acceptance

  • Every file in scope has a stated one-line role.
  • Every edge is typed, directed, and anchored at both ends with file and line.
  • Observed edges and name-inferred edges are visibly separated.
  • Cut points are named with an explicit blast-radius file list.
  • Orphans and dead ends are each resolved as missing-edge or genuinely-unreachable.
  • The final claim is expressed as a walk over recorded edges, not as a summary impression.

版本历史

  • d5262e2 当前 2026-09-11 11:15

同 Skill 集合

.agents/skills/accessible-media-authoring/SKILL.md
.agents/skills/agent-prompt-engineering/SKILL.md
.agents/skills/agentic-safety-audit/SKILL.md
.agents/skills/audio-event-map-authoring/SKILL.md
.agents/skills/auto-scaffold/SKILL.md
.agents/skills/claim-verification/SKILL.md
.agents/skills/code-reachability-audit/SKILL.md
.agents/skills/code-review-loop/SKILL.md
.agents/skills/color-theory/SKILL.md
.agents/skills/conversation-design/SKILL.md
.agents/skills/copy-refinement/SKILL.md
.agents/skills/dependency-cycle-audit/SKILL.md
.agents/skills/dependency-health-triage/SKILL.md
.agents/skills/detection-as-code/SKILL.md
.agents/skills/diff-aware-semgrep-scan/SKILL.md
.agents/skills/differential-review/SKILL.md
.agents/skills/dimensional-analysis-check/SKILL.md
.agents/skills/dual-level-retrieval/SKILL.md
.agents/skills/figma-implement-design/SKILL.md
.agents/skills/forensic-timeline-authoring/SKILL.md
.agents/skills/game-design-fundamentals/SKILL.md
.agents/skills/game-mechanics-balancing/SKILL.md
.agents/skills/head-tail/SKILL.md
.agents/skills/incident-response-runbook/SKILL.md
.agents/skills/interactive-audio-design/SKILL.md
.agents/skills/interface-ambiguity-check/SKILL.md
.agents/skills/keyword-clustering/SKILL.md
.agents/skills/knowledge-base-integration/SKILL.md
.agents/skills/layered-analysis-loop/SKILL.md
.agents/skills/level-design-patterns/SKILL.md
.agents/skills/locale-adaptation/SKILL.md
.agents/skills/narrative-structure/SKILL.md
.agents/skills/platform-compliance/SKILL.md
.agents/skills/player-engagement-psychology/SKILL.md
.agents/skills/requirements-elicitation/SKILL.md
.agents/skills/rule6-rights-gate/SKILL.md
.agents/skills/rule8-truth-gate/SKILL.md
.agents/skills/sandbox-provision-discipline/SKILL.md
.agents/skills/scope-decomposition/SKILL.md
.agents/skills/scope-estimation/SKILL.md
.agents/skills/security-ownership-map/SKILL.md
.agents/skills/security-threat-model/SKILL.md
.agents/skills/semgrep-rule-author/SKILL.md
.agents/skills/skill-description-trigger-authoring/SKILL.md
.agents/skills/sound-design-principles/SKILL.md
.agents/skills/structured-data-authoring/SKILL.md
.agents/skills/supply-chain-audit/SKILL.md
.agents/skills/take-over-resume/SKILL.md
.agents/skills/technical-seo-audit/SKILL.md

元信息

文件数
0
版本
d5262e2
Hash
6432a3b9
收录时间
2026-09-11 11:15

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-12 15:31
浙ICP备14020137号-1 $访客地图$