bp-skill-authoring
指导编写和改进 Agent Skill 文件(SKILL.md),涵盖 YAML frontmatter、精简写作、渐进式披露、常用模式。当用户要创建新 Skill、改进现有 SKILL.md、或询问 Skill 编写规范时使用。
Skill by davidYichengWei
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/davidyichengwei-bp-skill-authoring
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bp-skill-authoring
What's inside
- Skill name
bp-skill-authoring- Description
- 指导编写和改进 Agent Skill 文件(SKILL.md),涵盖 YAML frontmatter、精简写作、渐进式披露、常用模式。当用户要创建新 Skill、改进现有 SKILL.md、或询问 Skill 编写规范时使用。
- License
- MIT
- Instructions
- 193 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- full-best-practices.md · reference/
SKILL.md (first lines)
# 编写 Agent Skills
## 语言规范
**Skills 使用中文编写**,包括:
- `description`:中文描述
- 章节标题和说明:中文
- 代码示例和标识符:保持英文
## YAML Frontmatter
```yaml
---
name: processing-pdfs # 小写,连字符,最多 64 字符
description: 从 PDF 文件中提取文本... # 中文,第三人称,做什么 + 何时用,最多 1024 字符
---
```
**name 格式:**
- 推荐动名词:`processing-pdfs`, `analyzing-data`, `testing-code`
- 名词短语也可:`pdf-processing`, `data-analysis`
- ❌ 避免:`helper`, `utils`, `tools`, `anthropic-*`, `claude-*`
**description 规则:**
- ✅ 使用**中文**,第三人称:"从 PDF 文件中提取文本"
- ❌ 避免:"我可以帮你..."、"你可以用这个来..."
- 包含:做什么 + 何时使用 + 关键词
## 核心原则
### 精简至上
只添加 AI 尚不知道的信息:
```markdown
✅ 好(~50 tokens):
## 锁
使用 TDMutex,不要用 std::mutex:
tdstore::common::TDMutex mutex_;
❌ 差(~150 tokens):
## 锁
线程安全在多线程应用中很重要。
TDStore 使用 bthread 协程,所以需要特殊的锁...
```
### 约束条件
- SKILL.md 正文:**< 500 行**
- 引用深度:从 SKILL.md 起**只能一层**
- 文件路径:**只用正斜杠**(`reference/guide.md`)
## 项目 Skills 目录结构
```
skills/
├── <skill-name>/ # 通用技能
│ └── SKILL.md
└── <module>/ # 模块专项技能
└── <skill-name>/
└── SKILL.md
```
**示例:**
```
skills/
├── writing-skills/ # 通用:编写 Skills 指南
│ ├── SKILL.md
│ └── reference/
└── backend/ # 模块:后端
├── coding-standards/ # 编码规范
│ └── SKILL.md
└── storage-modifications/ # 存储改造规范
└── SKILL.md
```
**命名规则:**
- 模块名:`backend`, `storage`, `scheduler` 等
- 技能名:`coding-standards`, `storage-modifications`, `testing` 等
- 使用小写 + 连字符
## 渐进式披露
单个 Skill 内部结构:
```
skill-name/
├── SKILL.md # 概览(触发时加载)
├── reference/
│ ├── topic-a.md # 按需加载
│ └── topic-b.md
└── scripts/
└── validate.py # 执行,不加载到上下文
```
在 SKILL.md 中链接到详情:
```markdown
## 快速开始
[基本用法]
## 进阶
**主题 A**:参见 [reference/topic-a.md](reference/topic-a.md)
**主题 B**:参见 [reference/topic-b.md](reference/topic-b.md)
```
## 常用模式
### 模板模式
```markdown
## 输出格式
始终使用以下结构:
# [标题]
## 摘要
## 发现
## 建议
```From davidYichengWei/agentic-engineering-framework, MIT.
More from davidYichengWei/agentic-engineering-framework
- 0.524score
workflow-code-generation
davidYichengWei
代码文件修改的统一入口。当用户请求任何代码变更(新功能、优化、Bug 修复、重构)时必须首先调用此 skill。仅适用于代码文件(如 .cc/.cpp/.h/.go/.py 等),修改 .md 等非代码文件时不需要调用。它会评估复杂度、检查 spec.md、生成 tasks.md、并逐个任务执行。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-component-design
davidYichengWei
提供组件级设计原则,包括类/模块设计、接口设计、数据模型、并发模型、错误处理。在系统设计阶段讨论组件详细设计时使用,或在 code review 中评估组件质量时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-performance-optimization
davidYichengWei
提供性能优化方法论、设计原则和具体优化规则。在编写代码、优化性能瓶颈、进行 code review 时使用,涵盖 CPU、内存、I/O、并发等维度。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
self-refinement
davidYichengWei
将纠错经验沉淀为持久化的 Rules/Skills 更新,构建反馈闭环。当被用户纠正且错误具有模式性时自动触发,或通过 /reflect 命令手动触发回顾。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
std-cpp
davidYichengWei
提供 C++ 编码规范(基于 Google C++ Style Guide)。当编写或 review C++ 代码(.cc/.cpp/.h 文件)时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
std-go
davidYichengWei
提供 Go 编码规范(基于 Google Go Style Guide)。当编写或 review Go 代码(.go 文件)时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-architecture-design
davidYichengWei
提供架构设计原则,包括模块划分、依赖管理、数据架构、接口设计。在系统设计阶段讨论方案概览时使用,或在 code review 中评估架构合理性时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-distributed-systems
davidYichengWei
提供分布式系统设计 best practices(对应常见 fallacies)及各 SDLC 阶段 checklist。当需求涉及网络通信、多节点协调、数据一致性、故障恢复时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-test-generation
davidYichengWei
测试生成。基于 spec.md 或被测代码,生成单元测试、集成测试、性能测试。当用户请求生成测试、TDD 模式、或 workflow-code-generation 完成后触发。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-code-review
davidYichengWei
代码评审。协调 5 个专项 reviewer subagent 对代码进行并行多维度审查。可由用户直接触发,也可由主 agent 加载后作为 Judge 执行。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-requirements-clarification
davidYichengWei
需求澄清。只负责明确"要解决什么问题",生成 spec.md 的前三章节(背景、目标、需求)。禁止在本阶段讨论设计方案——设计是 workflow-system-design skill 的职责。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-system-design
davidYichengWei
系统设计。当 spec.md 前三章节(背景、目标、需求)已完整但设计章节为空时调用。按 spec.md 章节顺序逐个与用户讨论,每轮只处理一个 section。
SkillDFreshness: D★ 159Claude Code +9
Signals
- Stars
- 159
- Forks
- 47
- Open issues
- 1
- Last commit (this folder)
- Feb 26, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from davidYichengWei
- 0.524score
workflow-code-generation
davidYichengWei
代码文件修改的统一入口。当用户请求任何代码变更(新功能、优化、Bug 修复、重构)时必须首先调用此 skill。仅适用于代码文件(如 .cc/.cpp/.h/.go/.py 等),修改 .md 等非代码文件时不需要调用。它会评估复杂度、检查 spec.md、生成 tasks.md、并逐个任务执行。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-component-design
davidYichengWei
提供组件级设计原则,包括类/模块设计、接口设计、数据模型、并发模型、错误处理。在系统设计阶段讨论组件详细设计时使用,或在 code review 中评估组件质量时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-performance-optimization
davidYichengWei
提供性能优化方法论、设计原则和具体优化规则。在编写代码、优化性能瓶颈、进行 code review 时使用,涵盖 CPU、内存、I/O、并发等维度。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
self-refinement
davidYichengWei
将纠错经验沉淀为持久化的 Rules/Skills 更新,构建反馈闭环。当被用户纠正且错误具有模式性时自动触发,或通过 /reflect 命令手动触发回顾。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
std-cpp
davidYichengWei
提供 C++ 编码规范(基于 Google C++ Style Guide)。当编写或 review C++ 代码(.cc/.cpp/.h 文件)时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-architecture-design
davidYichengWei
提供架构设计原则,包括模块划分、依赖管理、数据架构、接口设计。在系统设计阶段讨论方案概览时使用,或在 code review 中评估架构合理性时使用。
SkillDFreshness: D★ 159Claude Code +9
Cite this page
bp-skill-authoring. Agent Mart. https://agentmart.dev/skills/davidyichengwei-bp-skill-authoring (last updated 2026-10-24)