Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

technical-writing技术写作

Agent Skill

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

总安装

612

周安装

26

GitHub Stars

11

下载量

214
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/akillness/skills-template --skill technical-writing

简介

用于辅助技术文档、README 和内容稿件的撰写与重构。

  • 适合提炼结构、统一术语、检查链接或整合零散材料。
  • 支持架构文档、运行手册和部署说明等多种类型。
  • 安装命令:npx skills add https://github.com/akillness/skills-template --skill technical-writing
  • 应保留项目已有事实,避免将未确认信息写成确定结论

SKILL.md

Technical Writing

Use this skill when the main job is writing or restructuring internal technical documentation for builders and operators.

technical-writing is the documentation-cluster anchor for:

  • technical specs
  • architecture docs
  • ADRs / decision records
  • runbooks and incident procedures
  • rollout / rollback / migration docs
  • internal developer guides tied to implementation or operations

Read these support docs before choosing the mode or boundary:

When to use this skill

  • A team needs a technical spec before implementation starts
  • An engineer needs an architecture document or ADR that records trade-offs and decisions
  • Operations needs a runbook, rollback guide, or incident response procedure
  • A migration, rollout, or deprecation plan needs a durable written path
  • A developer-facing implementation guide or internal onboarding doc needs to explain how a system works and how to work on it safely

When not to use this skill

  • The main job is a published API portal, OpenAPI reference, SDK docs, or developer portal content → use api-documentation
  • The main job is onboarding end users, tutorials, FAQs, screenshots, or help-center flows → use user-guide-writing
  • The main job is release-note hygiene or semantic version / changelog upkeep → use changelog-maintenance
  • The main job is product positioning, marketing copy, or GTM messaging → use marketing-automation or another marketing skill
  • The main job is writing a plan for the work itself rather than the technical document artifact → use task-planning, api-design, or the relevant planning skill first

Instructions

Step 1: Classify the document mode

Normalize the request into one primary mode before drafting.

technical_writing_mode:
  primary_mode: spec | architecture | adr | runbook | migration | internal-guide
  audience: engineers | operators | mixed | unknown
  source_of_truth: repo | incident-notes | existing-doc | mixed | unknown
  lifecycle_state: draft | review | rewrite | maintenance
  docs_surface: markdown-repo | docs-site | wiki | unknown
  review_need: decision-signoff | operational-accuracy | handoff-clarity | unknown

Choose one primary mode per run:

  • spec → planned change, scope, goals, non-goals, design, rollout
  • architecture → system structure, components, interfaces, trade-offs
  • adr → one material decision with options and rationale
  • runbook → diagnose / operate / recover / escalate
  • migration → move from old to new safely with rollback / compatibility notes
  • internal-guide → developer-facing implementation or maintenance guidance

Step 2: Confirm the real audience and neighboring skills

Before writing, answer three questions:

  1. Who will act on this document?
  2. What decision or action should it enable?
  3. Which neighboring documentation skills should stay out of scope?

Quick route-out table:

If the request sounds like...Use
"Publish docs for our API / SDK"api-documentation
"Write a tutorial / onboarding guide / FAQ"user-guide-writing
"Summarize release changes / maintain CHANGELOG.md"changelog-maintenance
"Decide the API contract itself before writing docs"api-design

Step 3: Gather the minimum technical evidence

Do not draft from vibes alone. Pull the smallest credible evidence set first:

  • current behavior or architecture notes
  • interfaces / contracts / schemas / commands
  • rollout or operational constraints
  • known failure modes and recovery steps
  • open questions or unresolved trade-offs

If evidence is missing, label assumptions explicitly instead of pretending the document is authoritative.

Step 4: Draft using the smallest mode-specific structure

Use only the sections that fit the chosen mode.

A. Technical spec

Use for planned work before implementation.

Recommended skeleton:

# <Feature / Change> Technical Specification

## Overview
## Problem
## Goals
## Non-goals
## Constraints
## Proposed design
## Interfaces / data / dependencies
## Risks and mitigations
## Rollout and rollback
## Open questions

B. Architecture document

Use for system structure and longer-lived technical explanation.

Recommended skeleton:

# <System> Architecture

## Context
## Responsibilities and boundaries
## Components
## Data / request flow
## Key decisions
## Failure modes
## Security and performance notes
## Operational considerations
## Future changes / known limits

C. ADR

Use when one decision needs a durable record.

Recommended skeleton:

