moai-foundation-core

Codify foundational patterns for AI-powered development workflows with governance.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/hnabyz-bot/gate_drv --skill moai-foundation-core-hnabyz-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-foundation-core
Source: https://github.com/hnabyz-bot/gate_drv/tree/main/.claude/skills/moai-foundation-core
Command: npx skills add https://github.com/hnabyz-bot/gate_drv --skill moai-foundation-core-hnabyz-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about moai-foundation-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is spec-first domain-driven development for AI workflows?

Spec-first DDD is a specification-driven development approach using EARS patterns and a three-phase cycle (SPEC, DDD, Docs) to guide reliable AI-powered code generation and project governance.

How do I manage token budgets when scaling AI agent orchestration?

You manage token budgets by applying phase-based token allocation and modular file organization, ensuring scalable content delivery and structured agent delegation for parallelizable work.

How do I delegate tasks to specialized AI agents effectively?

Effective AI agent delegation uses structured Task() delegation patterns to assign work to specialized agents, enabling scalable, parallelizable execution while maintaining cross-reference governance.

Can I use progressive disclosure for scalable project documentation?

Yes, progressive disclosure organizes documentation into layered content delivery—quick references, implementation guides, and advanced patterns—keeping SKILL.md under 500 lines with deep-dives in modules.

What is the TRUST 5 quality gate in AI development?

The TRUST 5 quality gate provides automated checks for test coverage, readability, unification, security, and traceability across code and docs to ensure robust AI workflow governance.

Does modular AI workflow orchestration work without external dependencies?

Yes, this foundational orchestration model operates without external dependencies, enforcing structural principles, agent delegation, and modular file organization to support scalable project growth.