Skip to content
Agentmart
Submit a tool

bp-skill-authoring

指导编写和改进 Agent Skill 文件(SKILL.md),涵盖 YAML frontmatter、精简写作、渐进式披露、常用模式。当用户要创建新 Skill、改进现有 SKILL.md、或询问 Skill 编写规范时使用。

Skill by davidYichengWei

IndexedMIT★ 159
Write a review

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.

We use your email only for this newsletter. Privacy

About

指导编写和改进 Agent Skill 文件(SKILL.md),涵盖 YAML frontmatter、精简写作、渐进式披露、常用模式。当用户要创建新 Skill、改进现有 SKILL.md、或询问 Skill 编写规范时使用。

Use cases: agent-building

No 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

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

More from davidYichengWei

Cite this page

bp-skill-authoring. Agent Mart. https://agentmart.dev/skills/davidyichengwei-bp-skill-authoring (last updated 2026-10-24)