Agent Skill
2/7/2026

doc-smith-clear

Clear Doc-Smith site authorization and deployment configuration. Use this skill when the user requests to clear authorization, reset configuration, or remove deployment settings.

A
aigne
2GitHub Stars
1Views
npx skills add AIGNE-io/doc-smith-skills

SKILL.md

Namedoc-smith-clear
DescriptionClear Doc-Smith site authorization and deployment configuration. Use this skill when the user requests to clear authorization, reset configuration, or remove deployment settings.

DocSmith Skills

<p align="center"> <img src="./logo/logo.svg" alt="DocSmith Skills" width="120"> </p> <p align="center"> <img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FAIGNE-io%2Fdoc-smith-skills%2Fmain%2F.claude-plugin%2Fmarketplace.json&query=%24.metadata.version&label=version&style=for-the-badge&color=blue" alt="Version"> <img src="https://img.shields.io/badge/Agent_Skill-blueviolet?style=for-the-badge" alt="Agent Skill"> <img src="https://img.shields.io/badge/MCP-Compatible-blue?style=for-the-badge" alt="MCP Compatible"> <img src="https://img.shields.io/badge/license-Elastic--2.0-green?style=for-the-badge" alt="License"> <a href="https://github.com/AIGNE-io/doc-smith-skills/stargazers"> <img src="https://img.shields.io/github/stars/AIGNE-io/doc-smith-skills?style=for-the-badge" alt="GitHub Stars"> </a> </p> <p align="center"> English | <a href="./README.zh.md">中文</a> </p> <p align="center"> <a href="https://docsmith.aigne.io">Official Site</a> · <a href="https://docsmith.aigne.io/en/showcase">Showcase</a> · <a href="https://github.com/AIGNE-io/doc-smith-skills/issues">Report Bug</a> </p>

Turn your codebase into a polished documentation site with a single slash command — analyze, generate, translate, and publish, all inside your AI coding agent.

See it in action — Browse real documentation sites generated by DocSmith: Showcase

Table of Contents

How it Works

flowchart LR
    A[Analyze Project] --> B[Plan Structure]
    B --> C[Generate Docs]
    C --> D[Translate]
    D --> E[Publish]

    A -.- A1[Source code & project files]
    B -.- B1[User confirms outline]
    C -.- C1[HTML with AI images]
    D -.- D1[Multi-language support]
    E -.- E1[DocSmith Cloud URL]

Features

FeatureDescription
Smart AnalysisScans source code, README, configs to understand your project
Structured PlanningGenerates document outline for user review before writing
HTML GenerationProduces clean, navigable HTML documentation
AI ImagesAuto-generates diagrams, flowcharts, and architecture charts
Multi-languageTranslates docs to any language with terminology consistency
Incremental UpdatesHash-based change detection — only re-translates what changed
One-click PublishDeploy to DocSmith Cloud and get a shareable preview URL

Prerequisites

Installation

npx skills add AIGNE-io/doc-smith-skills

Powered by skills — the universal skill format for AI coding agents.

Or simply tell your AI coding agent:

Please install Skills from github.com/AIGNE-io/doc-smith-skills

<details> <summary><b>Via Claude Code Plugin Marketplace</b></summary>
# Register marketplace
/plugin marketplace add AIGNE-io/doc-smith-skills

# Install plugin
/plugin install doc-smith@doc-smith-skills
</details>

Quick Start

Step 1 — Generate documentation:

/doc-smith-create Generate English documentation for the current project

DocSmith will analyze your project, then present a document outline for you to review and confirm. After your confirmation, it generates full HTML documentation with AI images in .aigne/doc-smith/dist/.

Step 2 — Translate to other languages (optional):

/doc-smith-localize Translate docs to Japanese and Chinese
/doc-smith-localize --lang ja --lang zh

Only changed documents are re-translated. Use --force to translate everything.

Step 3 — Publish online:

/doc-smith-publish

