Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

moai-workflow-spec

БесплатноБез исполняемых скриптовНе проверен

SPEC workflow orchestration with EARS format requirements, acceptance criteria, and Plan-Run-Sync integration for MoAI-ADK development methodology. Use when…

modu-aiот modu-ai★ 69 звёзд на GitHub13 установок в других каталогах

Об этом скилле

SPEC Workflow Management

Quick Reference (30 seconds)

SPEC Workflow Orchestration - Comprehensive specification management using EARS format for systematic requirement definition and Plan-Run-Sync workflow integration.

Core Capabilities:

  • EARS Format Specifications: Five requirement patterns for clarity
  • Requirement Clarification: Four-step systematic process
  • SPEC Document Templates: Standardized structure for consistency
  • Plan-Run-Sync Integration: Seamless workflow connection
  • Parallel Development: Git Worktree-based SPEC isolation
  • Quality Gates: TRUST 5 framework validation

EARS Five Patterns:

  • Ubiquitous: The system shall always perform action - Always active
  • Event-Driven: WHEN event occurs THEN action executes - Trigger-response
  • State-Driven: IF condition is true THEN action executes - Conditional behavior
  • Unwanted: The system shall not perform action - Prohibition
  • Optional: Where possible, provide feature - Nice-to-have

When to Use:

  • Feature planning and requirement definition
  • SPEC document creation and maintenance
  • Parallel feature development coordination
  • Quality assurance and validation planning

Quick Commands:

  • Create new SPEC: /moai:1-plan "user authentication system"
  • Create parallel SPECs with Worktrees: /moai:1-plan "login feature" "signup feature" --worktree
  • Create SPEC with new branch: /moai:1-plan "payment processing" --branch
  • Update existing SPEC: /moai:1-plan SPEC-001 "add OAuth support"

Implementation Guide (5 minutes)

Core Concepts

SPEC-First Development Philosophy:

  • EARS format ensures unambiguous requirements
  • Requirement clarification prevents scope creep
  • Systematic validation through test scenarios
  • Integration with DDD workflow for implementation
  • Quality gates enforce completion criteria
  • Constitution reference ensures project-wide consistency

Constitution Reference (SDD 2025 Standard)

Constitution defines the project DNA that all SPECs must respect. Before creating any SPEC, verify alignment with project constitution defined in .moai/project/tech.md.

Constitution Components:

  • Technology Stack: Required versions and frameworks
  • Naming Conventions: Variable, function, and file naming standards
  • Forbidden Libraries: Libraries explicitly prohibited with alternatives
  • Architectural Patterns: Layering rules and dependency directions
  • Security Standards: Authentication patterns and encryption requirements
  • Logging Standards: Log format and structured logging requirements

Constitution Verification:

  • All SPEC technology choices must align with Constitution stack versions
  • No SPEC may introduce forbidden libraries or patterns
  • SPEC must follow naming conventions defined in Constitution
  • SPEC must respect architectural boundaries and layering

WHY: Constitution prevents architectural drift and ensures maintainability IMPACT: SPECs aligned with Constitution reduce integration conflicts significantly

SPEC Workflow Stages

Stage 1 - User Input Analysis: Parse natural language feature description Stage 2 - Requirement Clarification: Four-step systematic process Stage 3 - EARS Pattern Application: Structure requirements using five patterns Stage 4 - Success Criteria Definition: Establish completion metrics Stage 5 - Test Scenario Generation: Create verification test cases Stage 6 - SPEC Document Generation: Produce standardized markdown output

EARS Format Deep Dive

Ubiquitous Requirements - Always Active:

  • Use case: System-wide quality attributes
  • Examples: Logging, input validation, error handling
  • Test strategy: Include in all feature test suites as common verification

Event-Driven Requirements - Trigger-Response:

  • Use case: User interactions and inter-system communication
  • Examples: Button clicks, file uploads, payment completions
  • Test strategy: Event simulation with expected response verification

State-Driven Requirements - Conditional Behavior:

  • Use case: Access control, state machines, conditional business logic
  • Examples: Account status checks, inventory verification, permission checks
  • Test strategy: State setup with conditional behavior verification

Unwanted Requirements - Prohibited Actions:

  • Use case: Security vulnerabilities, data integrity protection
  • Examples: No plaintext passwords, no unauthorized access, no PII in logs
  • Test strategy: Negative test cases with prohibited behavior verification

Optional Requirements - Enhancement Features:

  • Use case: MVP scope definition, feature prioritization
  • Examples: OAuth login, dark mode, offline mode
  • Test strategy: Conditional test execution based on implementation status

Requirement Clarification Process

Step 0 - Assumption Analysis (Philosopher Framework):

Before defining scope, surface and validate underlying assumptions using AskUserQuestion.

Assumption Categories:

  • Technical Assumptions: Technology capabilities, API availability, performance characteristics
  • Business Assumptions: User behavior, market
Полный SKILL.md на GitHub

Установить moai-workflow-spec в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash(git:*)
Bash(ls:*)
Bash(wc:*)
Bash(mkdir:*)
Grep
Glob
mcp__context7__resolve-library-id
mcp__context7__get-library-docs

Вложенные файлы

modules/advanced-patterns.mdreferences/examples.mdreferences/reference.md

FAQ

Что делает скилл moai-workflow-spec?

SPEC workflow orchestration with EARS format requirements, acceptance criteria, and Plan-Run-Sync integration for MoAI-ADK development methodology. Use when creating SPEC documents, writing EARS requirements, defining acceptance criteria, planning features, or orchestrating the /moai plan phase. Do NOT use for implementation (use moai-workflow-ddd instead) or documentation generation (use moai-workflow-project instead).

Как установить скилл moai-workflow-spec?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл moai-workflow-spec запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить moai-workflow-spec с