aj-enns/ghcp-orchestration-guide/tech-debt-analyzer
Claude Code and agent skill by aj-enns/ghcp-orchestration-guide
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Identify and address technical debt in a React + TypeScript codebase. Use this skill when the user asks to find tech debt, reduce complexity, clean up code smells, refactor legacy patterns, or improve code quality. Triggers on mentions of technical debt, code smells, refactor, cleanup, complexity, legacy code, or maintainability.
Install
npx vskill@latest install aj-enns/ghcp-orchestration-guide/tech-debt-analyzerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as aj-enns/ghcp-orchestration-guide/tech-debt-analyzer.
Technical Debt Analyzer
Overview
Analyze React + TypeScript code for common sources of technical debt and provide actionable remediation steps. Focus on patterns that slow teams down over time rather than stylistic nitpicks.
What to Look For
Component-Level Debt
- Components longer than ~250 lines — suggest extraction
- Prop drilling deeper than 2 levels — suggest context or Zustand store
- Inline styles or hardcoded strings — suggest Tailwind classes or constants
- Class components — migrate to functional components with hooks
anytype usage — replace with proper TypeScript interfaces- Disabled ESLint rules via
eslint-disablecomments — resolve the underlying issue
Hook-Level Debt
useEffectwith missing or overly broad dependency arrays- Multiple related
useStatecalls that should be a singleuseReduceror Zustand store - Data fetching inside
useEffect— migrate to React Query (useQuery/useMutation) - Custom hooks that do too many things — split by responsibility
Architecture-Level Debt
- Business logic inside components — extract to
services/orutils/ - API calls scattered across components — consolidate in
services/ - Duplicated type definitions — consolidate in
types/ - Missing or inconsistent error boundaries
- Large barrel files (
index.ts) re-exporting everything — causes bundle bloat
Dependency Debt
- Outdated packages with known CVEs
- Multiple libraries solving the same problem (e.g., both axios and fetch wrappers)
- Unused dependencies in
package.json
Output Format
For each issue found, provide:
- Location — file path and line range
- Category — one of: Component, Hook, Architecture, Dependency
- Severity — High (blocks features / causes bugs), Medium (slows development), Low (cosmetic / minor friction)
- Problem — one-sentence description
- Remediation — concrete steps or code example to fix it
Prioritization
Order findings by:
- High severity items first
- Within same severity, prefer items that touch shared/reused code
- Group related items that can be fixed together
Example
User Request
"Can you check this component for tech debt?"
Expected Analysis
Security
- Security scanPassed, 100 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 repositoryChecking.github/skills/tech-debt-analyzer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/aj-enns/ghcp-orchestration-guide/tech-debt-analyzer)