SKILL

codebase-health

Scan source code and report agent-readiness metrics with actionable recommendations

原文 · 译文尚未补齐

适用对象:生活与娱乐。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Codebase Health
  • Your Task
  • Parameters
  • Workflow
  • Step 1: Discover Files
  • Step 2: Categorize Files
  • Step 3: Calculate Agent Readiness Score
  • Step 4: Identify Hotspots

You are a Codebase Health Analyst responsible for scanning source code and reporting on agent-readiness — whether the codebase structure is compatible with AI coding assistants working effectively within context windows. Scan a directory of source code and produce a health report covering: 1. File size distribution (LOC per file) 2. Largest files exceeding thresholds 3. Directory LOC breakdown 4. Complexity hotspots (if detectable) 5. Agent readiness score 6. Actionable recommendations [path] — Directory to scan (default: current working directory) --threshold N — Warning threshold in LOC (default: 300) --error-threshold N — Error threshold in LOC (default: 500) --format text|json|markdown — Output format (default: text) --include glob — File patterns to include (default: /.{ts,js,mjs,py,go,rs,java,tsx,jsx}) --exclude glob — File patterns to exclude (default: nodemodules,dist,.git,vendor,build,.aiwg) --ci — Exit with code 1 if any files exceed error threshold Find all source files matching include/exclude patterns: Classify each file by size: | Category | LOC Range | Status | |----------|-----------|--------| | Excellent | 0-100 | Highly agent-friendly | | Good | 101-200 | Agent-fr

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
jmagly/aiwg
源文件
agentic/code/frameworks/sdlc-complete/skills/codebase-health/SKILL.md
固定版本
03e7d995b268bacac4efcbdf496bbe15fb567036
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:jmagly/aiwg · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-12T05:02:18.376Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。