techdebt
Skill1 starsChanged 7 months agoMITView on GitHub
会话结束时扫描技术债务。查找重复代码、TODO、console.log、过期依赖等问题。
13 other projects use a version of this.
Adopted by
Most recently taken up by
- jh941213/my-cc-harnesstheir own version, first seen Nov 1, 2026
- jh941213/ADLC-harnesstheir own version, first seen Nov 1, 2026
- LucasCooperBey/claude-skillstheir own version, first seen Oct 20, 2026
- mikezamayias/agent-skillstheir own version, first seen Oct 11, 2026
- DoubleML/doubleml-for-pytheir own version, first seen Oct 8, 2026
- jh941213/my-claude-code-assettheir own version, first seen Oct 8, 2026
Used with
Projects with it also use docs-ci, docs-interfaces and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
RachaelQuiselSkillclient-docs
Client documentation. Use when a build needs documentation updates or missing project documents need to be identified.
Also in 3 projects that use this
planailabsSkilldocs-architecture
Layout, build pipeline, and structural gotchas for this dual-Astro repo. Read before changing structure, routing, or adding content. Operational/dev-server questions → dev-build skill.
Also in 3 projects that use this
yu-iskwSkilltest-and-fix
Run unit tests and automatically fix code failures, regression bugs, or test mismatches. Use when tests are failing, after implementing new features, or to repair "broken" tests.
Also in 3 projects that use this
llama-farmSkillcommit-push-pr
Commit changes, push to GitHub, and open a PR. Includes quality checks (security, patterns, simplification). Use --quick to skip checks.
Also in 5 projects that use this
- +4 more from jh941213
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- DoubleML/doubleml-for-py★ 798same name
- DataDog/dd-trace-java★ 739same name
- chenzhen7/akari★ 232same name
- jh941213/ADLC-harness★ 125same name
- jh941213/my-cc-harness★ 125same name
- jh941213/my-claude-code-asset★ 125same name
- aromanarguello/roman-skills★ 18same name
- rayketcham-lab/qn-claude-web★ 2same name
- LucasCooperBey/claude-skills★ 1same name
- mikezamayias/agent-skills★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- brew-maintainSkill
- cc-updatesSkill
- commit-helperSkill
- dev-consoleSkill
- explain-codeSkill
- init-modularSkill
- learnSkill
- plan-debateSkill
- port-managerSkill
- product-contextSkill
- projectSkill
- refactorSkill
- ui-specSkill
- web-researcherSkill
The file
Files
/techdebt - 技术债务扫描
会话结束时运行,自动发现代码库中的技术债务。
扫描流程
1. 快速扫描(必做)
依次执行以下检查:
TODO/FIXME 标记
grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.vue" src/ 2>/dev/null | head -20console.log 残留
grep -rn "console\.log\|console\.debug" --include="*.ts" --include="*.tsx" --include="*.vue" src/ 2>/dev/null | grep -v "node_modules" | head -20未使用的导入(如果有 ESLint)
npm run lint 2>&1 | grep -i "unused\|no-unused" | head -102. 深度扫描(可选,用户要求时执行)
依赖安全审计
npm audit --audit-level moderate 2>/dev/null || echo "npm audit 不可用"过期依赖
npm outdated 2>/dev/null | head -20大文件检测(超过 500 行)
find src -name "*.ts" -o -name "*.tsx" -o -name "*.vue" 2>/dev/null | xargs wc -l 2>/dev/null | sort -rn | head -20重复代码(如果安装了 jscpd)
npx jscpd src/ --min-lines 10 --reporters console 2>/dev/null || echo "jscpd 未安装,跳过"输出格式
按优先级分类输出:
📋 技术债务报告
🔴 高优先级
├── npm audit: X 个漏洞
└── FIXME: 文件:行号 - 内容
🟡 中优先级
├── 大文件: 文件名 (XXX 行)
├── TODO: X 处待办
└── 重复代码: 文件A ↔ 文件B
🟢 低优先级
├── console.log: X 处残留
└── 过期依赖: X 个使用场景
- 会话结束前运行,确保不遗留债务
- PR 前运行,确保代码质量
- 定期运行,追踪债务趋势
注意事项
- 只报告问题,不自动修复
- 高优先级问题建议立即处理
- 中/低优先级可加入 backlog
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

