autosnippet-dep-graph

Parse AutoSnippet.spmmap.json to expose Swift Package Manager dependency graphs.

2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-dep-graph
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: autosnippet-dep-graph
Source: https://github.com/GxFn/AutoSnippet/tree/main/skills/autosnippet-dep-graph
Command: npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-dep-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams understand and explore the Swift Package Manager dependency structure within an AutoSnippet project.

Core Features & Use Cases

  • Dependency graph exploration: Retrieve and reason about package dependencies, targets, and products across the project.
  • What depends on what?: Answer questions about dependency relationships and package boundaries within the project root.
  • Use with asd spm-map: If the graph is missing or stale, trigger generation of the AutoSnippet.spmmap.json and inspect graph data.

Quick Start

Run asd spm-map from the project root to generate or update AutoSnippet.spmmap.json, then query the graph to determine dependencies and package structure.

Frequently Asked Questions about autosnippet-dep-graph

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

FAQPage Schema
How do I map Swift Package Manager dependencies in an AutoSnippet project?▼

To map Swift Package Manager dependencies in an AutoSnippet project, you run `asd spm-map` to generate the `AutoSnippet.spmmap.json` file, which exposes the project's package structure and target relationships.

What is the best way to explore SPM target relationships without reading the manifest?▼

The best way to explore SPM target relationships is by reading the `AutoSnippet.spmmap.json` file, which provides a structured graph of packages, edges, and metadata without requiring manual manifest inspection.

Why does my AutoSnippet dependency graph not show any package edges?▼

Your AutoSnippet dependency graph shows no package edges because the `AutoSnippet.spmmap.json` file is missing or stale, requiring you to run `asd spm-map` to regenerate the dependency mapping data.

Can I find where a specific Swift package is located within my project root?▼

You can find where a specific Swift package is located by inspecting the package metadata and relationship edges defined within the `AutoSnippet.spmmap.json` file at your project root.