AI-driven code documentation management!
Just tell AI what you want to do, and it handles everything automatically.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ Simple Workflow โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ ๐ After Plugin Upgrade: โ
โ User: "/docs-check" โ
โ โ โ
โ ๐ง AI detects & auto-migrates old docs structure โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ New Project: โ โ
โ โ User: "/docs-scan" โ โ
โ โ โ โ โ
โ โ ๐ค AI scans codebase and generates documentation โ โ
โ โ โ โ โ
โ โ User: "/docs-prepare add login feature" โ โ
โ โ โ โ โ
โ โ ๐ AI reads related docs and outputs dev plan โ โ
โ โ โ โ โ
โ โ ๐ป User implements the feature โ โ
โ โ โ โ โ
โ โ User: "/docs-archive" โ โ
โ โ โ โ โ
โ โ ๐ AI summarizes & updates all related docs โ โ
โ โ โ โ โ
โ โ โ
Documentation updated! โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Feature | Description |
|---|---|
| ๐ค AI-Driven | All analysis done by AI, not scripts |
| ๐ Auto Read | AI reads docs and outputs development plan before coding |
| ๐ Auto Archive | AI summarizes changes and updates all related docs |
| ๐ Incremental Update | Support incremental updates, only update changed parts |
| ๐ง Auto Migrate | /docs-check detects outdated structure and auto-migrates to latest format |
| ๐ Changelog System | Complete changelog with statistics, history, and dev cycles |
| ๐ Multiple Commands | /docs, /docs-scan, /docs-update, /docs-check, /docs-prepare, /docs-archive |
- UI Design Asset Support:
icon.svg,logo.svg,icon-*.pngand other UI icons are now properly categorized intodocs/design/instead of being excluded - Refined Asset Filtering: Only
favicon.*is treated as engineering resource (browser tab icon) โ all other design assets are scanned and categorized - Icon/Logo Keyword Rules: New keywords
icon,logo,ๅพๆ route matching files todesign/(in addition to existingui,mockup,figma, etc.)
- Doc Structure Check & Auto-Migration:
/docs-check- Detects outdated docs structure AND automatically migrates to latest format (one-shot) - Batch Doc Categorization: One scan + one ask + one move for all project docs (no per-file prompts)
- Smart File Move (not copy): Project docs are moved to docs/ subdirs, not copied (cleaner state)
- Auto-Skip CLAUDE.md/AGENTS.md: Workflow rule files are excluded from categorization
- Frontend Project Detection:
/docs-scannow detects project category (frontend/backend/fullstack) and skips irrelevant docs
- Smart Assistant:
/docs <description>- AI automatically detects intent and executes the appropriate workflow - Bug Analysis: Built-in bug detection and analysis capabilities
- Doc Structure Check:
/docs-check- Detect if your existing docs use the latest format (after plugin upgrade) - Unified Command: One command to handle all scenarios - development, bug finding, archiving, scanning, updating
# Step 1: Add marketplace
/plugin marketplace add Leo-skye-taylor/code-documents-auto-skill
# Step 2: Install plugin
/plugin install code-documents-auto@code-documents-auto-skillWhen a new version is available, run:
# Uninstall old version
/plugin uninstall code-documents-auto@code-documents-auto-skill
# Clear cache (optional but recommended)
rm -rf ~/.claude/plugins/cache/code-documents-auto-skill
# Reinstall latest version
/plugin install code-documents-auto@code-documents-auto-skillIf you're upgrading from an older version (e.g. v3.1.0 or earlier), run /docs-check once to auto-migrate your existing docs:
/docs-checkWhat /docs-check does:
| Action | Description |
|---|---|
| ๐ Detects | Scans .ai-context/ for outdated structures |
| ๐ Splits | Single-file changelogs โ folder with 6 core docs |
| ๐ Upgrades | 5-column old table โ 8-column new format (with ๆ่ฟฐ) |
| ๐ Creates | Missing docs/ subdirectories (requirements/technical/testing/design/other) |
| ๐ท๏ธ Improves | Generic titles (just "feat") โ descriptive titles from folder names |
| ๐ฆ Categorizes | Batch-moves project docs to docs/ subdirs (one prompt, not per-file) |
Migration example:
โ Before (v3.1.0):
.ai-context/changelog/2026-06-16-initial-scan.md
โ
After (v3.1.2 with /docs-check):
.ai-context/changelog/2026-06-16-initial-scan/
โโโ overview.md
โโโ files.md
โโโ technical.md
โโโ impact.md
โโโ testing.md
โโโ deployment.md
โโโ docs/
โโโ requirements/ โ project docs auto-categorized
โโโ technical/
โโโ testing/
โโโ design/
โโโ other/๐ก Tip: After running
/docs-check, you can verify the migration by checking the.ai-context/changelog/folder.
| Command | Description | Use Case |
|---|---|---|
/docs <ๆ่ฟฐ> |
Smart assistant, auto-detect intent | Any scenario |
/docs-scan |
Full scan, generate all docs | First time, after major refactor |
/docs-update |
Incremental update | After daily development |
/docs-check |
Detect & auto-migrate docs structure | After plugin upgrade |
/docs-prepare <task> |
Pre-development, output dev plan | Before starting a task |
/docs-archive |
Archive mode, update docs | After development |
/docs-scan
/docs-prepare add cross-origin configuration
/docs-prepare fix login bug
/docs-archive
/docs-check
This command detects if your existing docs use the latest format and shows what needs migration.
project-root/
โโโ CLAUDE.md # Workflow rules
โโโ AGENTS.md # AI Agent behavior rules
โโโ .ai-context/
โโโ README.md # Project overview
โโโ architecture.md # System architecture
โโโ modules/ # Module docs
โโโ api/ # API docs
โโโ database/ # Database design
โโโ middleware/ # Middleware usage
โโโ guidelines/ # Coding standards
โโโ changelog/ # Change history
โ โโโ README.md # Index (statistics, history list)
โ โโโ {date}-{name}/ # Each iteration folder
โ โ โโโ overview.md # Change overview
โ โ โโโ files.md # File list
โ โ โโโ technical.md # Technical details
โ โ โโโ impact.md # Impact scope
โ โ โโโ testing.md # Test verification
โ โ โโโ deployment.md # Deployment info
โ โ โโโ docs/ # User-provided docs (optional)
โ โ โโโ requirements/ # Requirements docs
โ โ โโโ technical/ # Technical docs
โ โ โโโ testing/ # Test reports
โ โ โโโ design/ # Design docs
โ โ โโโ other/ # Other docs
โ โโโ dev-cycles/ # Development cycle records (optional)
โโโ decisions/ # Decision records
AI ้ฉฑๅจ็ไปฃ็ ๆๆกฃ็ฎก็๏ผ
ๅช้ๅ่ฏ AI ไฝ ๆณๅไปไน๏ผๅฎไผ่ชๅจๅค็ไธๅใ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ ็ฎๅๅทฅไฝๆต โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ ๐ ๅ็บงๆไปถๅ๏ผ โ
โ ็จๆท: "/docs-check" โ
โ โ โ
โ ๐ง AI ๆฃๆตๅนถ่ชๅจ่ฟ็งปๆงๆๆกฃ็ปๆ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ ๆฐ้กน็ฎๆต็จ๏ผ โ โ
โ โ ็จๆท: "/docs-scan" โ โ
โ โ โ โ โ
โ โ ๐ค AI ๆซๆไปฃ็ ๅบๅนถ็ๆๆๆกฃ โ โ
โ โ โ โ โ
โ โ ็จๆท: "/docs-prepare ๆทปๅ ็ปๅฝๅ่ฝ" โ โ
โ โ โ โ โ
โ โ ๐ AI ่ชๅจ่ฏปๅ็ธๅ
ณๆๆกฃๅนถ่พๅบๅผๅๆนๆก โ โ
โ โ โ โ โ
โ โ ๐ป ็จๆทๅฎ็ฐๅ่ฝ โ โ
โ โ โ โ โ
โ โ ็จๆท: "/docs-archive" โ โ
โ โ โ โ โ
โ โ ๐ AI ๆป็ปๅๆดๅนถๆดๆฐๆๆ็ธๅ
ณๆๆกฃ โ โ
โ โ โ โ โ
โ โ โ
ๆๆกฃๅทฒๆดๆฐ๏ผ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| ๅ่ฝ | ๆ่ฟฐ |
|---|---|
| ๐ค AI ้ฉฑๅจ | ๆๆๅๆ็ฑ AI ๅฎๆ๏ผไธไฝฟ็จ่ๆฌ |
| ๐ ่ชๅจ่ฏปๅ | ็ผ็ ๅ AI ่ชๅจ่ฏปๅๆๆกฃๅนถ่พๅบๅผๅๆนๆก |
| ๐ ่ชๅจๅฝๆกฃ | AI ๆป็ปๅๆดๅนถๆดๆฐๆๆ็ธๅ ณๆๆกฃ |
| ๐ ๅข้ๆดๆฐ | ๆฏๆๅข้ๆดๆฐ๏ผๅชๆดๆฐๅๆด้จๅ |
| ๐ง ่ชๅจ่ฟ็งป | /docs-check ๆฃๆต่ฟๆถ็ปๆๅนถ่ชๅจ่ฟ็งปๅฐๆๆฐๆ ผๅผ |
| ๐ ๅๆด่ฎฐๅฝ็ณป็ป | ๅฎๆด็ๅๆด่ฎฐๅฝ๏ผๅ ๅซ็ป่ฎกใๅๅฒๅๅผๅๅจๆ |
| ๐ ๅคๆไปคๆฏๆ | /docsใ/docs-scanใ/docs-updateใ/docs-checkใ/docs-prepareใ/docs-archive |
- UI ่ฎพ่ฎก่ตไบงๆฏๆ๏ผ
icon.svgใlogo.svgใicon-*.png็ญ UI ๅพๆ ็ฐๅจไผๆญฃ็กฎๅฝ็ฑปๅฐdocs/design/๏ผไธๅ่ขซ่ฏฏๆ้ค - ่ตๆบ่ฟๆปคๆด็ฒพ็ป๏ผไป
favicon.*่งไธบๅทฅ็จ่ตๆบ๏ผๆต่งๅจๆ ็ญพๅพๆ ๏ผๆ้ค๏ผๅ ถไป่ฎพ่ฎก่ตไบงๅ จ้จๅไธๅฝ็ฑป - ๆฐๅข icon/logo ๅ
ณ้ฎ่ฏ๏ผๅฝ็ฑป่งๅๆฐๅข
iconใlogoใๅพๆ ๅ ณ้ฎ่ฏ๏ผไธuiใmockupใfigma็ญๅนถๅ
- ๆๆกฃ็ปๆๆฃๆต + ่ชๅจ่ฟ็งป๏ผ
/docs-check- ๆฃๆต่ฟๆถๆ ผๅผๅนถ่ชๅจ่ฟ็งปๅฐๆๆฐ็๏ผไธ้ฎๆๅฎ๏ผ - ๆน้ๆๆกฃๅฝ็ฑป๏ผไธๆฌกๆงๆซๆ + ไธๆฌกๆง่ฏข้ฎ + ไธๆฌกๆง็งปๅจ๏ผไธๅ้ไธชๆไปถ้ฎ๏ผ
- ๆบ่ฝๆไปถ็งปๅจ๏ผ้ๅคๅถ๏ผ๏ผ้กน็ฎๆๆกฃ็งปๅจๅฐ docs/ ๅญ็ฎๅฝ๏ผไธๅจๅไฝ็ฝฎไฟ็
- ่ชๅจ่ทณ่ฟ CLAUDE.md/AGENTS.md๏ผๅทฅไฝๆต่งๅๆไปถไธๅไธๅฝ็ฑป
- ๅ็ซฏ้กน็ฎๆบ่ฝ่ฏๅซ๏ผ
/docs-scan่ชๅจๅคๆญ้กน็ฎๅ็ฑป๏ผๅ็ซฏ/ๅ็ซฏ/ๅ จๆ ๏ผ๏ผ่ทณ่ฟไธ็ธๅ ณๆๆกฃ
- ๆบ่ฝๅฉๆ๏ผ
/docs <ๆ่ฟฐ>- AI ่ชๅจ่ฏๅซๆๅพ๏ผๆง่กๅฏนๅบ็ workflow - Bug ๅๆ๏ผๅ ็ฝฎ Bug ๆฃๆตๅๅๆ่ฝๅ
- ๆๆกฃ็ปๆๆฃๆต๏ผ
/docs-check- ๆฃๆต็ฐๆๆๆกฃๆฏๅฆไฝฟ็จๆๆฐๆ ผๅผ๏ผๅ็บงๆไปถ็ๆฌๅไฝฟ็จ๏ผ - ็ปไธๅฝไปค๏ผไธไธชๅฝไปคๅค็ๆๆๅบๆฏ - ๅผๅใๆพBugใๅฝๆกฃใๆซๆใๆดๆฐ
# ็ฌฌไธๆญฅ๏ผๆทปๅ ๅธๅบ
/plugin marketplace add Leo-skye-taylor/code-documents-auto-skill
# ็ฌฌไบๆญฅ๏ผๅฎ่ฃ
ๆไปถ
/plugin install code-documents-auto@code-documents-auto-skillๅฝๆๆฐ็ๆฌๅฏ็จๆถ๏ผๆง่กไปฅไธๅฝไปค๏ผ
# ๅธ่ฝฝๆง็ๆฌ
/plugin uninstall code-documents-auto@code-documents-auto-skill
# ๆธ
้ค็ผๅญ๏ผๅฏ้ไฝๆจ่๏ผ
rm -rf ~/.claude/plugins/cache/code-documents-auto-skill
# ้ๆฐๅฎ่ฃ
ๆๆฐ็ๆฌ
/plugin install code-documents-auto@code-documents-auto-skillๅฆๆไฝ ไปๆง็ๆฌ๏ผๆฏๅฆ v3.1.0 ๆๆดๆฉ๏ผๅ็บง๏ผ่ทไธๆฌก /docs-check ๅณๅฏ่ชๅจ่ฟ็งปไฝ ็็ฐๆๆๆกฃ๏ผ
/docs-check/docs-check ไผๅไปไน๏ผ
| ๆไฝ | ่ฏดๆ |
|---|---|
| ๐ ๆฃๆต | ๆซๆ .ai-context/๏ผ่ฏๅซ่ฟๆถ็ปๆ |
| ๐ ๆๅ | ๅๆไปถ changelog โ ๆไปถๅคน + 6 ไธชๆ ธๅฟๆๆกฃ |
| ๐ ๅ็บง | 5 ๅๆง่กจๆ ผ โ 8 ๅๆฐๆ ผๅผ๏ผๅซ"ๆ่ฟฐ"ๅ๏ผ |
| ๐ ๅๅปบ | ็ผบๅคฑ็ docs/ ๅญ็ฎๅฝ๏ผrequirements/technical/testing/design/other๏ผ |
| ๐ท๏ธ ๆน่ฟ | ้็จๆ ้ข๏ผๅฆๅชๅกซ"feat"๏ผโ ไปๆไปถๅคนๅ็ๆๆ่ฟฐๆงๆ ้ข |
| ๐ฆ ๅฝ็ฑป | ๆน้็งปๅจ้กน็ฎๆๆกฃๅฐ docs/ ๅญ็ฎๅฝ๏ผไธๆฌก่ฏข้ฎ๏ผไธ้ไธช้ฎ๏ผ |
่ฟ็งปๆๆ็คบไพ๏ผ
โ ๅ็บงๅ (v3.1.0)๏ผ
.ai-context/changelog/2026-06-16-initial-scan.md
โ
ๅ็บงๅ (v3.1.2 ่ท /docs-check)๏ผ
.ai-context/changelog/2026-06-16-initial-scan/
โโโ overview.md
โโโ files.md
โโโ technical.md
โโโ impact.md
โโโ testing.md
โโโ deployment.md
โโโ docs/
โโโ requirements/ โ ้กน็ฎๆๆกฃ่ชๅจๅฝ็ฑปๅฐ่ฟ้
โโโ technical/
โโโ testing/
โโโ design/
โโโ other/๐ก ่ดดๅฃซ๏ผ่ทๅฎ
/docs-checkๅ๏ผๅฏไปฅๆฅ็.ai-context/changelog/็ฎๅฝ็กฎ่ฎค่ฟ็งปๆๆใ
| ๆไปค | ่ฏดๆ | ไฝฟ็จๅบๆฏ |
|---|---|---|
/docs <ๆ่ฟฐ> |
ๆบ่ฝๅฉๆ๏ผ่ชๅจ่ฏๅซๆๅพ | ไปปไฝๅบๆฏ |
/docs-scan |
ๅ จ้ๆซๆ๏ผ็ๆๅฎๆดๆๆกฃ | ้ฆๆฌกไฝฟ็จใ้ๅคง้ๆๅ |
/docs-update |
ๅข้ๆดๆฐ๏ผๅชๆดๆฐๅๆด้จๅ | ๆฅๅธธๅผๅๅ |
/docs-check |
ๆฃๆตๆๆกฃ็ปๆๅนถ่ชๅจ่ฟ็งป | ๅ็บงๆไปถ็ๆฌๅ |
/docs-prepare <ไปปๅก> |
ๅผๅๅๅๅค๏ผ่พๅบๅผๅๆนๆก | ๅผๅงๆฐไปปๅกๅ |
/docs-archive |
ๅฝๆกฃๆจกๅผ๏ผๆดๆฐๆๆกฃ | ๅผๅๅฎๆๅ |
/docs-scan
/docs-prepare ๅ ่ทจๅ่ฏทๆฑ้
็ฝฎ
/docs-prepare ไฟฎๅค็ปๅฝ bug
/docs-archive
/docs-check
่ฏฅๆไปคไผ่ชๅจๆฃๆต็ฐๆๆๆกฃๆ ผๅผ๏ผ่ชๅจ่ฟ็งปๅฐๆๆฐ็ๆฌ๏ผๅนถๆน้ๅฝ็ฑป้กน็ฎไธ็ๆฃ่ฝๆๆกฃๅฐๅฏนๅบ docs/ ๅญ็ฎๅฝใ
้กน็ฎๆ น็ฎๅฝ/
โโโ CLAUDE.md # ๅทฅไฝๆต่งๅ
โโโ AGENTS.md # AI Agent ่กไธบ่งๅ
โโโ .ai-context/
โโโ README.md # ้กน็ฎๆฆ่ง
โโโ architecture.md # ็ณป็ปๆถๆ
โโโ modules/ # ๆจกๅๆๆกฃ
โโโ api/ # API ๆๆกฃ
โโโ database/ # ๆฐๆฎๅบ่ฎพ่ฎก
โโโ middleware/ # ไธญ้ดไปถไฝฟ็จ
โโโ guidelines/ # ็ผ็ ่ง่
โโโ changelog/ # ๅๆด่ฎฐๅฝ
โ โโโ README.md # ๆป็ดขๅผ๏ผๅๆด็ป่ฎกใๅๅฒๅ่กจ๏ผ
โ โโโ {ๆฅๆ}-{ๆ ่ฏ}/ # ๆฏๆฌก่ฟญไปฃ็ๆไปถๅคน
โ โ โโโ overview.md # ๅๆดๆฆ่ฟฐ
โ โ โโโ files.md # ๆไปถๆธ
ๅ
โ โ โโโ technical.md # ๆๆฏ็ป่
โ โ โโโ impact.md # ๅฝฑๅ่ๅด
โ โ โโโ testing.md # ๆต่ฏ้ช่ฏ
โ โ โโโ deployment.md # ้จ็ฝฒไฟกๆฏ
โ โ โโโ docs/ # ็จๆทๆไพ็ๆๆกฃ๏ผๅฏ้๏ผ
โ โ โโโ requirements/ # ้ๆฑๆๆกฃ
โ โ โโโ technical/ # ๆๆฏๆๆกฃ
โ โ โโโ testing/ # ๆต่ฏๆฅๅ
โ โ โโโ design/ # ่ฎพ่ฎกๆๆกฃ
โ โ โโโ other/ # ๅ
ถไปๆๆกฃ
โ โโโ dev-cycles/ # ๅผๅๅจๆ่ฎฐๅฝ๏ผๅฏ้๏ผ
โโโ decisions/ # ๆๆฏๅณ็ญ
Contributions are welcome! Please see CONTRIBUTING.md for details.
ๆฌข่ฟ่ดก็ฎ๏ผ่ฏทๆฅ็ CONTRIBUTING.md ไบ่งฃ่ฏฆๆ ใ
This project is licensed under the MIT License - see the LICENSE file for details.
ๆฌ้กน็ฎ้็จ MIT ่ฎธๅฏ่ฏ - ่ฏฆๆ ่ฏทๆฅ็ LICENSE ๆไปถใ
Made with โค๏ธ by Leo-skye-taylor