What problem does it solve?
MoAI Foundation Core provides a cohesive, principled baseline that guides the design, development, and governance of AI-powered workflows by codifying foundational patterns like TRUST 5, SPEC-First DDD, delegated agent orchestration, token budgeting, modular file organization, and progressive disclosure.
Core Features & Use Cases
- TRUST 5 Quality Gate: automated checks for test coverage, readability, unification, security, and traceability across code and docs.
- SPEC-First DDD workflow: specification-driven development with EARS patterns and a three-phase cycle (SPEC, DDD, Docs).
- Delegation Patterns: structured Task() delegation to specialized agents for scalable, parallelizable work.
- Token Budget & Modular System: phase-based token budgets and scalable content organization to handle large projects.
- Progressive Disclosure: layered content delivery with quick references, implementation guides, and advanced patterns, enabling scalable documentation.
- Modular system: SKILL.md under 500 lines with modules/ for deep-dives, cross-references, and navigation.
- Works Well With: agent catalog, commands reference, and module cross-links that support scalable governance.
Quick Start
To get started, reference the SKILL.md at .claude/skills/moai-foundation-core and use the core commands to initialize a project, generate SPECs, run DDD, and sync docs, while following token budgeting and phase boundary guidelines.