# ADR: <Decision title>

- Status:
- Date:
- Owners:

## Context
## Decision
## Alternatives considered
## Consequences
## Follow-up actions

D. Runbook

Use when someone will operate, diagnose, or recover a system.

Recommended skeleton:

# <Service> Runbook

## Purpose
## Preconditions / access
## Signals and symptoms
## Immediate checks
## Standard operating procedure
## Escalation path
## Rollback / recovery
## References

E. Migration / rollout guide

Use when systems or users move from old to new.

Recommended skeleton:

# <Migration> Guide

## Scope
## Preconditions
## Compatibility / breaking changes
## Step-by-step migration
## Validation
## Rollback
## Communication notes

F. Internal developer guide

Use for implementation-facing reference that is not end-user help.

Recommended skeleton:

# <Topic> Developer Guide

## What this system does
## When to use / not use it
## Key concepts
## Local development or operational workflow
## Common pitfalls
## Troubleshooting / escalation
## Related docs

Step 5: Apply document-type rules instead of one generic style

Use these rules aggressively:

  • Specs should separate goals from non-goals.
  • Architecture docs should explain boundaries and trade-offs, not every code path.
  • ADRs should capture a decision, not become a full design doc.
  • Runbooks should optimize for fast action under pressure.
  • Migration guides should foreground compatibility, order of operations, and rollback.
  • Internal guides should explain operational or implementation reality, not market value props.

Step 6: Make the document docs-as-code friendly

Default to repo-friendly, reviewable writing:

  • stable headings
  • concise bullet lists where operators scan
  • explicit commands, paths, owners, and prerequisites
  • dated decisions and status for ADR-like docs
  • links to source-of-truth docs instead of duplicated narrative when possible

If the doc belongs in a docs site or wiki later, write the technical core first and let the publishing surface adapt it.

Step 7: Run the review checklist

Before finalizing, verify:

  1. The audience is named or obvious.
  2. The document tells the reader what decision or action it enables.
  3. Assumptions and unknowns are labeled.
  4. Commands / interfaces / rollback steps are concrete where relevant.
  5. Neighboring documentation skills are not being absorbed.
  6. The title and section layout match the chosen mode.

Step 8: Return one of these output shapes

Preferred output:

# Technical Writing Brief

## Mode
- Primary mode:
- Why it fits:
- Audience:

## Source material used
- Repo/docs/evidence:
- Assumptions / gaps:

## Draft structure
1. section
2. section
3. section

## Writing notes
- Key decisions / actions enabled:
- Risks / unknowns:

## Route-outs
- Neighboring skills before/after this work:

Or, if the user asked for the finished artifact, produce the chosen document mode directly with the mode-specific structure above.

Examples

Example 1: Internal design doc before implementation

Input

Write a technical spec for moving our worker queue from Redis lists to Redis streams. Engineers need goals, constraints, rollout, and rollback before coding.

Good output direction

  • mode: spec
  • audience: engineers
  • include goals, non-goals, constraints, design, rollout, rollback, open questions
  • keep API portal publishing out of scope

Example 2: Architecture decision capture

Input

We chose Postgres logical replication over dual writes. Record the decision and alternatives in an ADR.

Good output direction

  • mode: adr
  • capture context, decision, alternatives, consequences, follow-up
  • keep the document short and decision-focused

Example 3: Incident runbook

Input

Write a runbook for when the payments worker backlog spikes and retries start timing out.

Good output direction

  • mode: runbook
  • include symptoms, immediate checks, operating steps, escalation, rollback / recovery
  • optimize for operator speed, not essay-style explanation

Example 4: Boundary with user docs

Input

Create a beginner tutorial with screenshots that teaches customers how to export their data.

Good output direction

  • route to user-guide-writing
  • explain that this request is end-user onboarding / help content, not internal technical documentation

Best practices

  1. Choose the document mode before writing the body.
  2. Keep internal technical docs decision- and action-oriented.
  3. Write only the sections the mode needs; do not force every template into every document.
  4. Separate internal design / ops docs from API portals, user help, and release notes.
  5. Prefer docs-as-code structure: reviewable Markdown, stable headings, and source-linked facts.
  6. Label assumptions and unresolved questions explicitly.
  7. For runbooks and migrations, make rollback and escalation easy to find.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.7%
按下载量换算76

Claude

30.66%
按下载量换算66

Cursor

17.01%
按下载量换算36

Gemini CLI

8.64%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills