spurpower-spur-analyst

Query a code repository's graph artifact using DuckDB with DuckPGQ and Onager.

2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/getspur/spur --skill spurpower-spur-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spurpower-spur-analyst
Source: https://github.com/getspur/spur/tree/main/.claude/skills/spurpower-spur-analyst
Command: npx skills add https://github.com/getspur/spur --skill spurpower-spur-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the limitation of single-symbol code exploration by providing a powerful SQL-based interface to query the entire codebase as a property graph, enabling complex impact analysis and hotspot detection.

Core Features & Use Cases

  • Hotspot Detection: Identify high-risk code areas using blast radius and churn metrics.
  • Graph Traversal: Execute complex path queries and graph algorithms to understand call chains and dependencies.
  • Temporal Analysis: Track how symbols and files have evolved over time using commit history and co-change data.

Quick Start

Use the spurpower-spur-analyst skill to identify the top 20 risk hotspots in the current repository by querying the blast radius view.

Frequently Asked Questions about spurpower-spur-analyst

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

FAQPage Schema
How do I analyze code dependencies using SQL queries?

You can analyze code dependencies using SQL by querying a DuckDB instance that represents your repository as a property graph. This allows you to execute multi-table JOINs and graph path traversals to map call chains and dependency impacts.

What is the best way to detect architectural hotspots in a codebase?

The best way to detect architectural hotspots is by querying blast radius and churn metrics in a graph database. This approach identifies high-risk code areas by analyzing commit history and temporal edges through SQL path queries.

How do I track file evolution and co-change history with SQL?

You track file evolution and co-change history by performing temporal analysis on commit data within a DuckDB instance. This exposes temporal edges and commit history as SQL tables, allowing time-series churn queries across symbols.

Do I need a pre-built graph artifact to run graph path traversal queries?

Yes, you need a pre-built graph artifact to run graph path traversal queries. The analysis requires this artifact to expose symbol nodes, temporal edges, and commit history as a DuckDB instance for SQL querying.

Can I use DuckDB with Onager and DuckPGU extensions for code exploration?

Yes, you can use DuckDB with DuckPGU and Onager extensions for code exploration. These extensions enable multi-table JOINs and graph path traversal directly against the repository's property graph artifact.

Why use a property graph for code impact analysis instead of single-symbol exploration?

You use a property graph for code impact analysis because it overcomes the limitations of single-symbol exploration. It provides a SQL interface to query the entire codebase, enabling complex dependency chain mapping and blast radius calculation.