src/hestai_mcp/_bundled_hub/library/skills/dependency-graph-analysis/SKILL.md
===DEPENDENCY_GRAPH_ANALYSIS=== META: TYPE::SKILL VERSION::"1.0.0" STATUS::ACTIVE PURPOSE::"Dependency chain analysis, cycle detection, and coupling metrics" §1::CORE AUTHORITY::BLOCKING[direct_cycles⊕package_cycles]⊕ADVISORY[transitive_cycles⊕coupling_metrics⊕dependency_direction] SCOPE::dependency_mapping⊕cycle_detection⊕coupling_measurement⊕direction_enforcement PRINCIPLE::"Depend toward stability — unstable modules must not be depended upon by stable ones" §2::PROTOCOL MAPPING_PROC
npx skillsauth add elevanaltd/hestai-mcp src/hestai_mcp/_bundled_hub/library/skills/dependency-graph-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
===DEPENDENCY_GRAPH_ANALYSIS=== META: TYPE::SKILL VERSION::"1.0.0" STATUS::ACTIVE PURPOSE::"Dependency chain analysis, cycle detection, and coupling metrics"
§1::CORE AUTHORITY::BLOCKING[direct_cycles⊕package_cycles]⊕ADVISORY[transitive_cycles⊕coupling_metrics⊕dependency_direction] SCOPE::dependency_mapping⊕cycle_detection⊕coupling_measurement⊕direction_enforcement PRINCIPLE::"Depend toward stability — unstable modules must not be depended upon by stable ones"
§2::PROTOCOL MAPPING_PROCEDURE::[ 1::identify_modules[packages⊕classes⊕services⊕files], 2::trace_imports_and_references[static⊕dynamic⊕config], 3::build_directed_graph[module→dependency], 4::classify_direction[toward_stability⊕toward_instability] ] CYCLE_DETECTION::[ SIGNAL::module_A_imports_B_and_B_imports_A[direct_cycle], SIGNAL::transitive_cycle[A→B→C→A], SIGNAL::package_level_cycle[pkg_A⇌pkg_B], SEVERITY::[direct_cycle::BLOCKING,transitive_cycle::ADVISORY,package_cycle::BLOCKING] ] COUPLING_METRICS::[ AFFERENT::count_incoming_dependencies[who_depends_on_me], EFFERENT::count_outgoing_dependencies[who_do_I_depend_on], INSTABILITY::efferent_div_total[0_stable→1_unstable], FAN_OUT::efferent_gt_7→high_coupling_signal, FAN_IN::afferent_gt_10→core_module[protect_stability] ] DIRECTION_ENFORCEMENT::[ RULE::depend_toward_lower_instability[stable_abstractions], VIOLATION::stable_module_depending_on_unstable→refactor_with_interface, PATTERN::dependency_inversion[introduce_abstraction_at_boundary] ]
§3::GOVERNANCE MUST_ALWAYS::[ map_before_measuring, detect_cycles_before_coupling_analysis, cite_instability_scores_in_findings, recommend_direction_fixes_for_violations ] MUST_NEVER::[ skip_cycle_detection, measure_coupling_without_graph, ignore_transitive_dependencies, accept_package_level_cycles ] ESCALATION::complexity_guard[when_cycles_detected⊕instability_violations_systemic]
§5::ANCHOR_KERNEL TARGET::analyze_dependency_chains_and_enforce_direction NEVER::[skip_cycle_detection,measure_without_graph,ignore_transitive_deps,accept_package_cycles] MUST::[map_all_dependencies,detect_cycles,compute_coupling_metrics,enforce_depend_toward_stability] GATE::"Are dependencies directed toward stability, and are there any cycles?" ===END===
tools
Supabase test harness patterns including local Supabase setup, test user creation via Auth Admin API, RLS testing, migration testing (db_reset), seed sequences, rate limiting, and environment detection. Use when setting up Supabase testing infrastructure, creating test users, troubleshooting Supabase test failures, or implementing RLS validation. Triggers on: supabase test setup, test user creation, supabase local testing, RLS testing, migration testing, supabase test harness, auth test helpers.
tools
Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on: migration validation, RLS patterns, Supabase benchmarks, ADR-003, database state tracking, schema governance.
tools
Vercel preview deployment access patterns including automation bypass, protected preview authentication, and CI integration
tools
===SKILL:VALIDATION_METHODOLOGY=== META: TYPE::SKILL VERSION::"1.0" PURPOSE::"Rigorous 6-step reality enforcement protocol" §1::CORE_PROTOCOL VALIDATION_METHODOLOGY::[ STEP_1_NATURAL_LAW::"Identify physics constraints, thermodynamic limits, information theory bounds", STEP_2_RESOURCE_REALITY::"Inventory actual available resources (time, people, tools, budget) with evidence", STEP_3_CAPABILITY_ASSESSMENT::"Validate team skills, tool availability, knowledge gaps against requirements",