10x-documentation
Rules for writing and updating documentation. Use for any non-trivial documentation task in README.md, markdown files, text files, and code comments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rules for writing and updating documentation. Use for any non-trivial documentation task in README.md, markdown files, text files, and code comments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Task and project management in .claude/global-project/. Use when user ask for a new task.
Thinking guidelines to reduce common coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
TypeScript and Angular coding best practices. Use when working with TypeScript, Angular, or Node.js files: implementation, testing, refactoring, RxJS Observables, type system, strict mode, generics, and async patterns.
Docker and docker-compose best practices. Use for any Docker task: Dockerfiles (multi-stage builds, alpine, non-root), docker compose services (Go API, frontend, MariaDB, Oracle), healthchecks, volumes, networks, and K8S-compatible configurations.
Best practices for Go project Makefiles. Use when creating or modifying a Go project Makefile: adding/reviewing targets, PHONY declarations, tab indentation, docker compose v2 targets.
Comprehensive testing specialist for all levels and types. Use when writing unit, integration, E2E, performance, or security tests; creating test strategies and plans; analyzing test coverage; building automation frameworks; managing defects; debugging test failures; manual testing (exploratory, usability, accessibility); scaling CI/CD test pipelines.
| name | 10x-documentation |
| description | Rules for writing and updating documentation. Use for any non-trivial documentation task in README.md, markdown files, text files, and code comments. |
Rules for producing clear, accurate, and maintainable documentation.
These apply to all output: changelogs, READMEs, code comments, ADRs, API docs.
Never use:
—). Use a comma, a colon, or rewrite the sentence.Always:
Format: Keep a Changelog. Group under [Unreleased] by date.
Categories: Added, Changed, Fixed, Removed.
Good entry: Added rate limiting middleware to the API router
Bad entry: Successfully implemented a comprehensive rate limiting solution that seamlessly integrates with the existing API infrastructure
Structure in this order:
File location: .claude/doc/ADR.md (single accumulated file, gitignored). Append new entries; do not create separate files.
Required sections: Status, Context, Decision, Consequences, Alternatives Considered.
Status values: Proposed | Accepted | Deprecated | Superseded by ADR-NNNN
Link related ADRs when the decision builds on or contradicts a previous one.
When relevant, add a clearly marked note for: