بنقرة واحدة
documentation-and-adrs
Write documentation that stays accurate and decisions that stay recorded
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Write documentation that stays accurate and decisions that stay recorded
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Build UIs that work for all users including keyboard navigation, screen readers, and WCAG 2.2
Design multi-agent systems with robust tool interfaces, state management, and failure handling
Build ML systems with disciplined training, evaluation, deployment, and safety practices
Design APIs that are stable, ergonomic, and evolvable
Design systems at the right scale with explicit trade-off documentation
Design services that are reliable, observable, secure, and maintainable
| name | documentation-and-adrs |
| description | Write documentation that stays accurate and decisions that stay recorded |
| difficulty | junior |
| domains | ["general"] |
Documentation that is wrong is worse than no documentation — it confidently misleads. This skill writes documentation that is minimal, accurate, and maintained. It also captures architectural decisions (ADRs) so future engineers understand why the system is the way it is.
Before writing: who is the reader? What do they already know? What do they need to do after reading this? Write for that person, not for yourself.
The code describes what. The documentation must describe: why this design, what was rejected, what trade-offs were made. This is what prevents future engineers from "improving" something that can't be improved.
Good README:
For every public API endpoint or function:
Write an ADR for every decision that is:
ADR format:
# ADR-NNN: [Short Title]
## Status
[Proposed | Accepted | Deprecated | Superseded by ADR-NNN]
## Context
[What situation led to this decision?]
## Decision
[What was decided?]
## Alternatives Considered
[What else was evaluated and why was it rejected?]
## Consequences
[What becomes easier or harder as a result?]
Documentation in a separate wiki will drift. Prefer: inline docstrings for functions, README.md in each directory, ADRs in a docs/decisions/ folder.
Have someone unfamiliar with the system follow the quick start. If they get stuck, the documentation is wrong.
"The code is self-documenting" Code says what. Documentation says why. No code is self-documenting for the why.
"No one reads ADRs" No one reads ADRs until they need to. That moment always comes.