Skip to content
BeClaude

scalpel

New
2GitHub TrendingGeneralby Banyango

Writing code is dead. Understanding it is not. - An AI skill for surgical planning

Summary

Scalpel is an AI skill for surgical planning that helps developers analyze, understand, and refactor complex codebases with precision.

  • It provides deep code insights, identifies architectural patterns, and suggests targeted improvements, making it invaluable for maintaining legacy systems or preparing for major refactors.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/scalpel.md https://raw.githubusercontent.com/Banyango/scalpel/main/SKILL.md
3
Invoke in Claude Code
/scalpel

Use Cases

Analyze a large codebase to identify dead code, unused dependencies, and potential refactoring targets.
Generate a dependency graph for a module to understand its impact on the rest of the system.
Review a pull request for architectural consistency and adherence to design patterns.
Suggest a step-by-step plan to migrate from one framework or library to another.
Identify code smells and anti-patterns in a specific function or class.
Trace the execution flow of a critical algorithm to document its behavior.

Usage Examples

1

/scalpel analyze src/ --find dead-code

2

/scalpel graph src/components/ --output mermaid

3

/scalpel plan --migrate lodash to native JS

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is scalpel?

Scalpel is an AI skill for surgical planning that helps developers analyze, understand, and refactor complex codebases with precision. It provides deep code insights, identifies architectural patterns, and suggests targeted improvements, making it invaluable for maintaining legacy systems or preparing for major refactors.

How to install scalpel?

To install scalpel: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/scalpel.md https://raw.githubusercontent.com/Banyango/scalpel/main/SKILL.md. Finally, /scalpel in Claude Code.

What is scalpel best for?

scalpel is a skill categorized under General. Created by Banyango.

What can I use scalpel for?

scalpel is useful for: Analyze a large codebase to identify dead code, unused dependencies, and potential refactoring targets.; Generate a dependency graph for a module to understand its impact on the rest of the system.; Review a pull request for architectural consistency and adherence to design patterns.; Suggest a step-by-step plan to migrate from one framework or library to another.; Identify code smells and anti-patterns in a specific function or class.; Trace the execution flow of a critical algorithm to document its behavior..