Skip to content

docs: streamline READMEs, add RDK board skills + Chinese versions#10

Merged
QiaolongLi1201 merged 1 commit into
mainfrom
docs/readme-streamline-i18n
Jun 14, 2026
Merged

docs: streamline READMEs, add RDK board skills + Chinese versions#10
QiaolongLi1201 merged 1 commit into
mainfrom
docs/readme-streamline-i18n

Conversation

@QiaolongLi1201

Copy link
Copy Markdown
Collaborator

Why

The root README (399 lines) and npm README (564 lines) had grown bloated — mixing the user quick-start with maintainer/architecture/embedding internals — so a new reader couldn't tell at a glance what Moss is, and there was no Chinese version.

What changed

  • README.md 399 → ~210 lines. Tight one-line hero, then quick-start, why, everyday use, board connect, long-running tasks, models, safety, skills/MCP, embedding, and a single links section for the maintainer docs (AGENTS.md, roadmap, host-adapter contract, release checklist) that used to be inlined. All readme-accuracy.spec tokens preserved (board mode, /disconnect, --hybrid, resume section, Shift+Tab, /yolo, every --ask-for-approval value, moss doctor).
  • New "Give Moss RDK Board Skills" section — what the device-knowledge pack (rdk-device / rdk-ros / rdk-peripheral-cookbook / rdk-board-knowledge / …) unlocks on a connected board, and the three verified ways to load it: a default skill root (~/.agents/skills), the skills.extraRoots config key, or in-workspace skills/ auto-discovery.
  • packages/dmoss-agent/README.md 564 → ~170 lines — refocused on the npm package's real value (the embeddable runtime: LLMProvider minimal path, DmossAgent quickstart, key API surface, streaming/hooks/goal), with the duplicated CLI manual compressed to a pointer at the project README. Keeps /resume.
  • Chinese versionsREADME.zh-CN.md and packages/dmoss-agent/README.zh-CN.md, each README gets a top-of-file English · 简体中文 toggle. The package zh README is added to the npm files allowlist so it ships.

Verification

  • npm run verify green locally (one timing-flake in the cli-tui-command-guard TUI drive test on the first run, passed standalone and on a clean re-run — unrelated to docs).
  • check:hygiene passes: all relative links and anchors resolve, including the cross-file CJK anchor from the package zh README to the root zh board-skills section.
  • Merging only after CI passes on ubuntu + macos + windows.

The root and npm READMEs had grown to 399 and 564 lines, mixing the user
quick-start with maintainer/architecture/embedding internals, so a new
reader could not tell at a glance what Moss is or do anything quickly.

- README.md: 399 → ~210 lines. Tight one-line hero, then quick-start,
  why, everyday use, board connect, long-running tasks, models, safety,
  skills/MCP, embedding, and one links section for the maintainer docs
  (AGENTS.md, roadmap, host-adapter contract, release checklist) that
  used to be inlined. All readme-accuracy.spec tokens preserved.
- New "Give Moss RDK Board Skills" section: what the device-knowledge
  skill pack (rdk-device / rdk-ros / rdk-peripheral-cookbook / …) unlocks
  on a connected board, and the three ways to load it (default skill
  root, skills.extraRoots config, or in-workspace skills/ auto-discovery).
- packages/dmoss-agent/README.md: 564 → ~170 lines, refocused on the npm
  package's real value — the embeddable runtime (LLMProvider minimal path,
  DmossAgent quickstart, key API surface, streaming/hooks/goal) — with the
  duplicated CLI manual compressed to a pointer at the project README.
- Chinese versions: README.zh-CN.md and packages/dmoss-agent/README.zh-CN.md,
  with a top-of-file language toggle on every README. Added the package
  zh README to the npm `files` allowlist so it ships.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@QiaolongLi1201 QiaolongLi1201 merged commit 488649b into main Jun 14, 2026
3 checks passed
@QiaolongLi1201 QiaolongLi1201 deleted the docs/readme-streamline-i18n branch June 14, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant