Token导航 LogoToken导航TokenDH.com
AI 工具执行命令github未标认证来源可访问clear审计提醒

moai-workflow-project摩艾工作流程项目

Agent Skill

moai-workflow-project 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,640

周安装

67

GitHub Stars

964

下载量

531
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:moai-workflow-project(摩艾工作流程项目)
来源仓库:https://github.com/modu-ai/moai-adk
仓库路径:skills/moai-workflow-project
安装命令:
npx skills add https://github.com/modu-ai/moai-adk --skill moai-workflow-project
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/modu-ai/moai-adk --skill moai-workflow-project

简介

moai-workflow-project 用于处理 GitHub 仓库及相关协作信息。

  • 适合围绕代码变更、Issue 跟踪和 Pull Request 进行信息整合。
  • 支持在主流 AI 宿主环境中调用以辅助开发流程管理。
  • 使用前需确认是否具备足够的仓库访问和操作权限。
  • 建议结合实际项目分支结构和协作规范验证输出有效性。

SKILL.md

MoAI Workflow Project - Integrated Project Management System

Purpose: Comprehensive project management system that integrates documentation generation, multilingual support, and template optimization into unified architecture with intelligent automation and Claude Code integration.

Scope: Consolidates documentation management, language initialization, and template optimization into 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 documentation generation with multilingual support
  • Language Initialization: Language detection, configuration, and localization management
  • Template Optimization: Advanced template analysis and performance optimization
  • Unified Interface: Single entry point integrating all capabilities

Key Features:

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

Supported Project Types:

  • Web applications
  • Mobile applications
  • Command-line interface tools
  • Libraries and packages
  • Machine learning projects

Implementation Guide

Module Architecture

Documentation Management Capabilities:

  • Template-based documentation generation
  • Project type detection for web, mobile, CLI, library, and ML projects
  • Multilingual support with localized content
  • SPEC data integration for automatic updates
  • Multi-format export capabilities

Language Initialization Capabilities:

  • Automatic language detection from project content
  • Comprehensive language configuration management
  • Agent prompt localization with cost optimization
  • Domain-specific language support
  • Locale management and cultural adaptation

Template Optimization Capabilities:

  • Advanced template analysis with complexity metrics
  • Performance optimization with size reduction
  • Intelligent backup and recovery system
  • Benchmarking and performance tracking
  • Automated optimization recommendations

Core Workflows

Complete Project Initialization Workflow:

Step 1: Initialize the project management system by specifying the project directory path

Step 2: Execute complete setup with the following configuration parameters:

  • Language setting: Specify the primary language code such as "en" for English or "ko" for Korean
  • User name: Provide the developer or team name for personalization
  • Domains: List the project domains such as backend, frontend, and mobile
  • Project type: Specify the project type such as web_application
  • Optimization enabled: Set to true to enable template optimization during initialization

Step 3: Review initialization results which include:

  • Language configuration with token cost analysis
  • Documentation structure creation status
  • Template analysis and optimization report
  • Multilingual documentation setup confirmation

Documentation Generation from SPEC Workflow:

Step 1: Prepare SPEC data with the following structure:

  • Identifier: Unique SPEC ID such as SPEC-001
  • Title: Feature or component title
  • Description: Brief description of the implementation
  • Requirements: List of specific requirements
  • Status: Current status such as Planned, In Progress, or Complete
  • Priority: Priority level such as High, Medium, or Low
  • API Endpoints: List of endpoint definitions including path, method, and description

Step 2: Generate comprehensive documentation from the SPEC data

Step 3: Review generated documentation which includes:

  • Feature documentation with requirements
  • API documentation with endpoint details
  • Updated project documentation files
  • Multilingual versions if configured

Template Performance Optimization Workflow:

Step 1: Analyze current templates to gather metrics

Step 2: Configure optimization options:

  • Backup first: Set to true to create backup before optimization
  • Apply size optimizations: Enable to reduce file sizes
  • Apply performance optimizations: Enable to improve loading times
  • Apply complexity optimizations: Enable to simplify template structures
  • Preserve functionality: Ensure all features remain intact

Step 3: Execute optimization and review results:

  • Size reduction percentage achieved
  • Performance improvement metrics
  • Backup creation confirmation
  • Detailed optimization report

Language and Localization

Automatic Language Detection Process:

The system analyzes the project for language indicators using the following methods:

  • File content analysis examining comments and strings
  • Configuration file examination for locale settings
  • System locale detection
  • Directory structure patterns

