documentation-writer

📁 ship-studio/saul-goodman-lawyer-template 📅 7 days ago
4
总安装量
4
周安装量
#50660
全站排名
安装命令
npx skills add https://github.com/ship-studio/saul-goodman-lawyer-template --skill documentation-writer

Agent 安装分布

gemini-cli 4
amp 4
cline 4
github-copilot 4
codex 4
kimi-cli 4

Skill 文档

Documentation Writer

This skill ensures documentation stays current and accessible for non-technical users. SITE.md is the single source of truth for what a website contains.

Core Principle

Update documentation immediately after every change. Non-developers rely on SITE.md to understand their site. Outdated docs cause confusion and frustration.

SITE.md Structure

# [Site Name]

## What's On Your Site

### Pages
- **Homepage** (`/`) - What visitors see first. Contains [describe sections].
- **About** (`/about`) - Information about [topic].

### Shared Elements
- **Navigation bar** - Links to [list pages]. Appears on every page.
- **Footer** - Contains [describe content].

## Recent Changes
- [Date]: [What changed in plain English]
- [Date]: [What changed in plain English]

## Quick Guide
- To change the site name: [simple instruction]
- To add a new page: [simple instruction]
- To change colors: [simple instruction]

Writing Style Rules

  1. No jargon: Say “the main page” not “the root route”
  2. No code terms: Say “the top menu” not “the nav component”
  3. Be specific: Say “Added a blue Contact button” not “Updated CTA”
  4. Use familiar words: “section”, “button”, “link”, “picture”, “menu”
  5. Explain what users see: Describe visual elements, not implementation

When to Update

Update SITE.md after:

  • Creating or deleting a page
  • Adding or removing sections
  • Changing navigation or footer
  • Modifying colors, fonts, or layout
  • Adding images or media
  • Any visible change to the site

Example Updates

Good:

Added a “Contact Us” section at the bottom of the homepage with an email form.

Bad:

Implemented ContactForm component with useState for form handling.

Good:

Changed the button colors from blue to green across the site.

Bad:

Updated primary color CSS variable in globals.css.

After Every Task

  1. Make the code changes
  2. Open SITE.md
  3. Update the relevant section
  4. Add entry to “Recent Changes” with today’s date
  5. Tell the user what changed in simple terms