Files
2025-12-25 03:38:55 +00:00

297 lines
9.8 KiB
Markdown

# Documentation Index
**AI Development Standards v3.0.3** | **Last Updated:** 2025-11-09
Complete documentation for the ai-dev-standards repository with automated quality validation and cost efficiency guardrails.
---
## 🚀 Getting Started
**New to ai-dev-standards?** Start here:
1. **[Quick Start Guide](QUICK-START.md)** - Get running in 5 minutes
2. **[Bootstrap Guide](BOOTSTRAP.md)** - Automated setup with `npx @ai-dev-standards/bootstrap`
3. **[Integration Guide](INTEGRATION-GUIDE.md)** - Complete setup for your project
4. **[Existing Projects](EXISTING-PROJECTS.md)** - Apply to existing codebases
---
## 📚 Core Documentation
### For Developers
- **[README.md](../README.md)** - Main repository documentation
- **[Resource Guide](RESOURCE-GUIDE.md)** - Complete inventory of all 360 resources (64 skills, 50 MCPs, 24 tools, 72 components, 28 integrations)
- **[Decision Framework](../meta/DECISION-FRAMEWORK.md)** - Technology decisions with validation-first approach
- **[System Overview](SYSTEM-OVERVIEW.md)** - Architecture and system design
### For AI Assistants
- **[Project Context](../meta/PROJECT-CONTEXT.md)** - How to use this repository
- **[How to Use](../meta/HOW-TO-USE.md)** - Navigation guide
- **[Decision Framework](../meta/DECISION-FRAMEWORK.md)** - Technology decision guidance
---
## 🛡️ Quality & Trust (NEW in v1.1.0)
**The Problem:** Quality audit scored 8.6/10 but missed 81% of skills being invisible.
**The Solution:** 5-layer automated validation system ensuring 100% resource discoverability.
### Documentation
- **[Audit Trust Restoration](AUDIT-TRUST-RESTORATION.md)** ⭐ - Complete solution (5 layers)
- **[Audit Validation Checklist](AUDIT-VALIDATION-CHECKLIST.md)** ⭐ - Step-by-step audit guide (includes skill-MCP check)
- **[Resource Discovery Analysis](RESOURCE-DISCOVERY-ANALYSIS.md)** - What went wrong
- **[Resource Discovery Fix](RESOURCE-DISCOVERY-FIX-COMPLETE.md)** - Fix summary
- **[Quality Audit Report](QUALITY-AUDIT-REPORT.md)** - Latest comprehensive audit
- **[Skill-MCP Gap Analysis](SKILL-MCP-GAP-ANALYSIS.md)** ⚠️ - Critical gap identified (12:1 ratio)
- **[MCP Development Roadmap](MCP-DEVELOPMENT-ROADMAP.md)** - Plan to close the gap
### Key Features
✅ Automated registry validation tests
✅ CI/CD enforcement (blocks incomplete registry)
✅ Quality auditor Phase 0 mandatory checks
✅ 100% resource discoverability (up from 19%)
✅ Full trust through automation
**Files Updated:**
- `tests/registry-validation.test.ts` - Comprehensive automated tests
- `.github/workflows/ci.yml` - Mandatory registry-validation job
- `skills/quality-auditor/SKILL.md` - Phase 0 mandatory checks
- `package.json` - test:registry, validate, update-registry scripts
---
## 💰 Cost Efficiency Guardrails (NEW in v1.1.0)
**The Problem:** Projects wasting time/money building expensive solutions before validating viability.
**The Solution:** Validation-first development with time limits, budget constraints, and cheaper alternatives.
### Documentation
- **[Cost Efficiency Analysis](COST-EFFICIENCY-GUARDRAILS-ANALYSIS.md)** - Problem analysis
- **[Cost Guardrails Summary](COST-GUARDRAILS-IMPLEMENTATION-SUMMARY.md)** - Solution summary
- **[Validation-First Playbook](../playbooks/validation-first-development.md)** ⭐ - 5-phase workflow
### Key Features
✅ 5-phase validation workflow with strict time limits
✅ Budget constraints per phase (<$200 for MVP)
✅ Cheaper alternatives before expensive implementations
✅ ROI justification required
✅ Prevents analysis paralysis
**Examples:**
- RAG: Try FAQ page ($0) → Keyword search ($20/mo) → RAG ($200-500/mo)
- Multi-agent: Try single agent first → Then coordinate → Then multi-agent
- Infrastructure: Try Vercel/Railway ($20/mo) → PaaS → Custom AWS
**Skills Updated:**
- `skills/rag-implementer/SKILL.md` - Prerequisites & cost warnings
- (5 more technical skills to be updated)
---
## 🔧 System Documentation
### Auto-Sync System
- **[Comprehensive Auto-Sync](COMPREHENSIVE-AUTO-SYNC.md)** - Complete auto-sync system
- **[Auto-Sync Details](AUTO-SYNC.md)** - How auto-sync works
- **[Auto-Sync Summary](AUTO-SYNC-SUMMARY.md)** - Quick overview
- **[Auto-Update Files](AUTO-UPDATE-FILES.md)** - Which files auto-update
### Build & CI/CD
- **[Build Status](BUILD-STATUS.md)** - Current build status
- **[Build Progress](BUILD-PROGRESS.md)** - Build progress tracking
- **[CI/CD Setup](CI-CD-SETUP.md)** - CI/CD configuration guide
- **[CI/CD Implementation](CI-CD-IMPLEMENTATION-COMPLETE.md)** - Implementation summary
- **[Deployment Guide](DEPLOYMENT.md)** - Deployment strategies
---
## 🖥️ CLI Documentation
- **[CLI Quick Start](CLI-QUICKSTART.md)** - Get started with ai-dev CLI
- **[CLI Reference](CLI-REFERENCE.md)** - Complete command reference
**Common Commands:**
```bash
ai-dev sync # Sync all resources
ai-dev update # Update from registry
ai-dev validate # Run validation tests
npm run test:registry # Test registry completeness
npm run update-registry # Update registry from files
```
---
## 📋 Reference Documentation
### Planning & Organization
- **[Resource Priority Plan](RESOURCE-PRIORITY-PLAN.md)** - Resource development priorities
- **[Cheat Sheet](CHEAT-SHEET.md)** - Quick reference guide
### Architecture Patterns
See `standards/architecture-patterns/` for:
- RAG architecture patterns
- Microservices design
- Serverless architecture
- Event-driven systems
- Real-time systems
- And more...
### Best Practices
See `standards/best-practices/` for:
- Security best practices
- Testing strategies
- Database optimization
- Performance tuning
---
## 🎯 By Use Case
### I want to...
**Start a new project**
→ [Quick Start](QUICK-START.md) → [Bootstrap](BOOTSTRAP.md) → [Integration Guide](INTEGRATION-GUIDE.md)
**Apply to existing codebase**
→ [Existing Projects Guide](EXISTING-PROJECTS.md)
**Understand the quality system**
→ [Audit Trust Restoration](AUDIT-TRUST-RESTORATION.md) → [Audit Checklist](AUDIT-VALIDATION-CHECKLIST.md)
**Prevent wasting time/money**
→ [Validation-First Playbook](../playbooks/validation-first-development.md) → [Cost Efficiency Analysis](COST-EFFICIENCY-GUARDRAILS-ANALYSIS.md)
**Make technology decisions**
→ [Decision Framework](../meta/DECISION-FRAMEWORK.md) (now with validation-first approach)
**Run quality audits**
→ [Audit Validation Checklist](AUDIT-VALIDATION-CHECKLIST.md) → [Quality Auditor Skill](../skills/quality-auditor/SKILL.md)
**See all available resources**
→ [Resource Index](RESOURCE-INDEX.md) (36 skills, 3 MCPs, 7 playbooks, all 100% discoverable)
**Understand the system**
→ [System Overview](SYSTEM-OVERVIEW.md) → [Project Context](../meta/PROJECT-CONTEXT.md)
---
## 📊 Repository Stats
| Metric | Count | Status |
| --------------------- | --------- | -------------------- |
| **Skills** | 36 | ✅ 100% discoverable |
| **MCPs** | 3 | ✅ 100% discoverable |
| **Playbooks** | 7 | ✅ 100% discoverable |
| **Patterns** | 14+ | ✅ All registered |
| **Documentation** | 27+ files | ✅ Complete |
| **Registry Coverage** | 100% | ✅ Validated |
| **CI/CD Validation** | Active | ✅ Enforced |
**Quality Improvements (v1.1.0):**
- ✅ From 19% to 100% resource discoverability
- ✅ Automated validation system implemented
- ✅ CI/CD enforcement active
- ✅ Cost efficiency guardrails in place
- ✅ Full trust through automation
---
## 🆕 What's New in v1.1.0
### Major Features
1. **Automated Registry Validation** - Tests ensure 100% discoverability
2. **CI/CD Enforcement** - Blocks merges if registry incomplete
3. **Quality Auditor Phase 0** - Mandatory discovery checks
4. **Validation-First Development** - 5-phase workflow with time/budget limits
5. **Cost Warnings** - Cheaper alternatives before expensive solutions
### Files Added
- `tests/registry-validation.test.ts` - Comprehensive validation tests
- `docs/AUDIT-TRUST-RESTORATION.md` - Complete trust solution
- `docs/AUDIT-VALIDATION-CHECKLIST.md` - Step-by-step audit guide
- `docs/COST-EFFICIENCY-GUARDRAILS-ANALYSIS.md` - Cost problem analysis
- `docs/COST-GUARDRAILS-IMPLEMENTATION-SUMMARY.md` - Cost solution summary
- `playbooks/validation-first-development.md` - Lean startup workflow
- `docs/README.md` - This documentation index
### Files Updated
- `.github/workflows/ci.yml` - Added registry-validation job
- `package.json` - Added validation scripts
- `skills/quality-auditor/SKILL.md` - Added Phase 0 checks
- `skills/rag-implementer/SKILL.md` - Added cost warnings
- `meta/DECISION-FRAMEWORK.md` - Added validation-first section
- `meta/registry.json` - Updated from 7 to 36 skills
- `README.md` - Added quality/cost sections
- `docs/RESOURCE-INDEX.md` - Complete update
---
## 🔗 Quick Links
**Main Repository:** [README.md](../README.md)
**Complete Resource List:** [Resource Index](RESOURCE-INDEX.md)
**Technology Decisions:** [Decision Framework](../meta/DECISION-FRAMEWORK.md)
**Trust System:** [Audit Trust Restoration](AUDIT-TRUST-RESTORATION.md)
**Cost Efficiency:** [Validation-First Playbook](../playbooks/validation-first-development.md)
**For AI Assistants:** [Project Context](../meta/PROJECT-CONTEXT.md)
---
## 📝 Contributing
When adding documentation:
1. Update this index (docs/README.md)
2. Update RESOURCE-INDEX.md if adding resources
3. Update main README.md if major feature
4. Update DECISION-FRAMEWORK.md if decision guidance
5. Run `npm run test:registry` to validate
---
## ⚙️ Validation Commands
```bash
# Test registry completeness
npm run test:registry
# Update registry from files
npm run update-registry
# Full validation suite
npm run validate
# Run full CI checks locally
npm run ci
```
---
**Version:** 1.1.0 | **Status:** ✅ All documentation complete, validated, and trusted
**Last Updated:** 2025-10-22