بنقرة واحدة
techdebt
Scan and report technical debt in the codebase. Use after completing a feature or at session end.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scan and report technical debt in the codebase. Use after completing a feature or at session end.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | techdebt |
| description | Scan and report technical debt in the codebase. Use after completing a feature or at session end. |
| user-invocable | false |
| triggers | ["/techdebt","技術債","tech debt","find duplicates","找重複"] |
| version | 1.0.0 |
| scope | public |
Scan the current project for technical debt, including duplicate code, outdated dependencies, TODO/FIXME markers, etc.
Use Grep to search for similar code patterns. Adapt file extensions to the project language:
# JS/TS projects
grep -rn "function\|const.*=.*=>" --include="*.ts" --include="*.tsx" --include="*.js" | sort | uniq -d
# Python projects
grep -rn "def " --include="*.py" | sort | uniq -d
# Go projects
grep -rn "^func " --include="*.go" | sort | uniq -d
# Rust projects
grep -rn "^fn " --include="*.rs" | sort | uniq -d
# Or use jscpd for JS/TS (if installed)
npx jscpd --min-lines 5 --min-tokens 50 src/
grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.py"
# Node.js projects
pnpm outdated 2>/dev/null || npm outdated 2>/dev/null
# Python projects
pip list --outdated 2>/dev/null
Files over ~300 lines are candidates for splitting. Adapt extensions to the project language:
# JS/TS projects
find . \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" \) -not -path "*/node_modules/*" | xargs wc -l | sort -rn | head -20
# Python projects
find . -name "*.py" -not -path "*/.venv/*" | xargs wc -l | sort -rn | head -20
# Go/Rust projects
find . \( -name "*.go" -o -name "*.rs" \) | xargs wc -l | sort -rn | head -20
# Universal (all source files, excludes vendor/node_modules)
find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.py" -o -name "*.go" -o -name "*.rs" \) \
-not -path "*/node_modules/*" -not -path "*/.venv/*" -not -path "*/vendor/*" \
| xargs wc -l | sort -rn | head -20
Output a technical debt report in the following format:
## Tech Debt Report - [Date]
### Duplicate Code (Priority: High)
| File A | File B | Similarity | Recommendation |
|--------|--------|------------|----------------|
### TODO/FIXME (Priority: Medium)
| File | Line | Content | Age |
|------|------|---------|-----|
### Outdated Dependencies (Priority: Low)
| Package | Current Version | Latest Version |
|---------|-----------------|----------------|
### Large Files (May need splitting)
| File | Lines | Recommendation |
|------|-------|----------------|
.techdebt/report-YYYY-MM-DD.mdComprehensive health check of Claude Code skill ecosystem — cross-check registry.yaml, disk, symlinks, INDEX.md, and frontmatter validation. Use after skill restructuring or periodically.
Audit Claude Code settings.json for security vulnerabilities — detect allow-bypasses-deny, missing sensitive file denies, and overly broad permissions. Use after any settings.json change.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session.
Use when installing packages, adding dependencies, or running package manager commands. Triggers on npm install, npm add, package installation, dependency management.