sync-docs

分类: 工具与效率 | 上传者: toberttobert | 下载: 0 | 版本: v1.0(最新)

This skill should be used when the user asks to "sync docs", "update README", "update CLAUDE.md", "sync documentation with code", "check if docs are current", "refresh builtin table", "update help docs", "improve docs", "review documentation", or mentions documentation drift, stale docs, doc quality, or doc/code synchronization. Also trigger after adding or removing a builtin tool, changing language syntax, or modifying VFS mounts. --- # Sync & Improve Documentation Synchronize and continuously improve README.md, CLAUDE.md, help system docs, and language reference with the actual kaish codebase. The source of truth is always the code — docs follow. But don't just sync mechanically: apply kaizen. Every pass should leave docs clearer, more accurate, and more welcoming. ## Document Audiences Each document has a primary audience. Optimize for that audience: | Document | Primary Audience | Optimize For | |----------|-----------------|--------------| | **README.md** | **Humans** (developers discovering the project) | Clarity, invitation, first impressions. This is the front door. | | **CLAUDE.md** | **Claude / LLM agents** working in the codebase | Efficient orientation: architecture, conventions, build commands. What an agent needs to be productive immediately. | | **`docs/help/*.md`** | **LLM agents** consuming kaish via MCP | **Token density.** Every token costs money and context window. Pack maximum useful information per token. No filler, no preamble, no "this document describes...". | | **`docs/LANGUAGE.md`** | **Both** humans and agents | Complete language reference with working examples. | | **`help.rs`** | **Runtime** (agents calling `help builtins`) | Correct categorization of every registered tool. | > **Key distinction:** README.md sells kaish to humans. CLAUDE.md orients > agents to work *on* kaish. Don't mix these concerns. README doesn't need > crate internals; CLAUDE.md doesn't need marketing copy. ## Sources of Truth | What | Canonical Location | |------|

更新日志: Source: GitHub https://github.com/tobert/kaish

目录结构

当前层级: .claude/skills/sync-docs/

SKILL.md

登录后下载/点赞/收藏 ❤ 7 | ★ 0
评论 0

请先登录后评论。

还没有评论,快来第一个发言吧。