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

writing-style-guide写作风格指南

Agent Skill

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

总安装

321

周安装

13

GitHub Stars

公开资料未说明

下载量

101
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/adhi-jp/agent-skills --skill writing-style-guide

简介

用于创建和维护写作风格指南。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合团队内部文档标准化。writing-style-guide 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 使用时需收集常见用例和例外情况。
  • 建议定期更新以适应业务发展。
  • 安装方式:通过 npx 从 GitHub 仓库添加技能。

SKILL.md

Writing Style Guide

Overview

Words that ship — documentation, commits, chat replies — are part of the deliverable. The prose affects whether readers trust, use, and maintain the work.

This skill supplies principles, not a procedure. The agent applies judgment; the skill sets direction.

Scope

Apply when producing:

  • Source-code documentation (comments, docstrings)
  • README, CHANGELOG, and other narrative docs
  • Commit messages and PR descriptions
  • Replies the user reads in chat

Skip when:

  • Text is internal (tool arguments, intermediate search strings, private reasoning)
  • Output is machine-readable or must match an exact format (JSON responses, structured protocol payloads, code templates a downstream tool will parse byte-for-byte). Human-readable source code and its comments/docstrings remain in scope — this guide applies to what you write *about* the code, even when the code itself is freshly generated.
  • Text is a verbatim relay (command output, log excerpts, stack traces, other tool output quoted back to the user)
  • Text is a transient status line ("building…", "running test 3/12") whose only job is to show progress
  • A bare acknowledgment (done, merged) is genuinely the complete reply

When in doubt between applying the guide and preserving an exact format contract, the format contract wins — readability of prose is not worth breaking a consumer that expects a specific shape.

Core Principles

Concision over ornament

Write the shortest version that still transmits the idea. A decorative sentence is a cost every future reader pays. Elegance comes from what is left out.

Language follows the artifact, then English

Decide artifact language by this precedence, high to low:

  1. Explicit user instruction — if the user asked to translate, localize, or write in a specific language, use it. Translation and localization requests override every rule below.
  2. Existing artifact language — when editing a file and the user has not specified a target language, preserve the language already used. Switching a Japanese README to English mid-file produces mixed-language output that serves no one.
  3. Filename locale marker — e.g. README.ja.md, docs/de_de/guide.md. Honor it for new files.
  4. Project convention — surrounding docs, CONTRIBUTING, or a style guide in the repo.
  5. Default to English — when none of the above give a signal.

Chat replies follow the user's active conversational language, not the file defaults.

No meta-acknowledgments

Drop preambles like Sure!, Absolutely., Great question.. The action itself shows agreement. A reply that opens with the substance respects the reader's time more than one that opens with a performance.

Artifacts stand alone

The text must make sense without the prompt that produced it. Do not embed references to ephemeral input — per plan1.md step 1.2, this variable is the foo from the spec, as discussed above. Readers of the artifact will not have that conversation, and those references rot the moment the input file is renamed or removed.

Durable traceability is different: issue IDs, RFC numbers, incident tickets, commit SHAs, ADR slugs, and other stable pointers belong in the artifact when they are requested, required by the project, or needed for audit and rollback. The test is whether the reference survives a rename of local working files — if it does, it is a citation, not a prompt leak.

Match the reader

Identify who will read this and what they need. Omit everything else.

  • An end-user README is for installing and using. Internal build steps usually belong elsewhere.
  • Contributor docs are for setup and submission. Product vision usually belongs elsewhere.
  • A code comment is for the future maintainer. Names and types already carry the *what*; the comment's job is the *why* that is not visible from the signature.

"Usually" is deliberate — a library whose users build from source does need build steps in its README. Judge the actual audience, not a generic one.

Anti-Patterns

These degrade any piece of writing. Remove them on sight.

  • Name-echoing comments// parse the user on fn parse_user(). The reader sees the same thing twice.
  • Marketing vocabularyseamlessly, effortlessly, powerful, leverage, robust, enterprise-grade. These signal sales copy, not engineering.
  • Groundless future claimsthis will enable future extensibility, making it easy to scale later. Write to present behavior; readers can assess the future themselves.
  • Unrequested additions — disclaimers, alternative-approach write-ups, roadmap sections, or "things to consider" the user did not ask for. Scope discipline is part of quality. Required warnings are the exception: safety, security, data-loss, compliance, and irreversible-action notices are not "unrequested additions" even when the user never prompted for them. Concision never justifies dropping a warning the reader needs to avoid harm.
  • Hollow transitionsIt's worth noting that…, In conclusion,, Ultimately,. If a point is worth making, make it; do not announce it.
  • Forced symmetry — rule-of-three lists padded with a filler item, parallel structures built from nothing. Three real points beat three forced ones.
  • Em-dash abundance — one or two per paragraph is fine; a third in the same paragraph becomes a tell.

Applied to Common Artifact Types

Illustrations of how the core principles land on familiar artifacts — not workflow rules, and not defaults to override project conventions. Where a project has its own house style, commit template, or release process, that convention wins. These bullets only fill in when no project rule is active.

Source-code documentation

  • Public libraries: document intent, contracts, invariants, and non-obvious usage in full.
  • Internal code: write the minimum needed to orient the next maintainer.
  • Unconventional code (workarounds, perf tricks, subtle contracts): explain the reason. Removing the comment would confuse a future reader.
  • Never write a doc comment that only paraphrases the signature.

README

  • Decide the primary reader before writing anything else.
  • Lead with what it is and how to start using it. Details that do not serve the first thirty seconds go below or out.
  • Cut sections the intended reader does not need. An end-user README should not double as an architecture doc.

CHANGELOG

  • Follow the project's existing style.
  • Each entry answers "what changed for me, the reader". Internal refactors without user-visible impact usually belong in commit history, not here.

Commit messages

  • Match the repository's existing convention in prefix scheme, tone, and length.
  • The subject line states what the commit achieves, not what the author did.
  • The body explains the *why*, the tradeoffs, and anything a reviewer cannot see from the diff alone.

Chat replies

  • Lead with the answer.
  • Keep in-progress updates to a sentence or two.
  • End-of-turn summaries, when needed, are one or two sentences. Stay silent when nothing is worth saying.
  • When the user asks for depth — a rationale, verification results, limitations, a recovery plan, a comparison — give them that depth. Concision is a default, not a ceiling; it never justifies omitting information the reader explicitly asked for or needs to act safely.

Coexistence

This guide is principles, not procedure. When other active instructions or workflows in the same session provide concrete steps for a specific artifact (staging procedure, PR template, release-note format), defer to them for the procedure and apply these principles to the words they produce.

When a project convention conflicts with a principle here, the project wins. This guide is for judgment, not for overriding established house style.

Self-check before returning prose

A short pass over the draft, looking for:

  • Words deletable without loss of meaning — delete them.
  • Sentences that announce what the next sentence will do — drop the announcement.
  • Superlatives without evidence — cut or replace with specifics.
  • Sections the reader did not ask for — remove them.
  • References to the prompt, input file, or the conversation that produced the text — rewrite so the artifact stands on its own.

The goal is not austerity. The goal is that every word earns its place.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.35%
按下载量换算36

Claude

28.72%
按下载量换算29

Cursor

18.81%
按下载量换算19

Gemini CLI

8.9%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills