[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71NFQ4RV67VARCZQ0G8T6QH":3,"skill-same:01M71NFQ4RV67VARCZQ0G8T6QH":113},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M71NFQ4RV67VARCZQ0G8T6QH","ln-644-dependency-topology-auditor",null,"Builds dependency topology, detects cycles, validates import rules, and calculates coupling metrics. Use when auditing architecture topology.","vitalikpestov\u002FSkills-Catalog","vitalikpestov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13882997?v=4","01M71N4QG0CWRXX4R24JQZXDDQ","Vitalik Pestov","01M71N4QGMSYRW607DDSE0CQMM",2,"MIT","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ln 644 dependency topology auditor","auditor","ln","topology","dependency","hex","when","coupling","paths","import","line","project","MCP","read","analyze","Bash","graph","search","metrics","architecture","2026-11-10 10:56:23",false,"---\nname: ln-644-dependency-topology-auditor\ndescription: \"Builds dependency topology, detects cycles, validates import rules, and calculates coupling metrics. Use when auditing architecture topology.\"\nallowed-tools: Read, Grep, Glob, Bash, mcp__hex-graph__index_project, mcp__hex-graph__analyze_architecture, mcp__hex-graph__trace_paths, mcp__hex-line__read_file, mcp__hex-line__grep_search, mcp__hex-line__outline\nlicense: MIT\n---\n\n> **Paths:** File paths (`references\u002F`, `..\u002Fln-*`) are relative to this skill directory.\n\n**Type:** L3 Worker\n**Category:** 6XX Audit\n\n# Dependency Topology Auditor\n\nL3 Worker that builds and analyzes the module dependency graph to enforce architectural boundaries.\n\n## Purpose & Scope\n\n- Build module dependency topology from import statements (Python, TS\u002FJS, C#, Java)\n- Detect circular dependencies: pairwise (HIGH) + transitive via DFS (CRITICAL)\n- Validate boundary rules: forbidden, allowed, required (per dependency-cruiser pattern)\n- Calculate Robert C. Martin metrics (Ca, Ce, Instability) + Lakos aggregate (CCD, NCCD)\n- Validate Stable Dependencies Principle (SDP)\n- Support baseline\u002Ffreeze for incremental legacy adoption (per ArchUnit FreezingArchRule)\n- **Adaptive:** 3-tier architecture detection -- custom rules > docs > auto-detect\n- Emit `BREAK_CYCLE`, `ENFORCE_RULE`, or `REDUCE_COUPLING`\n\n**Out of Scope:**\n- I\u002FO isolation violations\n- API contract violations\n- Code duplication\n\n## Input\n\n```\n- architecture_path: string    # Path to docs\u002Farchitecture.md\n- codebase_root: string        # Root directory to scan\n- output_dir: string           # e.g., \".hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\"\n\n# Domain-aware (optional)\n- domain_mode: \"global\" | \"domain-aware\"   # Default: \"global\"\n- current_domain: string                   # e.g., \"users\", \"billing\" (only if domain-aware)\n- scan_path: string                        # e.g., \"src\u002Fusers\u002F\" (only if domain-aware)\n\n# Baseline (optional)\n- update_baseline: boolean                 # If true, save current state as baseline\n```\n\n**When domain_mode=\"domain-aware\":** Use `scan_path` instead of `codebase_root` for all Grep\u002FGlob operations. Tag all findings with `domain` field.\n\n## Workflow\n\nDetection policy: use two-layer detection (candidate scan, then context verification); load `references\u002Ftwo_layer_detection.md` only when the verification method is ambiguous.\nTool policy: follow host AGENTS.md MCP preferences; load `references\u002Fmcp_tool_preferences.md` and `references\u002Fmcp_integration_patterns.md` only when host policy is absent or MCP behavior is unclear.\n\nUse `hex-graph` first when dependency topology, cycles, or architecture metrics materially improve the audit. Use `hex-line` first for local code and config reads when available. If MCP is unavailable, unsupported, or not indexed, continue with built-in `Read\u002FGrep\u002FGlob\u002FBash` and state the fallback in the report.\n\n### Phase 1: Discover Architecture (Adaptive)\n\n**MANDATORY READ:** Load `references\u002Fdependency_rules.md` -- use 3-Tier Priority Chain, Architecture Presets, Auto-Detection Heuristics.\n\nArchitecture detection uses **3-tier priority** -- explicit config wins over docs, docs win over auto-detection:\n\n```\n# Priority 1: Explicit project config\nIF docs\u002Fproject\u002Fdependency_rules.yaml exists:\n  Load custom rules (modules, forbidden, allowed, required)\n  SKIP preset detection\n\n# Priority 2: Architecture documentation\nELIF docs\u002Farchitecture.md exists:\n  Read Section 4.2 (modules, layers, architecture_type)\n  Read Section 6.4 (boundary rules, if defined)\n  Map documented layers to presets from dependency_rules.md\n  Apply preset rules, override with explicit rules from Section 6.4\n\n# Priority 3: Auto-detection from directory structure\nELSE:\n  scan_root = scan_path IF domain_mode == \"domain-aware\" ELSE codebase_root\n  Run structure heuristics:\n\n  signals = {}\n  IF Glob(\"**\u002Fdomain\u002F**\") AND Glob(\"**\u002Finfrastructure\u002F**\"):\n    signals[\"clean\"] = HIGH\n  IF Glob(\"**\u002Fcontrollers\u002F**\") AND Glob(\"**\u002Fservices\u002F**\") AND Glob(\"**\u002Frepositories\u002F**\"):\n    signals[\"layered\"] = HIGH\n  IF Glob(\"**\u002Ffeatures\u002F*\u002F\") with internal structure:\n    signals[\"vertical\"] = HIGH\n  IF Glob(\"**\u002Fadapters\u002F**\") AND Glob(\"**\u002Fports\u002F**\"):\n    signals[\"hexagonal\"] = HIGH\n  IF Glob(\"**\u002Fviews\u002F**\") AND Glob(\"**\u002Fmodels\u002F**\"):\n    signals[\"mvc\"] = HIGH\n\n  IF len(signals) == 0:\n    architecture_mode = \"custom\"\n    confidence = \"LOW\"\n    # Only check cycles + metrics, no boundary presets\n  ELIF len(signals) == 1:\n    architecture_mode = signals.keys()[0]\n    confidence = signals.values()[0]\n    Apply matching preset from dependency_rules.md\n  ELSE:\n    architecture_mode = \"hybrid\"\n    confidence = \"MEDIUM\"\n    # Identify zones, apply different presets per zone (see dependency_rules.md Hybrid section)\n    FOR EACH detected_style IN signals:\n      zone_path = identify_zone(detected_style)\n      zone_preset = load_preset(detected_style)\n      zones.append({path: zone_path, preset: zone_preset})\n    Add cross-zone rules: inner zones accessible, outer zones forbidden to depend on inner\n```\n\n### Phase 2: Build Dependency Graph\n\n**MANDATORY READ:** Load `references\u002Fimport_patterns.md` -- use Language Detection, Import Grep Patterns, Module Resolution Algorithm, Exclusion Lists.\n\n```\nscan_root = scan_path IF domain_mode == \"domain-aware\" ELSE codebase_root\n\n# Step 1: Detect primary language\ntech_stack = Read(docs\u002Fproject\u002Ftech_stack.md) IF exists\n  ELSE detect from file extensions: Glob(\"**\u002F*.py\", \"**\u002F*.ts\", \"**\u002F*.cs\", \"**\u002F*.java\", root=scan_root)\n\n# Step 2: Extract imports per language\nFOR EACH source_file IN Glob(language_glob_pattern, root=scan_root):\n  imports = []\n\n  # Python\n  IF language == \"python\":\n    from_imports = Grep(\"^from\\s+([\\w.]+)\\s+import\", source_file)\n    plain_imports = Grep(\"^import\\s+([\\w.]+)\", source_file)\n    imports = from_imports + plain_imports\n\n  # TypeScript \u002F JavaScript\n  ELIF language == \"typescript\" OR language == \"javascript\":\n    es6_imports = Grep(\"import\\s+.*\\s+from\\s+['\\\"]([^'\\\"]+)['\\\"]\", source_file)\n    require_imports = Grep(\"require\\(['\\\"]([^'\\\"]+)['\\\"]\\)\", source_file)\n    imports = es6_imports + require_imports\n\n  # C#\n  ELIF language == \"csharp\":\n    using_imports = Grep(\"^using\\s+([\\w.]+);\", source_file)\n    imports = using_imports\n\n  # Java\n  ELIF language == \"java\":\n    java_imports = Grep(\"^import\\s+([\\w.]+);\", source_file)\n    imports = java_imports\n\n  # Step 3: Filter internal only (per import_patterns.md Exclusion Lists)\n  internal_imports = filter_internal(imports, scan_root)\n\n  # Step 4: Resolve to modules\n  FOR EACH imp IN internal_imports:\n    source_module = resolve_module(source_file, scan_root)\n    target_module = resolve_module(imp, scan_root)\n    IF source_module != target_module:\n      graph[source_module].add(target_module)\n```\n\n### Phase 3: Detect Cycles (ADP)\n\n**hex-graph acceleration:** For projects with `.hex-skills\u002Fcodegraph\u002Findex.db`, use `analyze_architecture(verbosity=\"full\")` and inspect returned `cycles` for instant cycle detection. These cycle and coupling metrics are workspace-module level, so single-package repos may collapse to one module. Fall back to grep-based DFS or symbol\u002Ffile-level tracing when graph output is too coarse for intra-package analysis.\n\nPer Robert C. Martin (Clean Architecture Ch14): \"Allow no cycles in the component dependency graph.\"\n\n```\n# Pairwise cycles (A \u003C-> B)\nFOR EACH (A, B) WHERE B IN graph[A] AND A IN graph[B]:\n  cycles.append({\n    type: \"pairwise\",\n    path: [A, B, A],\n    severity: \"HIGH\",\n    fix: suggest_cycle_fix(A, B)\n  })\n  # Layer 2: Test-only dependencies (devDependencies, test imports) -> skip cycle\n  # Plugin\u002Fextension architecture with documented bidirectional design -> downgrade to LOW\n\n# Transitive cycles via DFS (A -> B -> C -> A)\nvisited = {}\nrec_stack = {}\n\nFUNCTION dfs(node, path):\n  visited[node] = true\n  rec_stack[node] = true\n\n  FOR EACH neighbor IN graph[node]:\n    IF NOT visited[neighbor]:\n      dfs(neighbor, path + [node])\n    ELIF rec_stack[neighbor]:\n      cycle_path = extract_cycle(path + [node], neighbor)\n      IF len(cycle_path) > 2:  # Skip pairwise (already detected)\n        cycles.append({\n          type: \"transitive\",\n          path: cycle_path,\n          severity: \"CRITICAL\",\n          fix: suggest_cycle_fix_transitive(cycle_path)\n        })\n\n  rec_stack[node] = false\n\nFOR EACH module IN graph:\n  IF NOT visited[module]:\n    dfs(module, [])\n\n# Folder-level cycles (per dependency-cruiser pattern)\nfolder_graph = collapse_to_folders(graph)\nRepeat DFS on folder_graph for folder-level cycles\n```\n\n**Cycle-breaking recommendations** (from Clean Architecture Ch14):\n1. **DIP** -- extract interface in depended-upon module, implement in depending module\n2. **Extract Shared Component** -- move shared code to new module both depend on\n3. **Domain Events \u002F Message Bus** -- for cross-domain cycles, decouple via async communication\n\n### Phase 4: Validate Boundary Rules\n\n```\n# Load rules from Phase 1 discovery\n# rules = {forbidden: [], allowed: [], required: []}\n\n# Check FORBIDDEN rules\nFOR EACH rule IN rules.forbidden:\n  FOR EACH edge (source -> target) IN graph:\n    IF matches(source, rule.from) AND matches(target, rule.to):\n      IF rule.cross AND same_group(source, target):\n        CONTINUE  # cross=true means only cross-group violations\n      boundary_violations.append({\n        rule_type: \"forbidden\",\n        from: source,\n        to: target,\n        file: get_import_location(source, target),\n        severity: rule.severity,\n        reason: rule.reason\n      })\n\n# Check ALLOWED rules (whitelist mode)\nIF rules.allowed.length > 0:\n  FOR EACH edge (source -> target) IN graph:\n    allowed = false\n    FOR EACH rule IN rules.allowed:\n      IF matches(source, rule.from) AND matches(target, rule.to):\n        allowed = true\n        BREAK\n    IF NOT allowed:\n      boundary_violations.append({\n        rule_type: \"not_in_allowed\",\n        from: source,\n        to: target,\n        file: get_import_location(source, target),\n        severity: \"MEDIUM\",\n        reason: \"Dependency not in allowed list\"\n      })\n\n# Check REQUIRED rules\nFOR EACH rule IN rules.required:\n  FOR EACH module IN graph WHERE matches(module, rule.module):\n    has_required = false\n    FOR EACH dep IN graph[module]:\n      IF matches(dep, rule.must_depend_on):\n        has_required = true\n        BREAK\n    IF NOT has_required:\n      boundary_violations.append({\n        rule_type: \"required_missing\",\n        module: module,\n        missing: rule.must_depend_on,\n        severity: \"MEDIUM\",\n        reason: rule.reason\n      })\n```\n\n### Phase 5: Calculate Graph Metrics\n\n**hex-graph acceleration:** For projects with `.hex-skills\u002Fcodegraph\u002Findex.db`, use `analyze_architecture(verbosity=\"full\")` and inspect returned `coupling` metrics for instant Ca\u002FCe\u002FI calculation. Fall back to manual computation when graph is unavailable.\n\n**MANDATORY READ:** Load `references\u002Fgraph_metrics.md` -- use Metric Definitions, Thresholds per Layer, SDP Algorithm, Lakos Formulas.\n\n```\n# Per-module metrics (Robert C. Martin)\nFOR EACH module IN graph:\n  Ce = len(graph[module])                          # Efferent: outgoing\n  Ca = count(m for m in graph if module in graph[m])  # Afferent: incoming\n  I = Ce \u002F (Ca + Ce) IF (Ca + Ce) > 0 ELSE 0      # Instability\n\n  metrics[module] = {Ca, Ce, I}\n\n# SDP validation (Stable Dependencies Principle)\nFOR EACH edge (A -> B) IN graph:\n  IF metrics[A].I \u003C metrics[B].I:\n    # Stable module depends on less stable module -- SDP violation\n    sdp_violations.append({\n      from: A, to: B,\n      I_from: metrics[A].I, I_to: metrics[B].I,\n      severity: \"HIGH\"\n    })\n\n# Threshold checks (per graph_metrics.md, considering detected layer)\nFOR EACH module IN metrics:\n  layer = get_layer(module)  # From Phase 1 discovery\n  thresholds = get_thresholds(layer)  # From graph_metrics.md\n\n  IF metrics[module].I > thresholds.max_instability:\n    findings.append({severity: thresholds.severity, issue: f\"{module} instability {I} exceeds {thresholds.max_instability}\"})\n  IF metrics[module].Ce > thresholds.max_ce:\n    findings.append({severity: \"MEDIUM\", issue: f\"{module} efferent coupling {Ce} exceeds {thresholds.max_ce}\"})\n\n# Lakos aggregate metrics\nCCD = 0\nFOR EACH module IN graph:\n  DependsOn = count_transitive_deps(module, graph) + 1  # Including self\n  CCD += DependsOn\n\nN = len(graph)\nCCD_balanced = N * log2(N)  # CCD of balanced binary tree with N nodes\nNCCD = CCD \u002F CCD_balanced IF CCD_balanced > 0 ELSE 0\n\nIF NCCD > 1.5:\n  findings.append({severity: \"MEDIUM\", issue: f\"Graph complexity (NCCD={NCCD:.2f}) exceeds balanced tree threshold (1.5)\"})\n```\n\n**Cascade chain extension:** For service files (`**\u002Fservices\u002F**`), extend module-level graph to function-level. Find longest side-effect chain per public function (markers per `references\u002Fai_ready_architecture.md`). If chain_length >= 3: add to cascade_findings. Output `\"runtime_cascades\"` array in Phase 8 DATA-EXTENDED JSON. Severity: HIGH (4+), MEDIUM (3).\n\n### Phase 6: Baseline Support\n\nInspired by ArchUnit FreezingArchRule -- enables incremental adoption in legacy projects.\n\n```\nbaseline_path = docs\u002Fproject\u002Fdependency_baseline.json\n\nIF file_exists(baseline_path):\n  known = load_json(baseline_path)\n  current = serialize_violations(cycles + boundary_violations + sdp_violations)\n\n  new_violations = current - known\n  resolved_violations = known - current\n\n  # Report only NEW violations as findings\n  active_findings = new_violations\n  baseline_info = {new: len(new_violations), resolved: len(resolved_violations), frozen: len(known - resolved_violations)}\n\n  IF input.update_baseline == true:\n    save_json(baseline_path, current)\n\nELSE:\n  # First run -- report all\n  active_findings = all_violations\n  baseline_info = {new: len(all_violations), resolved: 0, frozen: 0}\n  # Suggest: output note \"Run with update_baseline=true to freeze current violations\"\n```\n\n### Phase 7: Calculate Score\n\n**MANDATORY READ:** Load `references\u002Faudit_worker_core_contract.md` and `references\u002Faudit_scoring.md`.\n\n```\npenalty = (critical * 2.0) + (high * 1.0) + (medium * 0.5) + (low * 0.2)\nscore = max(0, 10 - penalty)\n```\n\n**Note:** When baseline is active, penalty is calculated from `active_findings` only (new violations), not frozen ones.\n\n### Phase 8: Write Report\n\n**MANDATORY READ:** Load `references\u002Ftemplates\u002Faudit_worker_report_template.md`.\n\nWrite JSON summary per `references\u002Faudit_summary_contract.md`. In managed mode the caller passes both `runId` and `summaryArtifactPath`; in standalone mode the worker generates its own run-scoped artifact path per shared contract.\n\n```\n# Build markdown report in memory with:\n# - AUDIT-META (standard penalty-based: score, counts)\n# - Checks table (cycle_detection, boundary_rules, sdp_validation, metrics_thresholds, baseline_comparison)\n# - Findings table (active violations sorted by severity)\n# - DATA-EXTENDED: {graph_stats, cycles, boundary_violations, sdp_violations, metrics, baseline}\n\nIF domain_mode == \"domain-aware\":\n  Write to {output_dir}\u002F644-dep-graph-{current_domain}.md\nELSE:\n  Write to {output_dir}\u002F644-dep-graph.md\n```\n\n### Phase 9: Return Summary\n\n```\nReport written: .hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\u002F644-dep-graph-users.md\nScore: 6.5\u002F10 | Issues: 8 (C:1 H:3 M:3 L:1)\n```\n\n## Critical Rules\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- **Adaptive architecture** -- never assume one style; detect from project structure or docs\n- **3-tier priority** -- custom rules > architecture.md > auto-detection\n- **Hybrid support** -- projects mix styles; apply different presets per zone\n- **Custom = safe mode** -- if no pattern detected, only check cycles + metrics (no false boundary violations)\n- **Internal only** -- exclude stdlib, third-party from graph (only project modules)\n- **Baseline mode** -- when baseline exists, report only NEW violations\n- **Cycle fixes** -- always provide actionable recommendation (DIP, Extract Shared, Domain Events)\n- **File + line** -- always provide exact import location for violations\n- **Unique angle:** Audit dependency topology only. Do not audit layer ownership, service contracts, package health, generic code quality, or runtime operations.\n- **Action required:** Every finding uses `BREAK_CYCLE`, `ENFORCE_RULE`, or `REDUCE_COUPLING`.\n\n## Definition of Done\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- [ ] Architecture discovered (adaptive 3-tier detection applied)\n- [ ] Dependency graph built from import statements (internal modules only)\n- [ ] Circular dependencies detected (pairwise + transitive DFS + folder-level)\n- [ ] Boundary rules validated (forbidden + allowed + required)\n- [ ] Metrics calculated (Ca, Ce, I per module + CCD, NCCD aggregate)\n- [ ] SDP validated (stable modules not depending on unstable)\n- [ ] Baseline applied if exists (only new violations reported)\n- [ ] If domain-aware: all Grep\u002FGlob scoped to scan_path, findings tagged with domain\n- [ ] Score calculated per audit_scoring.md\n- [ ] Report written to `{output_dir}\u002F644-dep-graph[-{domain}].md` (atomic single Write call)\n- [ ] Summary written per contract\n\n## Reference Files\n\n- Boundary rules & presets: `references\u002Fdependency_rules.md`\n- Metrics & thresholds: `references\u002Fgraph_metrics.md`\n- Import patterns: `references\u002Fimport_patterns.md`\n- Scoring algorithm: `references\u002Faudit_scoring.md`\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-02-11\n","> **Paths:** File paths (`references\u002F`, `..\u002Fln-*`) are relative to this skill directory.\n\n**Type:** L3 Worker\n**Category:** 6XX Audit\n\n# Dependency Topology Auditor\n\nL3 Worker that builds and analyzes the module dependency graph to enforce architectural boundaries.\n\n## Purpose & Scope\n\n- Build module dependency topology from import statements (Python, TS\u002FJS, C#, Java)\n- Detect circular dependencies: pairwise (HIGH) + transitive via DFS (CRITICAL)\n- Validate boundary rules: forbidden, allowed, required (per dependency-cruiser pattern)\n- Calculate Robert C. Martin metrics (Ca, Ce, Instability) + Lakos aggregate (CCD, NCCD)\n- Validate Stable Dependencies Principle (SDP)\n- Support baseline\u002Ffreeze for incremental legacy adoption (per ArchUnit FreezingArchRule)\n- **Adaptive:** 3-tier architecture detection -- custom rules > docs > auto-detect\n- Emit `BREAK_CYCLE`, `ENFORCE_RULE`, or `REDUCE_COUPLING`\n\n**Out of Scope:**\n- I\u002FO isolation violations\n- API contract violations\n- Code duplication\n\n## Input\n\n```\n- architecture_path: string    # Path to docs\u002Farchitecture.md\n- codebase_root: string        # Root directory to scan\n- output_dir: string           # e.g., \".hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\"\n\n# Domain-aware (optional)\n- domain_mode: \"global\" | \"domain-aware\"   # Default: \"global\"\n- current_domain: string                   # e.g., \"users\", \"billing\" (only if domain-aware)\n- scan_path: string                        # e.g., \"src\u002Fusers\u002F\" (only if domain-aware)\n\n# Baseline (optional)\n- update_baseline: boolean                 # If true, save current state as baseline\n```\n\n**When domain_mode=\"domain-aware\":** Use `scan_path` instead of `codebase_root` for all Grep\u002FGlob operations. Tag all findings with `domain` field.\n\n## Workflow\n\nDetection policy: use two-layer detection (candidate scan, then context verification); load `references\u002Ftwo_layer_detection.md` only when the verification method is ambiguous.\nTool policy: follow host AGENTS.md MCP preferences; load `references\u002Fmcp_tool_preferences.md` and `references\u002Fmcp_integration_patterns.md` only when host policy is absent or MCP behavior is unclear.\n\nUse `hex-graph` first when dependency topology, cycles, or architecture metrics materially improve the audit. Use `hex-line` first for local code and config reads when available. If MCP is unavailable, unsupported, or not indexed, continue with built-in `Read\u002FGrep\u002FGlob\u002FBash` and state the fallback in the report.\n\n### Phase 1: Discover Architecture (Adaptive)\n\n**MANDATORY READ:** Load `references\u002Fdependency_rules.md` -- use 3-Tier Priority Chain, Architecture Presets, Auto-Detection Heuristics.\n\nArchitecture detection uses **3-tier priority** -- explicit config wins over docs, docs win over auto-detection:\n\n```\n# Priority 1: Explicit project config\nIF docs\u002Fproject\u002Fdependency_rules.yaml exists:\n  Load custom rules (modules, forbidden, allowed, required)\n  SKIP preset detection\n\n# Priority 2: Architecture documentation\nELIF docs\u002Farchitecture.md exists:\n  Read Section 4.2 (modules, layers, architecture_type)\n  Read Section 6.4 (boundary rules, if defined)\n  Map documented layers to presets from dependency_rules.md\n  Apply preset rules, override with explicit rules from Section 6.4\n\n# Priority 3: Auto-detection from directory structure\nELSE:\n  scan_root = scan_path IF domain_mode == \"domain-aware\" ELSE codebase_root\n  Run structure heuristics:\n\n  signals = {}\n  IF Glob(\"**\u002Fdomain\u002F**\") AND Glob(\"**\u002Finfrastructure\u002F**\"):\n    signals[\"clean\"] = HIGH\n  IF Glob(\"**\u002Fcontrollers\u002F**\") AND Glob(\"**\u002Fservices\u002F**\") AND Glob(\"**\u002Frepositories\u002F**\"):\n    signals[\"layered\"] = HIGH\n  IF Glob(\"**\u002Ffeatures\u002F*\u002F\") with internal structure:\n    signals[\"vertical\"] = HIGH\n  IF Glob(\"**\u002Fadapters\u002F**\") AND Glob(\"**\u002Fports\u002F**\"):\n    signals[\"hexagonal\"] = HIGH\n  IF Glob(\"**\u002Fviews\u002F**\") AND Glob(\"**\u002Fmodels\u002F**\"):\n    signals[\"mvc\"] = HIGH\n\n  IF len(signals) == 0:\n    architecture_mode = \"custom\"\n    confidence = \"LOW\"\n    # Only check cycles + metrics, no boundary presets\n  ELIF len(signals) == 1:\n    architecture_mode = signals.keys()[0]\n    confidence = signals.values()[0]\n    Apply matching preset from dependency_rules.md\n  ELSE:\n    architecture_mode = \"hybrid\"\n    confidence = \"MEDIUM\"\n    # Identify zones, apply different presets per zone (see dependency_rules.md Hybrid section)\n    FOR EACH detected_style IN signals:\n      zone_path = identify_zone(detected_style)\n      zone_preset = load_preset(detected_style)\n      zones.append({path: zone_path, preset: zone_preset})\n    Add cross-zone rules: inner zones accessible, outer zones forbidden to depend on inner\n```\n\n### Phase 2: Build Dependency Graph\n\n**MANDATORY READ:** Load `references\u002Fimport_patterns.md` -- use Language Detection, Import Grep Patterns, Module Resolution Algorithm, Exclusion Lists.\n\n```\nscan_root = scan_path IF domain_mode == \"domain-aware\" ELSE codebase_root\n\n# Step 1: Detect primary language\ntech_stack = Read(docs\u002Fproject\u002Ftech_stack.md) IF exists\n  ELSE detect from file extensions: Glob(\"**\u002F*.py\", \"**\u002F*.ts\", \"**\u002F*.cs\", \"**\u002F*.java\", root=scan_root)\n\n# Step 2: Extract imports per language\nFOR EACH source_file IN Glob(language_glob_pattern, root=scan_root):\n  imports = []\n\n  # Python\n  IF language == \"python\":\n    from_imports = Grep(\"^from\\s+([\\w.]+)\\s+import\", source_file)\n    plain_imports = Grep(\"^import\\s+([\\w.]+)\", source_file)\n    imports = from_imports + plain_imports\n\n  # TypeScript \u002F JavaScript\n  ELIF language == \"typescript\" OR language == \"javascript\":\n    es6_imports = Grep(\"import\\s+.*\\s+from\\s+['\\\"]([^'\\\"]+)['\\\"]\", source_file)\n    require_imports = Grep(\"require\\(['\\\"]([^'\\\"]+)['\\\"]\\)\", source_file)\n    imports = es6_imports + require_imports\n\n  # C#\n  ELIF language == \"csharp\":\n    using_imports = Grep(\"^using\\s+([\\w.]+);\", source_file)\n    imports = using_imports\n\n  # Java\n  ELIF language == \"java\":\n    java_imports = Grep(\"^import\\s+([\\w.]+);\", source_file)\n    imports = java_imports\n\n  # Step 3: Filter internal only (per import_patterns.md Exclusion Lists)\n  internal_imports = filter_internal(imports, scan_root)\n\n  # Step 4: Resolve to modules\n  FOR EACH imp IN internal_imports:\n    source_module = resolve_module(source_file, scan_root)\n    target_module = resolve_module(imp, scan_root)\n    IF source_module != target_module:\n      graph[source_module].add(target_module)\n```\n\n### Phase 3: Detect Cycles (ADP)\n\n**hex-graph acceleration:** For projects with `.hex-skills\u002Fcodegraph\u002Findex.db`, use `analyze_architecture(verbosity=\"full\")` and inspect returned `cycles` for instant cycle detection. These cycle and coupling metrics are workspace-module level, so single-package repos may collapse to one module. Fall back to grep-based DFS or symbol\u002Ffile-level tracing when graph output is too coarse for intra-package analysis.\n\nPer Robert C. Martin (Clean Architecture Ch14): \"Allow no cycles in the component dependency graph.\"\n\n```\n# Pairwise cycles (A \u003C-> B)\nFOR EACH (A, B) WHERE B IN graph[A] AND A IN graph[B]:\n  cycles.append({\n    type: \"pairwise\",\n    path: [A, B, A],\n    severity: \"HIGH\",\n    fix: suggest_cycle_fix(A, B)\n  })\n  # Layer 2: Test-only dependencies (devDependencies, test imports) -> skip cycle\n  # Plugin\u002Fextension architecture with documented bidirectional design -> downgrade to LOW\n\n# Transitive cycles via DFS (A -> B -> C -> A)\nvisited = {}\nrec_stack = {}\n\nFUNCTION dfs(node, path):\n  visited[node] = true\n  rec_stack[node] = true\n\n  FOR EACH neighbor IN graph[node]:\n    IF NOT visited[neighbor]:\n      dfs(neighbor, path + [node])\n    ELIF rec_stack[neighbor]:\n      cycle_path = extract_cycle(path + [node], neighbor)\n      IF len(cycle_path) > 2:  # Skip pairwise (already detected)\n        cycles.append({\n          type: \"transitive\",\n          path: cycle_path,\n          severity: \"CRITICAL\",\n          fix: suggest_cycle_fix_transitive(cycle_path)\n        })\n\n  rec_stack[node] = false\n\nFOR EACH module IN graph:\n  IF NOT visited[module]:\n    dfs(module, [])\n\n# Folder-level cycles (per dependency-cruiser pattern)\nfolder_graph = collapse_to_folders(graph)\nRepeat DFS on folder_graph for folder-level cycles\n```\n\n**Cycle-breaking recommendations** (from Clean Architecture Ch14):\n1. **DIP** -- extract interface in depended-upon module, implement in depending module\n2. **Extract Shared Component** -- move shared code to new module both depend on\n3. **Domain Events \u002F Message Bus** -- for cross-domain cycles, decouple via async communication\n\n### Phase 4: Validate Boundary Rules\n\n```\n# Load rules from Phase 1 discovery\n# rules = {forbidden: [], allowed: [], required: []}\n\n# Check FORBIDDEN rules\nFOR EACH rule IN rules.forbidden:\n  FOR EACH edge (source -> target) IN graph:\n    IF matches(source, rule.from) AND matches(target, rule.to):\n      IF rule.cross AND same_group(source, target):\n        CONTINUE  # cross=true means only cross-group violations\n      boundary_violations.append({\n        rule_type: \"forbidden\",\n        from: source,\n        to: target,\n        file: get_import_location(source, target),\n        severity: rule.severity,\n        reason: rule.reason\n      })\n\n# Check ALLOWED rules (whitelist mode)\nIF rules.allowed.length > 0:\n  FOR EACH edge (source -> target) IN graph:\n    allowed = false\n    FOR EACH rule IN rules.allowed:\n      IF matches(source, rule.from) AND matches(target, rule.to):\n        allowed = true\n        BREAK\n    IF NOT allowed:\n      boundary_violations.append({\n        rule_type: \"not_in_allowed\",\n        from: source,\n        to: target,\n        file: get_import_location(source, target),\n        severity: \"MEDIUM\",\n        reason: \"Dependency not in allowed list\"\n      })\n\n# Check REQUIRED rules\nFOR EACH rule IN rules.required:\n  FOR EACH module IN graph WHERE matches(module, rule.module):\n    has_required = false\n    FOR EACH dep IN graph[module]:\n      IF matches(dep, rule.must_depend_on):\n        has_required = true\n        BREAK\n    IF NOT has_required:\n      boundary_violations.append({\n        rule_type: \"required_missing\",\n        module: module,\n        missing: rule.must_depend_on,\n        severity: \"MEDIUM\",\n        reason: rule.reason\n      })\n```\n\n### Phase 5: Calculate Graph Metrics\n\n**hex-graph acceleration:** For projects with `.hex-skills\u002Fcodegraph\u002Findex.db`, use `analyze_architecture(verbosity=\"full\")` and inspect returned `coupling` metrics for instant Ca\u002FCe\u002FI calculation. Fall back to manual computation when graph is unavailable.\n\n**MANDATORY READ:** Load `references\u002Fgraph_metrics.md` -- use Metric Definitions, Thresholds per Layer, SDP Algorithm, Lakos Formulas.\n\n```\n# Per-module metrics (Robert C. Martin)\nFOR EACH module IN graph:\n  Ce = len(graph[module])                          # Efferent: outgoing\n  Ca = count(m for m in graph if module in graph[m])  # Afferent: incoming\n  I = Ce \u002F (Ca + Ce) IF (Ca + Ce) > 0 ELSE 0      # Instability\n\n  metrics[module] = {Ca, Ce, I}\n\n# SDP validation (Stable Dependencies Principle)\nFOR EACH edge (A -> B) IN graph:\n  IF metrics[A].I \u003C metrics[B].I:\n    # Stable module depends on less stable module -- SDP violation\n    sdp_violations.append({\n      from: A, to: B,\n      I_from: metrics[A].I, I_to: metrics[B].I,\n      severity: \"HIGH\"\n    })\n\n# Threshold checks (per graph_metrics.md, considering detected layer)\nFOR EACH module IN metrics:\n  layer = get_layer(module)  # From Phase 1 discovery\n  thresholds = get_thresholds(layer)  # From graph_metrics.md\n\n  IF metrics[module].I > thresholds.max_instability:\n    findings.append({severity: thresholds.severity, issue: f\"{module} instability {I} exceeds {thresholds.max_instability}\"})\n  IF metrics[module].Ce > thresholds.max_ce:\n    findings.append({severity: \"MEDIUM\", issue: f\"{module} efferent coupling {Ce} exceeds {thresholds.max_ce}\"})\n\n# Lakos aggregate metrics\nCCD = 0\nFOR EACH module IN graph:\n  DependsOn = count_transitive_deps(module, graph) + 1  # Including self\n  CCD += DependsOn\n\nN = len(graph)\nCCD_balanced = N * log2(N)  # CCD of balanced binary tree with N nodes\nNCCD = CCD \u002F CCD_balanced IF CCD_balanced > 0 ELSE 0\n\nIF NCCD > 1.5:\n  findings.append({severity: \"MEDIUM\", issue: f\"Graph complexity (NCCD={NCCD:.2f}) exceeds balanced tree threshold (1.5)\"})\n```\n\n**Cascade chain extension:** For service files (`**\u002Fservices\u002F**`), extend module-level graph to function-level. Find longest side-effect chain per public function (markers per `references\u002Fai_ready_architecture.md`). If chain_length >= 3: add to cascade_findings. Output `\"runtime_cascades\"` array in Phase 8 DATA-EXTENDED JSON. Severity: HIGH (4+), MEDIUM (3).\n\n### Phase 6: Baseline Support\n\nInspired by ArchUnit FreezingArchRule -- enables incremental adoption in legacy projects.\n\n```\nbaseline_path = docs\u002Fproject\u002Fdependency_baseline.json\n\nIF file_exists(baseline_path):\n  known = load_json(baseline_path)\n  current = serialize_violations(cycles + boundary_violations + sdp_violations)\n\n  new_violations = current - known\n  resolved_violations = known - current\n\n  # Report only NEW violations as findings\n  active_findings = new_violations\n  baseline_info = {new: len(new_violations), resolved: len(resolved_violations), frozen: len(known - resolved_violations)}\n\n  IF input.update_baseline == true:\n    save_json(baseline_path, current)\n\nELSE:\n  # First run -- report all\n  active_findings = all_violations\n  baseline_info = {new: len(all_violations), resolved: 0, frozen: 0}\n  # Suggest: output note \"Run with update_baseline=true to freeze current violations\"\n```\n\n### Phase 7: Calculate Score\n\n**MANDATORY READ:** Load `references\u002Faudit_worker_core_contract.md` and `references\u002Faudit_scoring.md`.\n\n```\npenalty = (critical * 2.0) + (high * 1.0) + (medium * 0.5) + (low * 0.2)\nscore = max(0, 10 - penalty)\n```\n\n**Note:** When baseline is active, penalty is calculated from `active_findings` only (new violations), not frozen ones.\n\n### Phase 8: Write Report\n\n**MANDATORY READ:** Load `references\u002Ftemplates\u002Faudit_worker_report_template.md`.\n\nWrite JSON summary per `references\u002Faudit_summary_contract.md`. In managed mode the caller passes both `runId` and `summaryArtifactPath`; in standalone mode the worker generates its own run-scoped artifact path per shared contract.\n\n```\n# Build markdown report in memory with:\n# - AUDIT-META (standard penalty-based: score, counts)\n# - Checks table (cycle_detection, boundary_rules, sdp_validation, metrics_thresholds, baseline_comparison)\n# - Findings table (active violations sorted by severity)\n# - DATA-EXTENDED: {graph_stats, cycles, boundary_violations, sdp_violations, metrics, baseline}\n\nIF domain_mode == \"domain-aware\":\n  Write to {output_dir}\u002F644-dep-graph-{current_domain}.md\nELSE:\n  Write to {output_dir}\u002F644-dep-graph.md\n```\n\n### Phase 9: Return Summary\n\n```\nReport written: .hex-skills\u002Fruntime-artifacts\u002Fruns\u002F{run_id}\u002Faudit-report\u002F644-dep-graph-users.md\nScore: 6.5\u002F10 | Issues: 8 (C:1 H:3 M:3 L:1)\n```\n\n## Critical Rules\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- **Adaptive architecture** -- never assume one style; detect from project structure or docs\n- **3-tier priority** -- custom rules > architecture.md > auto-detection\n- **Hybrid support** -- projects mix styles; apply different presets per zone\n- **Custom = safe mode** -- if no pattern detected, only check cycles + metrics (no false boundary violations)\n- **Internal only** -- exclude stdlib, third-party from graph (only project modules)\n- **Baseline mode** -- when baseline exists, report only NEW violations\n- **Cycle fixes** -- always provide actionable recommendation (DIP, Extract Shared, Domain Events)\n- **File + line** -- always provide exact import location for violations\n- **Unique angle:** Audit dependency topology only. Do not audit layer ownership, service contracts, package health, generic code quality, or runtime operations.\n- **Action required:** Every finding uses `BREAK_CYCLE`, `ENFORCE_RULE`, or `REDUCE_COUPLING`.\n\n## Definition of Done\n\nApply the already-loaded `references\u002Faudit_worker_core_contract.md`.\n\n- [ ] Architecture discovered (adaptive 3-tier detection applied)\n- [ ] Dependency graph built from import statements (internal modules only)\n- [ ] Circular dependencies detected (pairwise + transitive DFS + folder-level)\n- [ ] Boundary rules validated (forbidden + allowed + required)\n- [ ] Metrics calculated (Ca, Ce, I per module + CCD, NCCD aggregate)\n- [ ] SDP validated (stable modules not depending on unstable)\n- [ ] Baseline applied if exists (only new violations reported)\n- [ ] If domain-aware: all Grep\u002FGlob scoped to scan_path, findings tagged with domain\n- [ ] Score calculated per audit_scoring.md\n- [ ] Report written to `{output_dir}\u002F644-dep-graph[-{domain}].md` (atomic single Write call)\n- [ ] Summary written per contract\n\n## Reference Files\n\n- Boundary rules & presets: `references\u002Fdependency_rules.md`\n- Metrics & thresholds: `references\u002Fgraph_metrics.md`\n- Import patterns: `references\u002Fimport_patterns.md`\n- Scoring algorithm: `references\u002Faudit_scoring.md`\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-02-11\n",{"name":5,"license":15,"description":7,"allowed-tools":44},"Read, Grep, Glob, Bash, mcp__hex-graph__index_project, mcp__hex-graph__analyze_architecture, mcp__hex-graph__trace_paths, mcp__hex-line__read_file, mcp__hex-line__grep_search, mcp__hex-line__outline","main","fbfb242f793fdf040f3a1a6b100896c188c228c8","_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor",1,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog","https:\u002F\u002Fgithub.com\u002Fvitalikpestov","Listing on crypto exchanges","2026-06-15 22:12:56",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add vitalikpestov\u002FSkills-Catalog --skill ln-644-dependency-topology-auditor",{"tool":59,"command":60},"bunx","bunx skills add vitalikpestov\u002FSkills-Catalog --skill ln-644-dependency-topology-auditor",{"tool":62,"command":63},"pnpm","pnpm dlx skills add vitalikpestov\u002FSkills-Catalog --skill ln-644-dependency-topology-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002FSKILL.md",true,[67,73,77,81,85,89,93,97,101,105,109],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fai_ready_architecture.md","REFERENCE","参考文档",7210,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Fai_ready_architecture.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Faudit_scoring.md",1117,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Faudit_scoring.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Faudit_summary_contract.md",2206,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Faudit_summary_contract.md",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Faudit_worker_core_contract.md",1851,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Faudit_worker_core_contract.md",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fdependency_rules.md",6862,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Fdependency_rules.md",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fgraph_metrics.md",3486,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Fgraph_metrics.md",{"path":94,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fimport_patterns.md",5469,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Fimport_patterns.md",{"path":98,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fmcp_integration_patterns.md",1567,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Fmcp_integration_patterns.md",{"path":102,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fmcp_tool_preferences.md",2338,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Fmcp_tool_preferences.md",{"path":106,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Ftemplates\u002Faudit_worker_report_template.md",1686,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Ftemplates\u002Faudit_worker_report_template.md",{"path":110,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Ftwo_layer_detection.md",1504,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fcodebase-audit-suite\u002Fskills\u002Fln-644-dependency-topology-auditor\u002Freferences\u002Ftwo_layer_detection.md",[114,140,164,180,203,230],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":139},"01M71V1MC994P553631JZSWVYD","solana-dev","Use when user asks to \"build a Solana dapp\", \"write an Anchor program\", \"create a token\", \"debug Solana errors\", \"set up wallet connection\", \"test my Solana program\", \"deploy to devnet\", or \"explain Solana concepts\" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor\u002FPinocchio programs, Codama client generation, LiteSVM\u002FMollusk\u002FSurfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana\u002Fclient + @solana\u002Freact-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana\u002Fkit for client\u002FRPC code, and @solana\u002Fweb3-compat for legacy boundaries.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Web3\u002Fsolana-dev\u002Fskill\u002FSKILL.md",[],[121,122,123,124,36,125,126,127,31,128,129,130,131,132,133,134,135,136,137,138],"dev","solana dev","solana","Wallet","testing","solana cli","kit","web3","react","create","server","write","playbook","live","security","ui","concepts","toolchain","2026-11-10 13:02:02",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":139},"01M71TYQPHE2YGKTT7DG9QCW3K","generating-trading-signals","Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.).\nCombines multiple indicators into composite signals with confidence scores.\nUse when analyzing assets for trading opportunities or checking technical indicators.\nTrigger with phrases like \"get trading signals\", \"check indicators\", \"analyze for entry\",\n\"scan for opportunities\", \"generate buy\u002Fsell signals\", or \"technical analysis\".","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Trading-Finance\u002Fgenerating-trading-signals\u002FSKILL.md",[],[147,148,149,150,151,152,153,154,155,156,157,158,159,25,34,160,161,162,163,33],"generating trading signals","signals","trading signals","trading","get","technical indicators","for","scan","rsi","trigger","python","technical","use","analysis","code","io","check",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":139},"01M71TY4CR3GKGQ3M12X9WN95Y","prediction-monitor","Prediction Monitor - Auto-activating skill for ML Deployment.\nTriggers on: prediction monitor, prediction monitor\nPart of the ML Deployment skill category.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Trading-Finance\u002FAI Predictions\u002Fprediction-monitor\u002FSKILL.md",[],[171,172,173,153,174,32,132,175,176,177,178,179,34],"prediction","monitor","prediction monitor","deployment","edit","triggers","grep","auto","ml",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":139},"01M71TXD9MYXZC39HCPP909HTZ","strategy-advisor","High-level strategic thinking and business decision guidance for planning and direction-setting.\nUse when: making strategic decisions, evaluating business options, setting direction, analyzing\ntrade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Fstrategy-advisor\u002FSKILL.md",[],[187,188,189,190,191,192,193,194,195,153,196,197,198,159,199,200,25,201,160,202],"strategy advisor","strategy","advisor","competitive","setting","thinking","planning","direction","trade-offs","long","decision","strategic","business","apps","decisions","trade",{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":207,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":139},"01M71TWHBT2R1P1FNWTW67ZREP","app-paywall-pilot","Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans\u002Fprices\u002Ftrials, review RevenueCat\u002FAdapty\u002FApphud\u002FSuperwall setup, calculate LTV\u002FROAS, or build paywall implementation.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffrom-dosesync\u002Fapp-paywall-pilot\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffrom-dosesync\u002Fapp-paywall-pilot\u002FSKILL.md",[],[211,212,213,214,215,216,217,218,219,220,221,222,25,223,224,225,226,227,228,229],"app","paywall","app paywall pilot","paid","paywalls","prices","choose","flows","fix","improve","design","app store","review","audit","ux","subscription","mobile","my","calculate",{"skillNo":231,"name":232,"nameZh":6,"description":233,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":234,"licenseFileUrl":235,"sourceHtmlUrl":236,"categories":237,"keywords":238,"publishedAt":139},"01M71TWET8GFKEB7ZHJPMQX29V","figma","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffigma\u002FSKILL.md",[],[232,239,240,241,242,156,221,31,159,25,243,244,161,245,131,246,247,248,249,250],"fetch","ids","mcp setup","translate","mcp server","Variables","task","Nodes","figma mcp","code implementation","node","assets"]