Multilingual Documentation Structure:

When creating documentation for multiple languages, the system generates:

  • Language-specific documentation directories such as docs/ko for Korean and docs/en for English
  • Language negotiation configuration
  • Automatic redirection setup between language versions

Agent Prompt Localization:

The localization system provides:

  • Language-specific instructions for agents
  • Cultural context adaptations
  • Token cost optimization recommendations for multilingual prompts

Template Optimization

Performance Analysis Process:

Template analysis provides the following metrics:

  • File size and complexity measurements
  • Performance bottleneck identification
  • Optimization opportunity scoring
  • Resource usage patterns
  • Backup recommendations

Intelligent Optimization Process:

The optimization system applies the following techniques:

  • Whitespace and redundancy reduction
  • Template structure optimization
  • Complexity reduction techniques
  • Performance caching improvements

Configuration Management

Integrated Configuration Status:

The project status includes:

  • Project metadata and type classification
  • Language configuration and associated costs
  • Documentation completion status
  • Template optimization results
  • Module initialization states

Language Settings Update Process:

When updating language settings, configure the following parameters:

  • Conversation language: The language for user-facing responses
  • Agent prompt language: The language for internal agent instructions, often kept as English for cost optimization
  • Documentation language: The language for generated documentation

Updates trigger the following automatic changes:

  • Configuration file modifications
  • Documentation structure updates
  • Template localization adjustments

Advanced Implementation

For advanced patterns including custom template development, performance optimization strategies, and integration workflows, see reference.md which covers:

  • Custom Templates: Creating project-type-specific documentation templates
  • Performance Caching: Implementing template caching for improved performance
  • Batch Processing: Efficiently processing multiple templates simultaneously
  • Integration Workflows: Complete project lifecycle and multilingual management

Resources

Configuration Structure

Project Configuration Fields:

  • Project name: The display name for the project
  • Project type: Classification such as web_application, mobile_application, or cli_tool
  • Initialization timestamp: When the project was initialized
  • Language configuration: Conversation, agent prompt, and documentation language settings
  • System version: The project management system version
  • Initialization status: Whether all modules are fully initialized

Language Configuration Fields for Each Supported Language:

  • Name: Display name in English
  • Native name: Display name in the native language
  • Code: Language code such as en, ko, ja, or zh
  • Locale: System locale string
  • Agent prompt language: Whether to use English or localized prompts
  • Token cost impact: Percentage increase in token usage for non-English prompts

Performance Metrics

Documentation Generation Performance:

  • Complete documentation generation typically completes within 2 to 5 seconds
  • Language detection analysis completes within approximately 500 milliseconds
  • Template optimization duration varies from 10 to 30 seconds depending on project size
  • Configuration updates complete within approximately 100 milliseconds

Memory Usage Characteristics:

  • Base system requires approximately 50MB RAM
  • Large projects may require an additional 10 to 50MB depending on template count
  • Optimization cache uses approximately 5 to 20MB for performance improvements

File Size Impact:

  • Documentation files range from 50 to 200KB per project
  • Optimization backups match the size of original templates
  • Configuration files range from 5 to 10KB for complete project setup

Works Well With

  • moai-foundation-core: Core execution patterns and SPEC-driven development workflows
  • moai-foundation-cc: Claude Code integration and configuration
  • moai-workflow-docs: Unified documentation management
  • moai-workflow-templates: Template optimization strategies
  • moai-library-nextra: Advanced 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).

Full template library and optimization patterns: modules/templates.md


Documentation Generation (absorbed from moai-docs-generation)

Technical documentation generation using Sphinx, MkDocs, TypeDoc, OpenAPI, and Nextra.

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

Full generator configurations: modules/docs-generation.md


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

On-demand documentation discovery and loading based on user intent and conversation context.

Primary Tools

  • Context7 MCP (mcp__context7__resolve-library-id, mcp__context7__get-library-docs): 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. Context7 MCP (official, version-matched library docs)
  3. WebSearch + WebFetch (latest online resources)

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

25.58%
按下载量换算136

Cursor

22.94%
按下载量换算122

Codex

16.27%
按下载量换算86

Antigravity

14.04%
按下载量换算75

OpenCode

7.74%
按下载量换算41

Gemini CLI

3.84%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/modu-ai/moai-adk --skill moai-workflow-project;npx skills add modu-ai/moai-adk --skill "moai-workflow-project" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills