Skill Metadata
| Field |
Value |
| Version |
1.0.0 |
| Tier |
Alfred |
| Auto-load |
When validating rules or quality gates |
| Keywords |
skill-invocation, ask-user-question, trust, tag, tdd, quality-gates, workflow-compliance |
What It Does
MoAI-ADK의 10가지 필수 Skill 호출 규칙, 5가지 AskUserQuestion 시나리오, TRUST 5 품질 게이트, TAG 체인 규칙, TDD 워크플로우를 정의합니다.
When to Use
- ✅ Skill() 호출이 mandatory인지 optional인지 판단 필요
- ✅ 사용자 질문이 ambiguous할 때 AskUserQuestion 사용 여부 결정
- ✅ 코드/커밋이 TRUST 5를 준수하는지 확인
- ✅ TAG 체인 무결성 검증
- ✅ 커밋 메시지 형식 확인
- ✅ 품질 게이트(quality gate) 검증
Core Rules at a Glance
10 Mandatory Skill Invocations
| User Request |
Skill |
Pattern |
| TRUST validation, quality check |
moai-foundation-trust |
Skill("moai-foundation-trust") |
| TAG validation, orphan detection |
moai-foundation-tags |
Skill("moai-foundation-tags") |
| SPEC authoring, spec validation |
moai-foundation-specs |
Skill("moai-foundation-specs") |
| EARS syntax, requirement formatting |
moai-foundation-ears |
Skill("moai-foundation-ears") |
| Git workflow, branch management |
moai-foundation-git |
Skill("moai-foundation-git") |
| Language detection, stack detection |
moai-foundation-langs |
Skill("moai-foundation-langs") |
| Debugging, error analysis |
moai-essentials-debug |
Skill("moai-essentials-debug") |
| Refactoring, code improvement |
moai-essentials-refactor |
Skill("moai-essentials-refactor") |
| Performance optimization |
moai-essentials-perf |
Skill("moai-essentials-perf") |
| Code review, quality review |
moai-essentials-review |
Skill("moai-essentials-review") |
5 AskUserQuestion Scenarios
Use AskUserQuestion when:
- Tech stack choice unclear (multiple frameworks/languages)
- Architecture decision needed (monolith vs microservices)
- User intent ambiguous (multiple valid interpretations)
- Existing component impacts unknown (breaking changes)
- Resource constraints unclear (budget, timeline)
TRUST 5 Quality Gates
- Test: 85%+ coverage required
- Readable: No code smells, SOLID principles
- Unified: Consistent patterns, no duplicate logic
- Secured: OWASP Top 10 checks, no secrets
- Trackable: @TAG chain intact (SPEC→TEST→CODE→DOC)
TAG Chain Integrity Rules
- Assign as
<DOMAIN>-<###> (e.g., AUTH-003)
- Create
@TEST before @CODE
- Document in HISTORY section
- Never have orphan TAGs (TAG without corresponding code)
Progressive Disclosure
Learn more in reference.md for complete rules, decision trees, and validation methods.
Version: 1.0.0
Related Skills: moai-foundation-trust, moai-foundation-tags, moai-alfred-practices
1---2name: moai-alfred-rules3description: Mandatory rules for Skill invocation, AskUserQuestion usage, TRUST principles, TAG validation, and TDD workflow. Use when validating workflow compliance, checking quality gates, enforcing MoAI-ADK standards, or verifying rule adherence.4---5
6## Skill Metadata
7
8| Field | Value |
9| ----- | ----- |
10| Version | 1.0.0 |
11| Tier | Alfred |
12| Auto-load | When validating rules or quality gates |
13| Keywords | skill-invocation, ask-user-question, trust, tag, tdd, quality-gates, workflow-compliance |
14
15## What It Does
16
17MoAI-ADK의 10가지 필수 Skill 호출 규칙, 5가지 AskUserQuestion 시나리오, TRUST 5 품질 게이트, TAG 체인 규칙, TDD 워크플로우를 정의합니다.
18
19## When to Use
20
21- ✅ Skill() 호출이 mandatory인지 optional인지 판단 필요
22- ✅ 사용자 질문이 ambiguous할 때 AskUserQuestion 사용 여부 결정
23- ✅ 코드/커밋이 TRUST 5를 준수하는지 확인
24- ✅ TAG 체인 무결성 검증
25- ✅ 커밋 메시지 형식 확인
26- ✅ 품질 게이트(quality gate) 검증
27
28## Core Rules at a Glance
29
30### 10 Mandatory Skill Invocations
31
32| User Request | Skill | Pattern |
33|---|---|---|
34| TRUST validation, quality check | `moai-foundation-trust` | `Skill("moai-foundation-trust")` |
35| TAG validation, orphan detection | `moai-foundation-tags` | `Skill("moai-foundation-tags")` |
36| SPEC authoring, spec validation | `moai-foundation-specs` | `Skill("moai-foundation-specs")` |
37| EARS syntax, requirement formatting | `moai-foundation-ears` | `Skill("moai-foundation-ears")` |
38| Git workflow, branch management | `moai-foundation-git` | `Skill("moai-foundation-git")` |
39| Language detection, stack detection | `moai-foundation-langs` | `Skill("moai-foundation-langs")` |
40| Debugging, error analysis | `moai-essentials-debug` | `Skill("moai-essentials-debug")` |
41| Refactoring, code improvement | `moai-essentials-refactor` | `Skill("moai-essentials-refactor")` |
42| Performance optimization | `moai-essentials-perf` | `Skill("moai-essentials-perf")` |
43| Code review, quality review | `moai-essentials-review` | `Skill("moai-essentials-review")` |
44
45### 5 AskUserQuestion Scenarios
46
47Use `AskUserQuestion` when:
481. Tech stack choice unclear (multiple frameworks/languages)
492. Architecture decision needed (monolith vs microservices)
503. User intent ambiguous (multiple valid interpretations)
514. Existing component impacts unknown (breaking changes)
525. Resource constraints unclear (budget, timeline)
53
54### TRUST 5 Quality Gates
55
56- **Test**: 85%+ coverage required
57- **Readable**: No code smells, SOLID principles
58- **Unified**: Consistent patterns, no duplicate logic
59- **Secured**: OWASP Top 10 checks, no secrets
60- **Trackable**: @TAG chain intact (SPEC→TEST→CODE→DOC)
61
62### TAG Chain Integrity Rules
63
64- Assign as `<DOMAIN>-<###>` (e.g., `AUTH-003`)
65- Create `@TEST` before `@CODE`
66- Document in HISTORY section
67- Never have orphan TAGs (TAG without corresponding code)
68
69## Progressive Disclosure
70
71Learn more in `reference.md` for complete rules, decision trees, and validation methods.
72
73---
74
75**Version**: 1.0.0
76**Related Skills**: moai-foundation-trust, moai-foundation-tags, moai-alfred-practices