Uploads your docs to DocSmith Cloud and returns a shareable URL.

Available Skills

SkillDescription
doc-smith-createGenerate structured documentation from project sources
doc-smith-localizeTranslate documents to multiple languages
doc-smith-publishPublish to DocSmith Cloud for online preview

Internal skills (called automatically, not invoked directly):

SkillDescription
doc-smith-buildBuild Markdown into static HTML
doc-smith-checkValidate document structure and content integrity
doc-smith-imagesGenerate AI images (diagrams, flowcharts, architecture)

doc-smith-create

Generate comprehensive documentation from code repositories, text files, and media resources.

/doc-smith-create Generate English documentation for the current project
/doc-smith-create 为当前项目生成中文文档
<details> <summary><b>Features & Details</b></summary>
  • Analyzes source code and project structure
  • Infers user intent and target audience
  • Plans document structure with user confirmation
  • Generates organized documentation with HTML output
  • AI-generated images for diagrams and architecture charts
  • Supports technical docs, user guides, API references, and tutorials
</details>

doc-smith-localize

Translate documents to multiple languages with batch processing and terminology consistency.

/doc-smith-localize Translate docs to English
/doc-smith-localize 把文档翻译成英文和日文
/doc-smith-localize --lang en --lang ja
<details> <summary><b>Options</b></summary>
OptionDescription
--lang <code>Target language code (repeatable)
--path <path>Translate specific document only
--forceForce re-translate all documents
</details> <details> <summary><b>Features & Details</b></summary>
  • HTML-to-HTML translation (no intermediate Markdown step)
  • Batch translation with progress tracking
  • Terminology consistency across documents
  • Image text translation support
  • Incremental translation with hash-based change detection
</details>

doc-smith-publish

Publish generated documents to DocSmith Cloud for online preview.

/doc-smith-publish
<details> <summary><b>Options</b></summary>
OptionDescription
--dir <path>Publish specific directory (default: .aigne/doc-smith/dist)
--hub <url>Custom hub URL
</details> <details> <summary><b>Features & Details</b></summary>
  • One-click publish to DocSmith Cloud
  • Automatic asset upload and optimization
  • Returns online preview URL
</details>

Workspace Structure

DocSmith creates a workspace in .aigne/doc-smith/ with its own git repository:

<details> <summary><b>View directory layout</b></summary>
my-project/
├── .aigne/
│   └── doc-smith/                     # DocSmith workspace (independent git repo)
│       ├── config.yaml                # Workspace configuration
│       ├── intent/
│       │   └── user-intent.md         # User intent description
│       ├── planning/
│       │   └── document-structure.yaml # Document structure plan
│       ├── docs/                      # Document metadata
│       ├── dist/                      # Built HTML output
│       │   ├── zh/                    # Chinese docs
│       │   ├── en/                    # English docs
│       │   └── assets/               # Styles, scripts, images
│       ├── assets/                    # Generated image assets
│       └── cache/                     # Temporary data (not in git)
</details>

FAQ

<details> <summary><b>What project types does DocSmith support?</b></summary>

DocSmith works with any project — it analyzes source code, configuration files, README, and other project files regardless of language or framework.

</details> <details> <summary><b>Where is the workspace located?</b></summary>

All DocSmith data lives in .aigne/doc-smith/ under your project root. It uses its own git repository, so it won't interfere with your project's version control.

</details> <details> <summary><b>How does incremental translation work?</b></summary>

DocSmith uses content hashing to detect changes. When you run /doc-smith-localize, only documents that have changed since the last translation will be re-translated. Use --force to override this behavior.

</details> <details> <summary><b>Can I customize the output theme?</b></summary>

Yes. DocSmith generates a theme.css file in the dist assets directory. You can modify it to customize colors, fonts, and layout.

</details>

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

Author

ArcBlock - blocklet@arcblock.io

GitHub: @ArcBlock

License

Elastic-2.0

Skills Info
Original Name:doc-smith-clearAuthor:aigne