code-context

Provides on-demand, in-depth bike and car road-condition reports for Indian cities and intercity highways via AI-powered chat.

15|5|Updated Jul 1, 2025
One-click install
npx skills add https://github.com/swissarmyhammer/swissarmyhammer --skill code-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-context
Source: https://github.com/swissarmyhammer/swissarmyhammer/tree/main/builtin/skills/code-context
Command: npx skills add https://github.com/swissarmyhammer/swissarmyhammer --skill code-context

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides deep code intelligence, enabling users to understand code structure, trace dependencies, and assess the impact of changes without manual code inspection.

Core Features & Use Cases

  • Code Exploration: Navigate unfamiliar codebases by finding symbols, tracing call graphs, and listing file contents.
  • Impact Analysis: Assess the blast radius of changes to files or symbols to prevent regressions.
  • Code Searching: Efficiently search code using fuzzy matching, regex patterns, and language-specific filters.
  • Use Case: Before refactoring a critical function, use this Skill to see all its callers and understand which parts of the system might be affected.

Quick Start

Use the code-context skill to get the call graph for the 'process_request' symbol.

Frequently Asked Questions about code-context

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

FAQPage Schema
How do I trace the blast radius of a function before refactoring?

To trace the blast radius of a function before refactoring, you can analyze call graphs to find all callers and dependencies. This assesses the potential impact of changes and prevents regressions across the codebase.

What is the best way to navigate an unfamiliar codebase and find specific symbols?

Navigating an unfamiliar codebase is done by indexing code structure using tree-sitter and LSP. This enables codebase exploration, symbol discovery, and call graph traversal to quickly locate specific definitions.

Can I analyze code dependencies using fuzzy matching and regex patterns?

Yes, you can analyze code dependencies using fuzzy matching, regex patterns, and language-specific filters. This code search functionality helps efficiently locate entities and trace relationships within the codebase.

Does code intelligence work with git for semantic diffing?

Code intelligence integrates with the git tool to provide semantic diffing. This enables entity-level change analysis by comparing structural differences rather than just text, ensuring accurate impact tracking.

How do I perform entity-level change analysis on my codebase?

Entity-level change analysis is performed by integrating semantic diffing via the git tool. This identifies structural modifications to symbols and relationships, providing a clear view of what changed at the code intelligence level.