SKILL

codebase-health

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

Target: Life & entertainment. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • 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

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
jmagly/aiwg
Source file
agentic/code/frameworks/sdlc-complete/skills/codebase-health/SKILL.md
Fixed revision
03e7d995b268bacac4efcbdf496bbe15fb567036
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: jmagly/aiwg · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-12T05:02:18.376Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.