AgentSkillsCN

readiness-report

评估代码库对自主 AI 开发的支持程度。从风格与校验、构建系统、测试、文档、开发环境、调试与可观测性、安全防护、任务发现等八大技术领域,结合五个成熟度等级进行综合分析。当用户请求 `/readiness-report`,或希望评估代理就绪度、代码库成熟度,又或是识别阻碍高效 AI 辅助开发的短板时,此技能便派上用场。

SKILL.md
--- frontmatter
name: readiness-report
description: Evaluate how well a codebase supports autonomous AI development. Analyzes repositories across eight technical pillars (Style & Validation, Build System, Testing, Documentation, Dev Environment, Debugging & Observability, Security, Task Discovery) and five maturity levels. Use when users request `/readiness-report` or want to assess agent readiness, codebase maturity, or identify gaps preventing effective AI-assisted development.
triggers:
- /readiness-report

Agent Readiness Report

Evaluate how well a repository supports autonomous AI development by analyzing it across eight technical pillars and five maturity levels.

Overview

Agent Readiness measures how prepared a codebase is for AI-assisted development. Poor feedback loops, missing documentation, or lack of tooling cause agents to waste cycles on preventable errors. This skill identifies those gaps and prioritizes fixes.

Quick Start

The user will run /readiness-report to evaluate the current repository. The agent will then:

  1. Clone the repo, scan repository structure, CI configs, and tooling
  2. Evaluate 81 criteria across 9 technical pillars
  3. Determine maturity level (L1-L5) based on 80% threshold per level
  4. Provide prioritized recommendations

Workflow

Step 1: Run Repository Analysis

Execute the analysis script to gather signals from the repository:

bash
python scripts/analyze_repo.py --repo-path .

This script checks for:

  • Configuration files (.eslintrc, pyproject.toml, etc.)
  • CI/CD workflows (.github/workflows/, .gitlab-ci.yml)
  • Documentation (README, AGENTS.md, CONTRIBUTING.md)
  • Test infrastructure (test directories, coverage configs)
  • Security configurations (CODEOWNERS, .gitignore, secrets management)

Step 2: Generate Report

After analysis, generate the formatted report:

bash
python scripts/generate_report.py --analysis-file /tmp/readiness_analysis.json

Step 3: Present Results

The report includes:

  1. Overall Score: Pass rate percentage and maturity level achieved
  2. Level Progress: Bar showing L1-L5 completion percentages
  3. Strengths: Top-performing pillars with passing criteria
  4. Opportunities: Prioritized list of improvements to implement
  5. Detailed Criteria: Full breakdown by pillar showing each criterion status

Nine Technical Pillars

Each pillar addresses specific failure modes in AI-assisted development:

PillarPurposeKey Signals
Style & ValidationCatch bugs instantlyLinters, formatters, type checkers
Build SystemFast, reliable buildsBuild docs, CI speed, automation
TestingVerify correctnessUnit/integration tests, coverage
DocumentationGuide the agentAGENTS.md, README, architecture docs
Dev EnvironmentReproducible setupDevcontainer, env templates
Debugging & ObservabilityDiagnose issuesLogging, tracing, metrics
SecurityProtect the codebaseCODEOWNERS, secrets management
Task DiscoveryFind work to doIssue templates, PR templates
Product & AnalyticsError-to-insight loopError tracking, product analytics

See references/criteria.md for the complete list of 81 criteria per pillar.

Five Maturity Levels

LevelNameDescriptionAgent Capability
L1InitialBasic version controlManual assistance only
L2ManagedBasic CI/CD and testingSimple, well-defined tasks
L3StandardizedProduction-ready for agentsRoutine maintenance
L4MeasuredComprehensive automationComplex features
L5OptimizedFull autonomous capabilityEnd-to-end development

Level Progression: To unlock a level, pass ≥80% of criteria at that level AND all previous levels.

See references/maturity-levels.md for detailed level requirements.

Interpreting Results

Pass vs Fail vs Skip

  • Pass: Criterion met (contributes to score)
  • Fail: Criterion not met (opportunity for improvement)
  • Skip: Not applicable to this repository type (excluded from score)

Priority Order

Fix gaps in this order:

  1. L1-L2 failures: Foundation issues blocking basic agent operation
  2. L3 failures: Production readiness gaps
  3. High-impact L4+ failures: Optimization opportunities

Common Quick Wins

  1. Add AGENTS.md: Document commands, architecture, and workflows for AI agents
  2. Configure pre-commit hooks: Catch style issues before CI
  3. Add PR/issue templates: Structure task discovery
  4. Document single-command setup: Enable fast environment provisioning

Resources

  • scripts/analyze_repo.py - Repository analysis script
  • scripts/generate_report.py - Report generation and formatting
  • references/criteria.md - Complete criteria definitions by pillar
  • references/maturity-levels.md - Detailed level requirements

Automated Remediation

After reviewing the report, common fixes can be automated:

  • Generate AGENTS.md from repository structure
  • Add missing issue/PR templates
  • Configure standard linters and formatters
  • Set up pre-commit hooks

Ask to "fix readiness gaps" to begin automated remediation of failing criteria.