Agent Skillsmtarcure/claude-vibe-squad › layered-analysis-loop

layered-analysis-loop

GitHub

一种深度代码分析技能,通过结构、行为、边界和矛盾四个分层迭代进行系统性审查。每层聚焦特定问题并记录证据驱动的变更,直到模型收敛或达到预算限制,旨在发现深层缺陷而非浅层总结。

.agents/skills/layered-analysis-loop/SKILL.md mtarcure/claude-vibe-squad

Trigger Scenarios

需要对复杂代码或系统进行深度结构化分析 常规阅读无法覆盖边缘情况或潜在矛盾

Install

npx skills add mtarcure/claude-vibe-squad --skill layered-analysis-loop -g -y
More Options

Non-standard path

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/layered-analysis-loop -g -y

Use without installing

npx skills use mtarcure/claude-vibe-squad@layered-analysis-loop

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill layered-analysis-loop -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": "layered-analysis-loop",
    "audience": "specialist",
    "description": "Use when analyzing a target deeply enough to require distinct structural, behavioral, edge-case, and contradiction passes rather than one undirected read—fix a question for each layer, record its evidence-backed delta, and stop only at a no-delta layer or an explicit budget cutoff."
}

Layered Analysis Loop

Analyze in deliberate passes that each answer one question, so depth accumulates on a stable base instead of one undirected read producing a shallow summary.

Steps

  1. Write the question each layer will answer before starting it. A layer without a question becomes a re-read.
  2. Run layer 1 for structure only: what exists, how it is organized, where the entry points are. Resist diagnosing anything yet.
  3. Run layer 2 for behavior: follow the primary paths end to end and record what actually happens, in order.
  4. Run layer 3 for edges: error paths, empty and boundary inputs, concurrency, and the states the primary path assumes but does not enforce.
  5. Run layer 4 for contradiction: actively try to falsify the model built by layers 1-3. Look for the case that breaks it rather than the case that confirms it.
  6. Close each layer with a written delta — what changed in the model — and carry forward only findings with evidence. An unrecorded layer did not happen.
  7. Stop when a full layer produces no delta, and say so. Continuing past convergence spends budget; stopping before it ships an untested model.
  8. Report the layers run, the delta from each, and the layer at which convergence occurred.

Acceptance

  • Each layer has a written question fixed before the layer ran.
  • Structure, behavior, edge, and contradiction layers are separately recorded.
  • Every layer closes with an explicit delta, including "no change".
  • The contradiction layer names at least one specific attempt to falsify the model.
  • The stopping condition is stated as convergence or as an explicit budget cutoff.

Version History

  • d5262e2 Current 2026-09-11 11:25

Same Skill Collection

.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/cross-file-relationship-synthesis/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/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

Metadata

Files
0
Version
d5262e2
Hash
1e26369e
Indexed
2026-09-11 11:25

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-13 05:01
浙ICP备14020137号-1 $Map of visitor$