Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

writing-web-documentation编写网络文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

5,491

周安装

220

GitHub Stars

649

下载量

1,778
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:writing-web-documentation(编写网络文档)
来源仓库:https://github.com/onmax/nuxt-skills
仓库路径:skills/writing-web-documentation
安装命令:
npx skills add https://github.com/onmax/nuxt-skills --skill writing-web-documentation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/onmax/nuxt-skills --skill writing-web-documentation

简介

用于辅助文档、README、Markdown 和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节、统一术语或检查链接,提升内容可读性。
  • 使用时应保留项目已有事实和路径,避免写成确定结论;对外文案需注意语气控制。
  • 安装命令:npx skills add https://github.com/onmax/nuxt-skills --skill writing-web-documentation。
  • 支持 Codex、Claude、Cursor、Gemini CLI,通过 GitHub 仓库安装。

SKILL.md

Writing web documentation

Use this skill when the user wants excellent technical documentation for a web project, not merely "some text around the code." The job is to produce documentation that is easy to enter, easy to scan, easy to trust, and easy to maintain.

Good documentation is not a dump of product facts. It is a guided path through the product for a reader with a specific goal.

What this skill optimizes for

  1. Fast first success A new reader should reach a working result quickly.
  2. Clear routing by intent A beginner learning the product and an expert checking an option should not have to fight the same page.
  3. Low ambiguity Commands, file names, versions, prerequisites, expected outcomes, and failure states should be explicit.
  4. Scannability Busy developers skim before they read. Headings, intros, lists, tables, and code blocks should make the page navigable at a glance.
  5. Maintenance Docs should age gracefully, be easy to update with code changes, and make stale information obvious.

Non-goals

Do not optimize for:

  • hype
  • marketing language
  • exhaustive background on every page
  • showing every supported variation in the first document
  • clever prose
  • giant code dumps with little explanation

First decide: what kind of page is this?

Never draft before choosing the page type. Keep page types distinct.

README or docs landing page

Use for orientation and routing.

  • Answer: What is this? Who is it for? Where do I start?
  • Keep it short.
  • Push deep detail into child pages.

Quickstart

Use for the fastest happy path to a working result.

  • One path.
  • One main environment.
  • Minimal branching.
  • Clear prerequisites and a visible success state.

Tutorial

Use to teach by doing.

  • The reader builds something meaningful.
  • Include checkpoints and a recap.
  • Explain enough for learning, not enough for encyclopedia coverage.

How-to guide

Use to solve one concrete problem.

  • Assumes the reader already knows the basics.
  • Focus on outcome, not background theory.

Reference

Use to answer precise factual questions.

  • Syntax, options, defaults, parameters, return values, events, errors, limits, compatibility.
  • Dry, complete, easy to scan.

Explanation / concept page

Use to build mental models.

  • Why the system works this way.
  • Architecture, trade-offs, invariants, decision rules.
  • Link outward to task docs and reference docs.

Troubleshooting page

Use to diagnose problems by symptom.

  • Symptom -> likely cause -> fix -> verify -> prevention.

Migration guide

Use when versions, APIs, or architecture change.

  • Make breakage explicit.
  • Show before/after.
  • Give a safe order of operations.
  • Include rollback guidance when relevant.

The default workflow

Follow this workflow unless the user asks for something narrower.

1) Identify the reader and job

Infer or state:

  • reader type: beginner, experienced user, maintainer, integrator, API consumer, platform engineer
  • task: learn, set up, integrate, customize, debug, migrate, deploy, contribute
  • environment: framework, runtime, package manager, OS, browser, hosting target
  • success state: what the reader should be able to do after finishing

If any important fact is missing, do not block forever. Make the narrowest reasonable assumption and label it clearly.

2) Inventory facts before prose

Collect the facts that often go stale:

  • package names
  • install commands
  • runtime and framework versions
  • supported browsers or environments
  • environment variables
  • URLs, endpoints, ports, callback paths
  • permissions, auth requirements, keys, tokens
  • build, test, and deploy commands
  • breaking changes or constraints

If you cannot verify a fact, avoid inventing it. Use a clearly marked placeholder or assumption.

3) Build the page skeleton first

Before writing full paragraphs, create a skeleton with the exact sections the page needs.

Preferred order:

  • context
  • prerequisites
  • steps or body
  • verification / expected result
  • next steps / related pages

4) Write for the first successful run

Every task page should help the reader get one successful outcome as early as possible.

That means:

  • front-load the shortest working path
  • minimize branching
  • postpone advanced options
  • prefer one package manager and one framework unless the project truly supports several first-class entry points
  • show what success looks like

5) Make examples runnable

Examples should be copy-pasteable or easy to adapt.

  • Use real filenames and realistic directories.
  • Label code fences.
  • Keep examples minimal but complete.
  • Add comments only where they remove ambiguity.
  • If a command is destructive or billable, warn first.
  • Show expected output or visible result after important steps.

6) Tighten the prose

After the draft exists:

  • shorten intros
  • split long paragraphs
  • convert vague headings into task-based headings
  • remove duplicated explanation
  • move theory out of procedural pages
  • move detail out of landing pages

7) Run the review checklist

Use assets/review-checklist.md before delivering.

Reference files

Load these on demand based on current task:

ReferencePurpose
references/house-style.mdVoice, sentence style, headings, length targets, page-type patterns
references/web-project-rules.mdWeb-project checklists, code example rules, anti-patterns, accessibility, docs-as-code
references/research-notes.mdResearch synthesis from strong documentation sites and style guides

DO NOT load all files at once. Load only what's relevant to your current task.

How to respond in common task modes

When asked to write a page from scratch

Deliver:

  1. the appropriate page type
  2. a polished Markdown draft
  3. clearly marked assumptions if any important facts are unknown

When asked to improve existing docs

Do this in order:

  1. identify the current page type
  2. remove mixed modes
  3. tighten structure
  4. rewrite for clarity
  5. preserve technical meaning
  6. call out factual gaps or staleness risks

When asked to review docs

Return:

  • the page type
  • the top issues in priority order
  • exact rewrite suggestions
  • missing sections
  • any staleness or trust issues

When asked to design a docs site

Return:

  • audience segments
  • entry points
  • page types needed
  • sitemap
  • priority order for authoring
  • gaps and risks

Files in this skill

  • assets/documentation-brief-template.md — collect facts before writing
  • assets/docs-ia-template.md — structure a docs site or section
  • assets/docs-home-template.md — landing page skeleton
  • assets/readme-template.md — README skeleton
  • assets/quickstart-template.md — happy-path setup guide
  • assets/tutorial-template.md — learning-by-doing guide
  • assets/how-to-template.md — task-focused guide
  • assets/reference-template.md — API/reference skeleton
  • assets/explanation-template.md — mental-model page
  • assets/troubleshooting-template.md — symptom-first troubleshooting
  • assets/migration-guide-template.md — upgrade/migration page
  • assets/review-checklist.md — final quality gate
  • references/house-style.md — voice, length targets, page-type patterns
  • references/web-project-rules.md — web-project checklists, code rules, anti-patterns
  • references/research-notes.md — why these rules exist

Final instruction

The best documentation pages feel easy because the writer made a hundred careful choices for the reader:

  • what belongs on this page
  • what does not
  • what comes first
  • what to cut
  • what to verify
  • what to explain
  • what to defer

Make those choices deliberately.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.48%
按下载量换算595

Claude

29.02%
按下载量换算516

Cursor

19.43%
按下载量换算345

Gemini CLI

9.02%
按下载量换算160

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills