con un clic
find-dead-code
// Find unused functions, classes, imports, and unreachable code paths. Use when the user asks for dead code or cleanup candidates.
// Find unused functions, classes, imports, and unreachable code paths. Use when the user asks for dead code or cleanup candidates.
Update Python dependencies with uv, regenerate lock and Konflux requirements files, then verify lint, types, and tests. Fix breakage from API changes in bumped packages. Use when the user says "deps update", "bump dependencies", or "update deps".
Find functions with high cyclomatic complexity, length, or parameter count. Use when the user asks for complexity hotspots or refactor candidates.
Find code duplication in the codebase. Supports branch-scoped or full sweep. Use when the user asks to find duplicated code or repeated patterns before a PR.
Investigate CI job failures on a GitHub pull request (checks, Prow, or GitHub Actions). Use when the user pastes a PR URL and asks about CI failures or red checks.
Step-by-step workflow for committing staged changes and opening a pull request for lightspeed-agentic-sandbox.
Performs a strict clean rebase of a feature branch onto main with minimal conflict resolution and full validation. Use when the user asks to rebase carefully and run tests + verify until green.
| name | find-dead-code |
| description | Find unused functions, classes, imports, and unreachable code paths. Use when the user asks for dead code or cleanup candidates. |
| disable-model-invocation | true |
Detect unused code that can be safely removed.
src/lightspeed_agentic/. Skip tests unless asked.main.src/lightspeed_agentic/.Branch mode:
git diff --name-only origin/main -- 'src/lightspeed_agentic/' | grep '\.py$'
uvx vulture <target> --min-confidence 80
For each hit: confirm with rg / imports; mark as true dead code, false
positive, or optional cleanup.
Table: symbol, file:line, confidence, recommendation.