diataxis-documentation
Classify, write, review, and reorganize Agent Session Manager documentation using the Diátaxis framework. Use when changing public guides, internal documentation boundaries, navigation, documentation metadata, screenshots, or documentation quality checks.
- License 许可
- MIT
- 最近更新
- 2026-10-25
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- diataxis-documentation
- description
- Classify, write, review, and reorganize Agent Session Manager documentation using the Diátaxis framework. Use when changing public guides, internal documentation boundaries, navigation, documentation metadata, screenshots, or documentation quality checks.
02 资源文件 1
- 参考文档references/authoring-guide.md3.0 KB
03 SKILL.md 正文
Diátaxis documentation
Use the Diátaxis framework to match documentation to the user's immediate need. Read the local authoring reference before making a substantial documentation change:
See references/authoring-guide.md.
Classify before writing
Choose one dominant documentation type using the Diátaxis compass:
| The page informs... | The user is... | Type |
|---|---|---|
| Action | Acquiring skill | Tutorial |
| Action | Applying skill | How-to guide |
| Cognition | Applying skill | Reference |
| Cognition | Acquiring skill | Explanation |
Use the official Diátaxis primer and compass when the boundary is unclear.
Do not make one page serve multiple types merely by adding headings. Split material when the reader's goal, assumed knowledge, or writing obligation changes. Link to the other type instead.
Repository rules
- Public pages belong under
documentation/tutorials/,documentation/how-to/,documentation/reference/, ordocumentation/explanation/. - Internal feature, architecture, diagnostic, release, and agent guidance remains outside the public Jekyll output.
- Preserve an existing public
permalinkunless a redirect strategy is explicitly part of the change. - Verify public claims against current source, visible UI labels, tests, or canonical internal feature documentation.
- Explain product terms at first use; do not expose implementation paths, persistence schemas, telemetry details, or test-only controls in public guides.
- Do not use the acronym
ASM; writeAgent Session Manager. - Use only real-flow screenshots with descriptive alt text and captions.
- Update
_data/navigation.yml, related links, inventories, and publication checks when pages move or change type.
Review before finishing
- Confirm the page has one
diataxis_typevalue. - Check that its title and opening sentence match the selected type.
- Remove content that belongs in another type and add a useful link instead.
- Check exact UI labels and current supported-tool claims.
- Run
make docs-checkandscripts/test-release-publishing.sh. - Validate this skill with
skills-ref validate .agents/skills/diataxis-documentationwhen the validator is available.
04 同仓库更多 Skills
workflow
Development workflow for this repo: plan → test → implement → human review → repeat. Load when starting any feature, bug fix, or refactor.
usernotifications-documentation
UserNotifications official doc index — load when building notification features, requesting authorization, scheduling local notifications, handling notification actions, or any UserNotifications framework behavior.
swiftui-macos-form-alignment
SwiftUI macOS Form layout: alignment override bug, background control, and VStack-based alternative. Load when debugging alignment issues inside Form rows, or when row controls (toggles, text fields, pickers) are visually misaligned with their labels on macOS.
swiftui-documentation
SwiftUI official doc index — load when building SwiftUI views, modifiers, state management, data flow, AppKit bridging, or any SwiftUI behavior.
swifterm-documentation
SwiftTerm official doc index — load when building SwiftTerm features, terminal emulation, terminal views, process lifecycle, delegate callbacks, GPU rendering, pseudo-terminals, or any SwiftTerm-specific behavior. Any project that uses or interacts with SwiftTerm should load this skill.
sqlite-documentation
SQLite official doc index — load when working with SQLite, the C/C++ API, import SQLite3, prepared statements, binding, query execution, result codes, or any SQLite-specific behavior. Any project that uses or interacts with SQLite should load this skill.