Moai Workflow Project logo

Moai Workflow Project

OrganizationPopular
modu-ai
moai-workflow-project

Integrated project management system covering documentation, language initialization, template optimization, docs generation, and JIT document loading. Absorbed from moai-workflow-templates, moai-docs-generation, and moai-workflow-jit-docs.

Overview

Publishermodu-ai
Repositorymoai-adk
Skill namemoai-workflow-project
Stars
1.2K
Forks
226
Bundled files
23
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 23 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by modu-ai on GitHub. Read the source before you install it.

Installation

Install the Moai Workflow Project AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-workflow-project
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modu-ai/moai-adk.git /tmp/moai-adk
mkdir -p .claude/skills
cp -r /tmp/moai-adk/.claude/skills/moai-workflow-project .claude/skills/moai-workflow-project
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Moai Workflow Project in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Moai Workflow Project on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Moai Workflow Project is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

MoAI Workflow Project - Integrated Project Management System

Comprehensive project management system integrating documentation generation, multilingual support, and template optimization into a unified architecture with intelligent automation and Claude Code integration.

Scope: Consolidates documentation management, language initialization, and template optimization into a single cohesive system supporting complete project lifecycle from initialization to maintenance.

Target: Claude Code agents for project setup, documentation generation, multilingual support, and performance optimization.


Quick Reference

Core Capabilities:

  • Documentation Management: Template-based generation with multilingual support
  • Language Initialization: Detection, configuration, localization
  • Template Optimization: Analysis with performance optimization
  • Unified Interface: Single entry point for all capabilities

Key Features:

  • Automatic project type detection and template selection
  • Multilingual documentation (English, Korean, Japanese, Chinese)
  • Intelligent template optimization with benchmarking
  • SPEC-driven documentation updates
  • Multi-format export (Markdown, HTML, PDF)

Supported Project Types: web applications, mobile applications, CLI tools, libraries, ML projects.


Implementation Guide

Module Architecture

Three capability areas:

  • Documentation Management: template-based generation, project type detection, multilingual support, SPEC integration, multi-format export
  • Language Initialization: automatic detection, configuration management, agent prompt localization, locale management
  • Template Optimization: complexity analysis, performance optimization, backup/recovery, benchmarking

Core Workflows

Three workflows: project initialization, documentation generation from SPEC, template performance optimization. Each follows a 3-step pattern (configure → execute → review results). The initialization and settings interviews walk the question structure defined in schemas/tab_schema.json.

See core workflow walkthroughs for detailed step-by-step procedures.

Language and Localization

Automatic Language Detection: analyzes file content, configuration files, system locale, and directory structure.

Multilingual Documentation: language-specific directories (e.g., docs/ko, docs/en), language negotiation, automatic redirection.

Agent Prompt Localization: language-specific instructions, cultural context, token cost optimization.

See language and localization detail for token cost analysis and locale configuration.

Template Optimization

Performance Analysis: file size, complexity, performance bottlenecks, optimization opportunities, resource usage, backup recommendations.

Optimization Techniques: whitespace reduction, structure optimization, complexity reduction, performance caching.

Configuration Management

Integrated configuration covers project metadata, language settings + costs, documentation status, template optimization results, module initialization states.

Language Settings: conversation_language (user-facing), agent_prompt_language (internal, often English for cost), documentation language (per language).

Updates trigger configuration file modifications, documentation structure updates, template localization.

See configuration schema and language fields for full field reference and supported language metadata.


Advanced Implementation

For advanced patterns (custom templates, performance caching, batch processing, integration workflows), see references/reference.md and references/examples.md.


Resources

Performance Metrics

OperationTypical Duration
Complete documentation generation2-5 seconds
Language detection analysis~500 ms
Template optimization10-30 seconds
Configuration updates~100 ms

Memory: base ~50MB, large projects +10-50MB, optimization cache 5-20MB.

File sizes: documentation 50-200KB per project, optimization backups match originals, configuration 5-10KB.


Works Well With

  • moai-foundation-core: Core execution patterns and SPEC-driven workflows
  • moai-foundation-cc: Claude Code integration and configuration
  • moai-workflow-docs: Unified documentation management
  • moai-workflow-templates: Template optimization strategies
  • moai-library-nextra: Documentation architecture

Common Rationalizations

