Skip to content
Back to skills

References

ASecurity

- 流程可文档化,步骤稳定 - 特定库/框架的使用指南(`*-usage` 后缀) - 输入输出明确,可被其他团队成员理解

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 1, 2026
ai-agentsreactgitapifrontend

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add seed-forge/harness-ai-kit --skill references --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of References?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for References
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seed-forge-references/badge)](https://www.skillsdirectory.com/skills/seed-forge-references)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Skill 资产创建规范

## 何时选择 Skill

- 流程可文档化,步骤稳定
- 特定库/框架的使用指南(`*-usage` 后缀)
- 输入输出明确,可被其他团队成员理解

## Skill 目录结构

```
skills/{id}/
├── SKILL.md          # 核心文件:用途、输入、输出、工作流、约束
├── skill.json        # 元数据:namespace, id, version, tags, dependencies
├── USAGE.md          # 精炼说明 + "可直接复制的中文 Prompt"
├── CHANGELOG.md      # 版本历史
└── references/       # 可选:拆分过大的内容
    └── REFERENCE-*.md
```

## skill.json 必填字段

| 字段 | 说明 | 示例 |
|------|------|------|
| `namespace` | 资产命名空间 | `"team"` |
| `id` | 唯一标识 | `"devlab-web-react-sop"` |
| `name` | 人类可读名称 | `"React 研发 SOP"` |
| `version` | 语义化版本 | `"0.1.0"` |
| `status` | `draft` / `trial` / `stable` | `"trial"` |
| `tags` | 关键词标签 | `["devlab", "react", "frontend"]` |
| `summary` | 一句话说明 | — |
| `dependencies` | 依赖列表(DependencySpec 对象) | 见下方 |
| `compatible_clients` | 兼容的 IDE 客户端 | `["codex", "claude-code", "cursor"]` |

## dependencies 格式

```json
"dependencies": [
  {"type": "skill", "namespace": "team", "id": "base-session-ai-kit-miner", "version": ">=0.3.0", "scope": "required"}
]
```

- `scope` 为 `required` 时自动安装;`optional` 需 `--feature` 触发
- `version` 必须为合法 specifier(`>=0.2.0`、`==1.0.0` 等)

## SKILL.md 标准结构

```markdown
---
name: {id}
description: {一句话说明}. Triggers on "{触发词}".
---

# {id}

## 用途
## 输入
## 输出
## 工作流
## 约束
## 专题引用
```

## `*-usage` 后缀规则

当沉淀内容是**特定库/框架的使用指南**时,使用 `*-usage` 后缀:

- 包含库的基本信息(名称、GitHub 地址、官方文档、版本)
- 包含核心概念和 API 模式
- 包含踩坑经验(`references/REFERENCE-PITFALLS.md`)
- 包含与目标框架的集成指南
- 不包含业务特定的实现代码

**示例**:`devlab-web-xyflow-usage` 包含 @xyflow/react 的库信息、核心概念、踩坑经验、框架集成指南。

## 团队共享 vs 项目级

| 条件 | 位置 |
|------|------|
| 输入输出稳定 + 不依赖私有上下文 | 团队共享 `harness-ai-kit/skills/` |
| 输入输出不稳定 或 依赖私有上下文 | 项目级 `.claude/skills/` |

Files in this skill

  • REFERENCE-ASSET-CLI.md1.7 KB
  • REFERENCE-ASSET-LOOP.md3.9 KB
  • REFERENCE-ASSET-MCP-SUBAGENT.md1.7 KB
  • REFERENCE-ASSET-SKILL.md2.4 KB
  • REFERENCE-DISTILLATION-RULES.md3.4 KB
  • REFERENCE-README.md408 B
  • REFERENCE-REAL-WORLD-EXAMPLE.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.