source-command-gf-analyze

Generate a dependency graph summary identifying dead code, high-coupling nodes, and circular dependencies.

3|Updated May 11, 2026
One-click install
npx skills add https://github.com/JeromyJSmith/lattice-platform --skill source-command-gf-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-command-gf-analyze
Source: https://github.com/JeromyJSmith/lattice-platform/tree/main/.agents/skills/source-command-gf-analyze
Command: npx skills add https://github.com/JeromyJSmith/lattice-platform --skill source-command-gf-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand and validate a migrated Graphify code graph by identifying problematic dependencies and structural risks that slow down maintenance.

Core Features & Use Cases

  • Dependency graph summary: Produces an overview of the code graph structure to support safe refactors and migration validation.
  • Dead code candidates: Highlights areas that may be removable or no longer contribute to behavior.
  • High-coupling and circular dependency detection: Flags tight coupling and cycles that increase bug risk and complicate changes.
  • Use case: When you migrate from a legacy source command to gf-analyze, use this Skill to quickly spot refactor targets and dependency hotspots before implementing fixes.

Quick Start

Ask: "Run the migrated source command gf-analyze and print the dependency graph summary."

Frequently Asked Questions about source-command-gf-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect circular dependencies and dead code in a migrated codebase?

Detecting circular dependencies and dead code requires analyzing code relationships to build a dependency graph summary. This process highlights dead code candidates, high-coupling nodes, and circular dependencies to identify structural risks complicating maintenance.

What is dependency graph analysis used for during code migration validation?

Dependency graph analysis validates code migration by identifying problematic dependencies and structural risks slowing maintenance. It generates a dependency graph summary to support safe refactors and spot dependency hotspots before implementing fixes.

How do I find high-coupling nodes for refactoring planning?

Find high-coupling nodes for refactoring planning by analyzing code relationships to flag tight coupling and cycles increasing bug risk. This produces a functional report highlighting problematic patterns and refactor targets across software modules and build surfaces.

Can I identify dead code candidates without running the application?

You can identify dead code candidates through static dependency graph analysis without running the application. It analyzes code relationships to highlight areas that may be removable or no longer contribute to application behavior.

What's the best way to triage dependency risks across software modules?

The best way to triage dependency risks across software modules is generating a dependency graph summary that flags tight coupling and circular dependencies. This surfaces structural risks across build surfaces and highlights specific problematic patterns.

Does dependency graph analysis work for validating migrated source commands?

Yes, dependency graph analysis works for validating migrated source commands by generating a functional report reflecting the analyzed dependency graph structure. It spots refactor targets and dependency hotspots to validate the code migration.