RationalizationReality
"project docs are a one-time setup, no need to keep them current"Stale product.md and tech.md mislead every SPEC written against them. They are living documents.
"structure.md will stay accurate since the codebase does not change much"Every PR that adds a directory invalidates structure.md. Sync on every /moai project invocation.
"I know the tech stack, I do not need tech.md"tech.md is not for you. It is for every agent that consults the project context before acting.
"codemaps take too long to generate"codemaps are the only artifact that gives agents file-level awareness without reading every file. The cost pays for itself.
"I will write project docs after the feature is done"Post-hoc docs capture what was built, not what was intended. Pre-feature docs guide the build.

Red Flags

  • product.md references features that do not exist in the codebase
  • tech.md lists a framework version that differs from the actual dependency file
  • structure.md missing directories that exist on disk
  • codemaps/ directory is empty or missing while the project has 10+ source files
  • /moai project last ran more than 30 days ago (check file modification dates)

Verification

  • product.md exists and describes the current product scope (compare with README)
  • tech.md lists dependencies that match the actual lock file (package.json, go.mod, etc.)
  • structure.md top-level directories match ls output of the project root
  • codemaps/ contains at least one codemap file per major package or module
  • All three docs updated within the current session or since last structural change
  • No placeholder text ("TODO", "TBD") remains in generated documents

Template Optimization (absorbed from moai-workflow-templates)

Code boilerplates, feedback templates, scaffolding, and project template optimization.

Core Capabilities

  • Code template library: FastAPI, React, Vue, Next.js boilerplates
  • GitHub issue feedback templates: 6 types (bug, feature, question, docs, perf, security)
  • Project template optimization: size reduction, complexity analysis, smart merging
  • Template version management, backup discovery and restoration

Template Application Workflow

  1. Identify template category: code boilerplate, feedback template, or project scaffold
  2. Select template variant matching the project stack and language
  3. Apply customization variables (project name, author, license, framework version)
  4. Validate rendered output against schema or existing conventions
  5. Optionally run template optimizer to reduce redundancy

Template Optimization Process

Analysis metrics: file size, complexity score, redundancy ratio, load performance. Optimization techniques: whitespace reduction, deduplication, structure simplification. Always create backup before applying optimization (backup: true).


Documentation Generation (absorbed from moai-docs-generation)

Technical docs generation using Sphinx, MkDocs, TypeDoc, OpenAPI, and Nextra. Covers project configuration discovery, how to integrate with existing docs sites, and best practices for keeping framework documentation and technology guide content current.

Supported Generators

GeneratorUse CasePrimary Format
SphinxPython projects, API docsRST / Markdown
MkDocsGeneral projectsMarkdown
TypeDocTypeScript librariesTypeScript JSDoc
OpenAPI / SwaggerREST APIsYAML / JSON
NextraNext.js docs sitesMDX

Generation Workflow

  1. Detect project type and select appropriate generator
  2. Extract documentation sources: docstrings, JSDoc, OpenAPI specs, SPEC documents
  3. Apply project language and branding from .moai/config/sections/language.yaml
  4. Generate output in configured format (Markdown, HTML, PDF)
  5. Update /moai sync artifacts: README, CHANGELOG, API reference

JIT Document Loading (absorbed from moai-workflow-jit-docs)

JIT docs (just in time docs) — on-demand documentation discovery and loading based on user intent and conversation context.

Primary Tools

  • WebSearch/WebFetch (, ): Official library docs
  • WebFetch / WebSearch: Latest online documentation
  • Read, Grep, Glob: Local project documentation

Trigger Patterns

  • User asks specific technical questions about a library or framework
  • Technology keyword detected (library name, framework name, API name)
  • Domain expertise required (authentication, database, deployment)
  • Implementation guidance needed during run phase

Loading Priority

  1. Local project docs (.moai/, README, SPEC documents)
  2. WebSearch/WebFetch (official, version-matched library docs)
  3. WebSearch + WebFetch (latest online resources)

Token budget: 5000 tokens per JIT load. Summarize if source exceeds budget.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Moai Workflow Project AI skill do?

Integrated project management system covering documentation, language initialization, template optimization, docs generation, and JIT document loading. Absorbed from moai-workflow-templates, moai-docs-generation, and moai-workflow-jit-docs.

Why use Moai Workflow Project on TypingMind?

Because you install it once and use it with any model. Moai Workflow Project is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Moai Workflow Project in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-workflow-project. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Moai Workflow Project?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Moai Workflow Project?

As many as you like. As long as a model supports skills, you can use Moai Workflow Project with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Moai Workflow Project AI skill free?

Yes. It is published on GitHub by modu-ai under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