moai-workflow-design-context

Consolidate design briefs into a token-budgeted Moai workflow context.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/gkswls5006-web/last-todo --skill moai-workflow-design-context-gkswls5006-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-workflow-design-context
Source: https://github.com/gkswls5006-web/last-todo/tree/main/.claude/skills/moai-workflow-design-context
Command: npx skills add https://github.com/gkswls5006-web/last-todo --skill moai-workflow-design-context-gkswls5006-web

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Loads human-authored design briefs from .moai/design/ (research, system, spec, pencil-plan) and injects them into /moai design workflow context with priority truncation when token budget is exceeded.

Core Features & Use Cases

  • Loads and sequences content from spec, system, research, and pencil-plan.
  • Applies token-budget-aware truncation to produce a compact context block for injection into downstream agents.
  • Use Case: When a designer updates design briefs in .moai/design, this skill automatically refreshes the workspace context for orchestrator prompts.

Quick Start

Use the moai-workflow-design-context skill to load the current design briefs into the workflow context.

Frequently Asked Questions about moai-workflow-design-context

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

FAQPage Schema
How do I consolidate design briefs into a token-budgeted workflow context?

To consolidate design briefs into a token-budgeted workflow context, this skill reads files from the .moai/design directory and applies priority-based truncation to produce a compact context block for injection. It sequences spec, system, research, and pencil-plan content while honoring design_docs configuration limits.

What happens when design briefs exceed the token budget for agent injection?

When design briefs exceed the token budget, priority-based truncation is automatically applied to the loaded content. The system reads spec, system, research, and pencil-plan files in parallel, truncating lower-priority information to ensure the consolidated context block fits within the configured limits.

How do I load updated design briefs into the Moai workspace context?

To load updated design briefs into the Moai workspace context, the skill reads human-authored research, system, spec, and pencil-plan files from the .moai/design directory. It processes these files in parallel and returns a designed context block ready for immediate orchestrator injection.

Does the Moai workflow context skill support parallel file reading for design docs?

Yes, the Moai workflow context skill supports parallel file reading for design docs. It simultaneously loads spec, system, research, and pencil-plan files from the .moai/design directory before applying token-budget-aware truncation and generating the final context block with optional warnings.

Can I use design_docs configuration to control workflow context generation?

Yes, you can use design_docs configuration to control workflow context generation. The skill explicitly honors these configuration settings when loading and sequencing content from the .moai/design directory, ensuring the generated context block aligns with your specified priority and token budget constraints.

Are there limitations when truncating design briefs for orchestrator prompts?

A key limitation when truncating design briefs is potential information loss from priority-based truncation during token budget enforcement. While the skill consolidates the files and returns a context block ready for injection, it provides optional warnings to alert you when content has been truncated.