π‘ Summary
AI-ready skill analyzes repository readiness across eight key aspects and generates a phased improvement roadmap.
π― Target Audience
π€ AI Roast: βPowerful, but the setup might scare off the impatient.β
Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); filesystem read/write scope and path traversal; dependency pinning and supply-chain risk. Run with least privilege and audit before enabling in production.
ai-ready-skill
A Claude Code skill for analyzing repository AI-readiness.
Scores 8 key aspects from 1-100 with ASCII progress bars, highlights problems by severity, and creates a phased refactoring roadmap.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI-READINESS REPORT β
β Repository: my-project β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β OVERALL GRADE: B SCORE: 76/100 β+12 from last run β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β 1. Documentation ββββββββββ 82/100 β+5 β
β 2. Architecture ββββββββββ 71/100 β0 β
β 3. Testing ββββββββββ 65/100 β+8 β
β 4. Type Safety ββββββββββ 84/100 β+2 β
β 5. Agent Instructions ββββββββββ 52/100 β+15 β
β 6. File Structure ββββββββββ 78/100 β0 β
β 7. Context Optimizationββββββββββ 63/100 β+3 β
β 8. Security ββββββββββ 91/100 β0 β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Features
- 8 Aspect Analysis - Documentation, Architecture, Testing, Type Safety, Agent Instructions, File Structure, Context Optimization, Security
- 95 Sub-criteria - Deep analysis with 10-15 checks per aspect
- ASCII Dashboard - Visual progress bars and overall A-F grade
- Severity Classification - Critical / Warning / Info issue grouping
- Interactive Survey - Choose which issues to address
- Phased Roadmap - Quick Wins β Foundation β Advanced
- Template Generation - CLAUDE.md, ARCHITECTURE.md, llms.txt
- Progress Tracking - Delta comparison between runs (β+5, β-3)
- Language Agnostic - Works with any programming language
Installation
Via skills.sh (recommended)
npx skills add viktor-silakov/ai-ready
skills.sh β universal skills manager for AI agents
Via npx
npx ai-ready-skill
Via npm
npm install -g ai-ready-skill ai-ready-skill install
Usage
After installation, use in Claude Code:
# Analyze current directory /ai-ready # Analyze specific repository /ai-ready /path/to/repo
CLI Commands
npx ai-ready-skill install # Install skill (default) npx ai-ready-skill check # Check if installed npx ai-ready-skill update # Update to latest version npx ai-ready-skill remove # Remove skill npx ai-ready-skill help # Show help
Workflow
- Discovery - Detects language, framework, existing files
- Analysis - Evaluates all 8 aspects with sub-criteria
- Scoring - Calculates weighted scores and overall grade
- Dashboard - Displays ASCII progress bars
- Problems - Lists issues grouped by severity
- Survey - Asks which issues to fix (Critical=Y, others=N)
- Plan Mode - Creates phased implementation roadmap
- Templates - Generates missing files from templates
- Report - Saves AI-READINESS-REPORT.md with history
Aspects & Weights
| Aspect | Weight | Key Checks | |--------|--------|------------| | Documentation | 15% | README, JSDoc, ADRs, ARCHITECTURE.md | | Architecture | 15% | Modularity, boundaries, coupling, cohesion | | Testing | 12% | Coverage, co-location, naming, CI integration | | Type Safety | 12% | Strict mode, any usage, null safety | | Agent Instructions | 15% | CLAUDE.md completeness and quality | | File Structure | 10% | 150-500 LOC, nesting β€5, files per dir β€15 | | Context Optimization | 11% | llms.txt, chunking-friendly, why-comments | | Security | 10% | .aiignore, secrets, PII, NEVER rules |
Grade Scale
| Grade | Score | Description | |-------|-------|-------------| | A | 90-100 | Excellent - AI-ready | | B | 75-89 | Good - Minor improvements needed | | C | 60-74 | Moderate - Notable gaps | | D | 45-59 | Poor - Significant work needed | | F | 0-44 | Critical - Major overhaul required |
Severity Levels
Critical (blocks AI effectiveness)
- Missing CLAUDE.md
- Missing README.md
- Files over 1000 LOC
- Hardcoded secrets
Warning (impacts efficiency)
- Files 500-1000 LOC
- Missing ARCHITECTURE.md
- Test coverage <50%
- Deep nesting (>5 levels)
Info (optimization opportunities)
- Files 400-500 LOC
- Missing llms.txt
- Minor documentation gaps
Generated Templates
The skill can generate these files:
- CLAUDE.md - AI assistant guide with project context, commands, conventions, ALWAYS/NEVER rules
- ARCHITECTURE.md - C4-style documentation with diagrams and design decisions
- llms.txt - LLM-optimized project index for quick context loading
Output Files
After running, the skill creates:
your-repo/
βββ AI-READINESS-REPORT.md # Full report with history tracking
Requirements
- Claude Code CLI
- Node.js >= 18.0.0
License
MIT License - see LICENSE
Links
Pros
- Comprehensive analysis of multiple aspects
- Generates actionable improvement roadmap
- Visual progress tracking with ASCII dashboard
Cons
- Requires Node.js and Claude Code CLI
- May need adjustments for specific languages
- Dependency on external skills manager
Related Skills
pytorch
SβIt's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.β
agno
SβIt promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.β
nuxt-skills
SβIt's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.β
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author viktor-silakov.
