Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

moai-workflow-docs摩艾工作流程文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rdmptv/adbautoplayer --skill moai-workflow-docs

简介

moai-workflow-docs 用于辅助文档、README、Markdown 和内容稿件的整理与改写,适合提炼结构、统一术语或检查链接。

  • 适用于需要让 Agent 处理说明文、内容稿件或技术文档的场景。
  • 使用时需保留项目已有事实和路径,避免将未确认信息写成确定结论。
  • 涉及对外文案时应控制语气,避免过度营销或夸大能力。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

⚠️ Partial UV Script Migration Notice 2 of 5 UV CLI scripts have been consolidated into the builder-skill-uvscript skill on 2025-11-30. Migrated scripts: - builder-skill_lint_docs.py (previously lint_korean_docs.py) - builder-skill_validate_diagrams.py (previously validate_mermaid_diagrams.py) - Find migrated scripts in: .claude/skills/builder-skill-uvscript/scripts/ Remaining scripts (3 workflow-specific scripts retained in this skill): - extract_mermaid_details.py - generate_final_comprehensive_report.py - validate_korean_typography.py Usage: - Migrated: uv run.claude/skills/builder-skill-uvscript/scripts/builder-skill_lint_docs.py - Retained: uv run.claude/skills/moai-workflow-docs/scripts/extract_mermaid_details.py

Quick Reference (30 seconds)

Purpose: Comprehensive documentation validation framework with 5 specialized phases.

Core Phases:

  1. Markdown Linting - Syntax, structure, links validation
  2. Mermaid Diagrams - Diagram syntax and type checking
  3. Mermaid Details - Code extraction and rendering guide
  4. Korean Typography - UTF-8, spacing, encoding validation
  5. Report Generation - Aggregated quality report

Key Benefits:

  • Catch errors before publication
  • Multi-language support (Korean, English, Japanese, Chinese)
  • Diagram syntax validation
  • Typography consistency
  • Actionable recommendations

Available Scripts: 5 validation and reporting scripts

Usage Pattern:

  1. Load skill: Skill("moai-workflow-docs")
  2. Check SKILL.md for "When to use"
  3. Execute script with --help flag
  4. Run script with options
  5. Only read source if --help insufficient

Important: Don't read script source code unless necessary. All scripts are self-documenting via --help flag.


Implementation Guide (5 minutes)

Features

  • Unified documentation generation for technical projects
  • README, API docs, architecture guides, and deployment docs
  • CommonMark compliance with proper formatting standards
  • Automated cross-referencing and navigation
  • Multi-language documentation support

When to Use

  • Generating project documentation from code and specifications
  • Creating API reference documentation automatically
  • Building architecture decision records (ADRs)
  • Producing deployment guides and runbooks
  • Synchronizing documentation with code changes

Core Patterns

Pattern 1: Documentation Structure

docs/
├── README.md (project overview)
├── API.md (API reference)
├── ARCHITECTURE.md (system design)
├── DEPLOYMENT.md (deployment guide)
└── CONTRIBUTING.md (contribution guide)

Pattern 2: Auto-generated API Docs

# Extract from code comments and type hints
def generate_api_docs(source_files):
    1. Parse docstrings and annotations
    2. Generate markdown tables for parameters/returns
    3. Include code examples from tests
    4. Cross-reference related endpoints
    5. Validate all links and references

Pattern 3: Documentation Sync

  1. Detect code changes via git diff
  2. Identify affected documentation sections
  3. Update docs automatically or prompt for review
  4. Validate documentation completeness
  5. Generate changelog entries

Available Scripts

scripts/lint_korean_docs.py

When to use: Validate Korean markdown documentation before committing Quick start: uv run.claude/skills/moai-workflow-docs/scripts/lint_korean_docs.py --help

Features:

  • Validate Korean markdown syntax (UTF-8 encoding)
  • Check heading structure (H1-H6 hierarchy)
  • Verify code block formatting
  • Detect broken internal links
  • Check list indentation
  • Dual output (human + --json)

Exit codes: 0 (pass), 1 (warnings), 2 (errors), 3 (fatal)

scripts/validate_mermaid_diagrams.py

When to use: Check Mermaid diagram syntax before committing documentation Quick start: uv run.claude/skills/moai-workflow-docs/scripts/validate_mermaid_diagrams.py --help

Features:

  • Validate Mermaid diagram types (flowchart, sequence, class, state, ER, gantt, pie)
  • Check syntax errors (missing nodes, edges, participants)
  • Verify required elements per diagram type
  • Detect unclosed diagram blocks
  • Dual output (human + --json)

Exit codes: 0 (all valid), 1 (warnings), 2 (invalid diagrams), 3 (fatal)

scripts/validate_korean_typography.py

When to use: Validate Korean typography rules and encoding Quick start: uv run.claude/skills/moai-workflow-docs/scripts/validate_korean_typography.py --help

scripts/extract_mermaid_details.py

When to use: Extract Mermaid diagrams for detailed review Quick start: uv run.claude/skills/moai-workflow-docs/scripts/extract_mermaid_details.py --help

scripts/generate_final_comprehensive_report.py

When to use: Generate aggregated validation report Quick start: uv run.claude/skills/moai-workflow-docs/scripts/generate_final_comprehensive_report.py --help


📚 Core Patterns (5-10 minutes)

Pattern 1: Documentation Validation Pipeline

Key Concept: Run validation scripts in sequence to catch multiple error types

