brycewang-stanford/auto-empirical-research-skills/techdebt
Claude Code and agent skill by brycewang-stanford/auto-empirical-research-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Find and fix technical debt including duplicated code, dead code, outdated patterns, and code smells. Run at the end of sessions to clean up.
Install
npx vskill@latest install brycewang-stanford/auto-empirical-research-skills/techdebtSKILL.md
The same SKILL.md was published earlier as brycewang-stanford/auto-empirical-research-skills/techdebt.
Technical Debt Finder
Identify and fix technical debt in the codebase.
What to Look For
Code Duplication
- Functions with similar logic that could be consolidated
- Copy-pasted code blocks
- Repeated patterns that should be abstracted
Dead Code
- Unused imports
- Unused functions or classes
- Commented-out code blocks
- Unreachable code paths
Outdated Patterns
- Deprecated API usage
- Old-style string formatting (% or .format) vs f-strings
- Type hints using
typing.Listinstead oflist - Missing type hints on public functions
Code Smells
- Functions longer than 50 lines
- Too many parameters (more than 5)
- Deep nesting (more than 3 levels)
- Magic numbers without constants
- Overly complex conditionals
Missing Best Practices
- Missing docstrings on public functions
- Missing error handling
- Hardcoded values that should be config
- Missing tests for critical paths
Workflow
- Scan the Codebase
- Look for patterns matching the issues above
- Prioritize by impact and ease of fix
- Report Findings
- List issues by category
- Include file paths and line numbers
- Estimate severity (high/medium/low)
- Fix Issues
- Start with high-severity, easy fixes
- Create atomic commits for each fix
- Run tests after each change
- Verify
- Run linter:
ruff check . - Run tests:
pytest - Ensure no new issues introduced
Arguments
Optionally specify a directory or file to focus on.
Usage:
/techdebt- Scan entire project/techdebt src/- Scan specific directory/techdebt src/utils.py- Scan specific file
Output
Provide a summary of:
- Issues found (by category)
- Issues fixed
- Remaining items for future sessions
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/09-meleantonio-awesome-econ-ai-stuff/_skills/engineering/techdebt/SKILL.md
Popularity
- Repository stars
- 4,455
- Repository forks
- 532
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brycewang-stanford/auto-empirical-research-skills/techdebt)