About ns-code-docs-writer
ns-code-docs-writer is a skill for developers who need to write or maintain project documentation in README files and docs/. It provides a workflow that checks existing project guidance and documentation structure before drafting.
Key features
- 01README 与 docs/ 文档撰写
- 02检查现有文档与项目指引
- 03按受众规划和起草文档
- 04使用相对链接连接规范
Use cases
- 01为新功能编写用户或开发者文档
- 02结构调整后更新过时的 README
- 03整理贡献者入门指南
- 04将分散笔记整合到 docs/
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ nextstage-brasil/ skills --skill ns-code-docs-writerAfter installing, type/ns-code-docs-writerin Claude Code to confirm it loaded.
Bundled filesevals/evals.jsonreferences/style-guide.md
Details
From the project READMEDocs Writer
Author clear, maintainable project documentation under docs/ and README files.
Harness discovery
See ../ns-harness/references/harness-discovery.md. Resolve {product_root} from AGENTS.md.
Scope
| In scope | Out of scope |
|---|---|
README.md at product or repo root | Inline // or /** code comments |
docs/**/*.md guides | docs/versions/*/requirements.md |
| Runbooks, install guides, architecture overviews for humans | Living specs in docs/specs/ (use ns-sdd-living-spec-consolidator) |
| Changelog entries when requested | Marketing copy outside repo |
When to use
- New feature needs user or developer documentation
- README is stale after structural changes
- Onboarding guide for contributors
- Consolidating scattered notes into
docs/
Workflow
- Discover — list existing
docs/, README, andAGENTS.mdlinks; avoid duplicating harness/brownfield artifacts (link instead). - Audience — confirm developer vs operator vs end-user (default: developer).
- Outline — short TOC before drafting long guides.
- Draft — follow
references/style-guide.md. - Link — prefer relative links; point to canonical rules in
.nextstage-harness/rules/when relevant.
Layout (stack-agnostic)
Do not assume monorepo packages/ layout. Infer from:
AGENTS.mdlayout tablearchitecture-rules.md- Existing
docs/structure
Create subfolders only when they match project convention.
Integration
When called from ns-spec-driven, document delivered behavior — do not invent requirements.
Forbidden
- Copying full bodies of
brownfield-map.mdorsystem-reverse-spec.mdinto new docs (link them) - English violations when project mandates English docs
- Auto-generating docs for code that does not exist yet