AgentSkillsCN

document-writer-generic

使用标准Markdown语法,为博客文章与文档撰写写作指南。

SKILL.md
--- frontmatter
name: document-writer-generic
description: Writing guidance for blog posts and documentation using standard Markdown syntax
user-invocable: false

Documentation Writer (Generic Markdown)

Overview

Writing guidance for blog posts and documentation using standard Markdown syntax.

When to Use

  • Writing blog posts or documentation for any project
  • Creating or editing Markdown content
  • Ensuring consistent writing style across content
  • Projects not using MDC or Nuxt Content

Writing Standard

Override: When writing documentation, maintain proper grammar and complete sentences. The "sacrifice grammar for brevity" rule does NOT apply here.

Documentation must be:

  • Grammatically correct
  • Clear and unambiguous
  • Properly punctuated
  • Complete sentences (not fragments)

Brevity is still valued, but never at the cost of clarity or correctness.

Available References

ReferencePurpose
references/writing-style.mdVoice, tone, sentence structure
references/content-patterns.mdBlog frontmatter, structure, component patterns

Load based on context:

Quick Reference

Writing Patterns

PatternExample
Subject-first"The useFetch composable handles data fetching."
Imperative"Add the following to config.ts."
Contextual"When using authentication, configure..."

Modal Verbs

VerbMeaning
canOptional
shouldRecommended
mustRequired

Callout Patterns (WHEN to use)

NeedMarkdown Pattern
Info aside> **Note:** ...
Suggestion> **Tip:** ...
Caution> **Warning:** ...
Required> **Important:** ...
Danger> **Caution:** ...
CTA[Label](url)
Multi-source codeSeparate code blocks with titles
Expandable<details><summary>...</summary>...</details>

Headings

  • H1 (#): No backticks — they don't render properly in some renderers
  • H2-H4: Backticks work fine

Checklist

  • Active voice (85%+)
  • Present tense
  • 2-4 sentences per paragraph
  • Explanation before code
  • File path labels on code blocks
  • Appropriate callout types
  • No backticks in H1 headings