Pipeline Flow:

  1. Run markdown linting on documentation files
  2. Validate all Mermaid diagrams for syntax
  3. Extract Mermaid diagrams for review
  4. Check Korean typography (if applicable)
  5. Generate comprehensive report

Basic Execution:

# Run complete validation
uv run .claude/skills/moai-workflow-docs/scripts/lint_korean_docs.py --help
uv run .claude/skills/moai-workflow-docs/scripts/lint_korean_docs.py --input docs/
uv run .claude/skills/moai-workflow-docs/scripts/lint_korean_docs.py --input docs/ --json

Pattern 2: Markdown Structure Validation

Key Concept: Ensure consistent markdown structure and formatting

Common Validations:

  • Headers: H1 unique, proper nesting (H1→H2→H3)
  • Code blocks: Language declared, matching delimiters
  • Links: Relative paths valid, files exist, HTTPS protocol
  • Lists: Consistent markers (-, *, +), proper indentation
  • Tables: Column count consistent, alignment markers

Example Issues:

❌ Missing language in code block: ```
✅ Correct syntax: ```python

❌ Invalid link: [text](../docs/file)
✅ Correct syntax: [text](../docs/file.md)

❌ Inconsistent list markers: - item1, * item2
✅ Consistent: - item1, - item2

Pattern 3: Mermaid Diagram Validation

Key Concept: Validate diagram syntax and type compatibility

Supported Types:

  • graph TD/BT/LR/RL - Flowcharts (top-down, bottom-up, left-right, right-left)
  • stateDiagram-v2 - State machines
  • sequenceDiagram - Sequence diagrams
  • classDiagram - Class structures
  • erDiagram - Entity relationship diagrams
  • gantt - Gantt charts (timelines)

Validation Checks:

  • Diagram type recognized
  • Configuration block valid
  • Node/edge relationships valid
  • Syntax errors detected
  • Complexity metrics

Pattern 4: Korean Typography Rules

Key Concept: Maintain Korean language best practices

Validation Rules:

  • No full-width ASCII characters (a-z should be a-z)
  • Proper spacing around parentheses: (한글) vs (한글)
  • UTF-8 encoding (no broken characters)
  • Consistent punctuation (,vs, 、vs..)
  • Proper use of Hangul vs Hanja (한글 vs 한漢字)

Pattern 5: Quality Report Generation

Key Concept: Aggregate validation results with actionable recommendations

Report Contents:

  • Summary statistics (files, issues, severity)
  • Issue categorization (errors vs warnings)
  • Priority ranking (critical, high, medium, low)
  • Specific file locations and line numbers
  • Recommended fixes

Advanced Documentation

This Skill uses Progressive Disclosure. For detailed implementation:


🔧 Common Use Cases

Use Case 1: CI/CD Integration

Run validation on every commit:

# .github/workflows/docs-validation.yml
on: [push, pull_request]
jobs:
  validate-docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Validate documentation
        run: |
          uv run .claude/skills/moai-workflow-docs/scripts/lint_korean_docs.py
          uv run .claude/skills/moai-workflow-docs/scripts/validate_mermaid_diagrams.py

Use Case 2: Pre-Commit Hook

Validate docs before committing:

#!/bin/bash
# .git/hooks/pre-commit
uv run .claude/skills/moai-workflow-docs/scripts/lint_korean_docs.py
if [ $? -ne 0 ]; then
  echo "Documentation validation failed"
  exit 1
fi

Use Case 3: Documentation Review

Generate report for review team:

uv run .claude/skills/moai-workflow-docs/scripts/generate_quality_report.py \
  --path docs/src \
  --output .moai/reports/review_report.txt \
  --format detailed

🔗 Integration with Other Skills

Complementary Skills:

  • Skill("moai-docs-generation") - Generate documentation automatically
  • Skill("moai-docs-toolkit") - Document manipulation and conversion
  • Skill("moai-cc-claude-md") - Markdown formatting standards

Typical Workflow:

  1. Use moai-docs-generation to create documentation
  2. Use this Skill (moai-workflow-docs) to validate output
  3. Use moai-docs-toolkit for additional processing

📈 Version History

1.0.1 (2025-11-23)

  • 🔄 Refactored with Progressive Disclosure pattern
  • 📚 Scripts moved to modules/ for clarity
  • ✨ Core patterns highlighted in SKILL.md
  • ✨ Added CI/CD and hook integration examples

1.0.0 (2025-11-12)

  • ✨ Markdown linting with 8 validation categories
  • ✨ Mermaid diagram validation
  • ✨ Korean typography validation
  • ✨ Comprehensive quality reporting

Works Well With

Agents:

  • workflow-docs - Documentation generation workflow
  • core-quality - Quality assurance and validation
  • workflow-spec - Specification documentation

Skills:

  • moai-docs-generation - Generate documentation automatically
  • moai-docs-toolkit - Document manipulation and conversion
  • moai-cc-claude-md - Markdown formatting standards
  • moai-library-mermaid - Advanced diagram validation
  • moai-library-nextra - Nextra-based documentation architecture

Commands:

  • /moai:3-sync - Documentation synchronization
  • /moai:9-feedback - Documentation improvement feedback

Maintained by: alfred Domain: Documentation & Quality Assurance Generated with: MoAI-ADK Skill Factory

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

26.79%
按下载量换算20

windsurf

23.5%
按下载量换算17

OpenCode

16.94%
按下载量换算12

Codex

13.46%
按下载量换算10

Antigravity

7.54%
按下载量换算6

Gemini CLI

3.74%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills