Token导航 LogoToken导航TokenDH.com
开发规范只读github未标认证来源可访问clear审计通过

writing-best-practices编写最佳实践

Agent Skill

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

总安装

194

周安装

8

GitHub Stars

2

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/lihaoze123/my-skills --skill writing-best-practices

简介

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

  • 适合让 Agent 提炼结构、补齐章节、统一术语或检查链接。
  • 使用时保留项目已有事实和路径,避免写成确定结论。
  • 涉及对外文案时需控制语气,防止过度营销或夸大能力。
  • 安装方式:通过 GitHub 仓库添加技能。writing-best-practices 属于开发规范类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Writing Best Practices

Create structured, maintainable best practices documentation that scales from quick reference to detailed guides.

Core Principle

Separate quick reference from comprehensive documentation.

When to Use

  • Creating technical best practices guides
  • Organizing reference documentation for teams or agents
  • Building structured knowledge bases
  • Documenting proven patterns and approaches

Don't use for:

  • One-time documentation (use simple README)
  • Project-specific notes (use CLAUDE.md)
  • Narrative blog posts or tutorials

Quick Reference

TopicRule File
Core structure and organizationstructure
Frontmatter formatfrontmatter
Impact levelsimpact-levels
Validation and verificationvalidation
Writing individual ruleswriting-rules
Code examples and patternscode-examples
Quick reference tablesquick-reference
Maintenance and updatesmaintenance
Common anti-patternsanti-patterns

Essential Structure

best-practice-name/
├── SKILL.md          # Quick reference (human scan)
├── AGENTS.md         # Full content (agent read)
└── rules/            # Modular rule files
    ├── rule-1.md
    ├── rule-2.md
    └── ...

SKILL.md (2-3 pages):

  • Overview and core principle
  • When to use/not use
  • Quick reference table
  • Essential pattern code
  • Red flags
  • Link to full doc

AGENTS.md (complete compilation):

  • All content in single document
  • Generated or compiled from rules/
  • Comprehensive with all details

rules/ (modular sections):

  • One file per focused topic
  • Mix of concept + examples
  • Easy to update independently

Common Patterns

NeedPattern
Quick lookupTable with rule file links
Deep understandingAGENTS.md with all details
Specific topicIndividual rule file
Code variationsTables instead of multiple examples

Red Flags - STOP

Anti-patternFix
"Put everything in one file"Use modular structure
"No need for quick reference"Humans scan, agents read
"Five language examples"One excellent example is enough
"Narrative style rules"Use problem/solution format

How to Use

Each rule file contains:

  • Why the pattern matters
  • ❌ Incorrect vs ✅ Correct examples
  • Additional context and references

For the complete guide: AGENTS.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

29.98%
按下载量换算19

windsurf

22.91%
按下载量换算14

trae

15.5%
按下载量换算10

OpenCode

13.57%
按下载量换算9

Codex

7.71%
按下载量换算5

Antigravity

3.21%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills