AgentSkillsCN

docs-authoring

为 Tenzir 项目撰写文档。当您需要创建或更新教程、指南、说明文档、参考手册,或进行各类集成时,可选用此方法。

SKILL.md
--- frontmatter
name: docs-authoring
description: Author documentation for Tenzir projects. Use when creating or updating tutorials, guides, explanations, reference, or integrations.

Authoring Documentation

Author documentation for Tenzir projects following the Diátaxis framework.

Diátaxis Framework

Tenzir documentation uses the Diátaxis framework, which organizes content into four quadrants based on user needs:

SectionPurposeReader question
TutorialsLearning-oriented lessons"I want to learn"
GuidesGoal-oriented how-tos"I want to accomplish X"
ExplanationsUnderstanding-oriented"I want to understand"
ReferenceInformation-oriented"I need facts"

See diataxis.md for the decision tree and section guidelines.

Integrations

Separately from Diátaxis, Integrations documents third-party products: "How do I use X with Tenzir?"

Organized by vendor/category: integrations/<category>/<product>.mdx

Directory Structure

Documentation content lives at src/content/docs/ relative to the documentation root.

code
src/content/docs/
├── tutorials/      # Learning-oriented projects
├── guides/         # Task-oriented how-tos
├── explanations/   # Conceptual understanding
├── reference/      # Technical specifications (some auto-generated)
└── integrations/   # Third-party products by vendor

File Format

  • Use .mdx for new files
  • Add frontmatter with title and description
  • Use tql as the language identifier for TQL code blocks

See format.md for frontmatter and code block details.

Writing Style

Invoke dev:technical-writing for detailed style guidance.

Workflow

Use @dev:docs-updater to write, review, and publish documentation autonomously.