moai-core-rules

Define governance rules for Alfred's 3-layer architecture and TRUST quality gates.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-core-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-core-rules
Source: https://github.com/jg-chalk-io/Nora-LiveKit/tree/main/.claude/skills/moai-core-rules
Command: npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-core-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill defines core rules for Alfred's 3-layer architecture and TRUST gates.

Core Features & Use Cases

  • 3-Layer Architecture: Command → Agent → Skill separation.
  • 4-Step Workflow (ADAP): Analyze, Design, Assure, Produce.
  • TRUST 4/5: gating on tests, readability, unity, security, and traceability.

Quick Start

Enforce a delegation pattern where commands only orchestrate and never execute tasks directly.

Frequently Asked Questions about moai-core-rules

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

FAQPage Schema
How do I enforce a delegation-only architecture where commands orchestrate but never execute tasks directly?

Delegation-only execution separates command orchestration from task execution by routing all work through agents and skills. Alfred's 3-Layer Architecture enforces this pattern: commands coordinate, agents decide routing, and skills perform work, preventing commands from bypassing the architecture.

What are TRUST quality gates and how do I validate them before producing output?

TRUST gates enforce five quality dimensions: tests, readability, unity, security, and traceability. These gates validate output before produce step in the 4-Step ADAP workflow, ensuring governance rules applied to decision-making and execution meet architectural standards.

How does the 4-Step ADAP workflow structure agent execution and skill knowledge sharing?

ADAP—Analyze, Design, Assure, Produce—structures agent decision-making across command orchestration and skill execution. Each step enforces explicit multi-layer orchestration with stateless skills, ensuring consistent governance and traceability through the workflow.

What constraints does this architecture enforce on skill design and command execution?

Core constraints include delegation-only execution in commands, explicit multi-layer orchestration across all layers, stateless skill design, and mandatory TRUST quality gate validation before produce. These prevent architectural bypass and enforce consistent governance.

When should I apply tag-chain validation and commit standards in agent workflows?

Tag-chain validation and commit standards apply throughout agent workflows to enforce traceability and consistency. They validate state transitions, decision chains, and skill outputs against governance rules before downstream propagation.

Can I use this ruleset for multi-agent orchestration and cross-skill coordination?

Yes. The 3-Layer Architecture and ADAP workflow support multi-agent orchestration and cross-skill coordination through explicit delegation patterns. Agent-First delegation ensures each agent operates within defined governance boundaries with consistent TRUST validation.