curate-a-team-library
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCurate A Team Library
整理团队技能库
Goal
目标
Build a managed skills library that another teammate or agent can actually browse, trust, and install.
Do not hand-edit , , or when the CLI already has the mutation you need.
skills.jsonREADME.mdWORK_AREAS.md构建一个可供其他团队成员或Agent实际浏览、信任并安装的托管式技能库。
如果CLI已经提供了你需要的变更操作,请勿手动编辑、或。
skills.jsonREADME.mdWORK_AREAS.mdFirst Move
第一步
Start with a managed workspace.
bash
npx ai-agent-skills init-library <name>
cd <name>Ask at most 3 short questions before acting:
- what kinds of work the library needs to support
- whether the first pass should stay small and opinionated or aim broader
- whether the output should stay local or end as a shareable GitHub repo
从创建托管工作区开始。
bash
npx ai-agent-skills init-library <name>
cd <name>行动前最多询问3个简短问题:
- 该技能库需要支持哪些类型的工作
- 首轮内容是应该保持小而针对性强,还是覆盖面更广
- 输出内容是仅保留在本地,还是最终作为可共享的GitHub仓库
Shelf System
分类架体系
Use these 5 work areas as the shelf system:
- : web UI, browser work, design systems, visual polish
frontend - : APIs, data, security, infrastructure, runtime systems
backend - : iOS, Android, React Native, Expo, device testing, app delivery
mobile - : docs, testing, release work, files, research, planning
workflow - : prompts, evals, tools, orchestration, agent runtime design
agent-engineering
Map the user's stack to shelves before adding anything.
- Example: maps to
React Native + Node backend+mobile.backend - Add only when testing, release, docs, or research are real parts of the job.
workflow - Add only when the team is doing AI features, prompts, evals, or tooling.
agent-engineering - Make sure the first pass covers every primary shelf the user explicitly named.
使用以下5个工作区作为分类架体系:
- :网页UI、浏览器相关工作、设计系统、视觉优化
frontend - :APIs、数据、安全、基础设施、运行时系统
backend - :iOS、Android、React Native、Expo、设备测试、应用交付
mobile - :文档、测试、发布工作、文件、调研、规划
workflow - :提示词、评估、工具、编排、Agent运行时设计
agent-engineering
添加任何内容前先将用户的技术栈映射到对应分类架。
- 示例:对应
React Native + Node backend+mobilebackend - 仅当测试、发布、文档或调研属于实际工作内容时,才添加分类架
workflow - 仅当团队正在开发AI功能、编写提示词、做评估或工具开发时,才添加分类架
agent-engineering - 确保首轮内容覆盖用户明确提及的所有主分类架
Discovery Loop
探索流程
Browse before curating.
bash
npx ai-agent-skills list --area <work-area>
npx ai-agent-skills search <query>
npx ai-agent-skills collectionsIf the user named multiple primary shelves, inspect each one before choosing skills.
整理前先浏览资源。
bash
npx ai-agent-skills list --area <work-area>
npx ai-agent-skills search <query>
npx ai-agent-skills collections如果用户指定了多个主分类架,选择技能前请逐个检查。
Mutation Rules
变更规则
Keep the first pass small: around 3 to 8 skills.
- Use first for bundled picks and simple GitHub imports.
add - Use when you want an upstream entry without copying files into
catalog.skills/ - Use only for true house copies the team wants to edit or own locally.
vendor
Every mutation must include explicit curator metadata like , , and .
--area--branch--whyGood branch names:
React Native / UIReact Native / QANode / APIsNode / DataDocs / Release
Bad branch names:
stuffmiscnotes
首轮内容保持精简:约3到8个技能。
- 对于打包精选内容和简单的GitHub导入,优先使用
add - 如果你想要上游条目但不将文件复制到目录下,使用
skills/catalog - 仅当团队想要编辑或本地留存真正的内部副本时,才使用
vendor
每次变更都必须包含明确的整理者元数据,例如、和。
--area--branch--why好的分支名示例:
React Native / UIReact Native / QANode / APIsNode / DataDocs / Release
坏的分支名示例:
stuffmiscnotes
Writing Good whyHere
whyHere编写高质量的whyHere
whyHerewhyHere- Mention the stack or workflow it supports.
- Mention the gap it fills in this library.
- Be honest about why it belongs here.
Good:
Covers React Native testing so the mobile shelf has a real device-validation option.Bad:
I want this on my shelf.whyHere- 说明它支持的技术栈或工作流
- 说明它填补了该库的哪些空白
- 如实说明它被收录的原因
好的示例:
覆盖React Native测试场景,因此mobile分类架有了实际的设备验证选项。坏的示例:
我想把它放在我的分类架里。Featured Picks
精选推荐
Use sparingly.
--featured- keep it to about 2 to 3 featured skills per shelf
- reserve it for skills you would tell a new teammate to install first
谨慎使用。
--featured- 每个分类架保留约2到3个精选技能
- 仅保留你会建议新团队成员优先安装的技能
Collections
合集
After the library has about 5 to 8 solid picks, create a collection.
starter-pack- Use while adding new skills.
--collection starter-pack - Or use for existing entries.
npx ai-agent-skills curate <skill> --collection starter-pack - Keep the collection small and onboarding-friendly.
当技能库有了约5到8个稳定的精选内容后,创建一个合集。
starter-pack- 添加新技能时使用
--collection starter-pack - 或者对已有条目使用
npx ai-agent-skills curate <skill> --collection starter-pack - 保持合集精简,适合新手上手
Sanity Check
合理性检查
Before finishing:
bash
npx ai-agent-skills list --area <work-area>
npx ai-agent-skills collections
npx ai-agent-skills build-docs- Run for each primary shelf you touched.
list --area - If you created , confirm the install command looks right.
starter-pack - Make sure the final shelf mix still matches the user's actual stack.
完成前:
bash
npx ai-agent-skills list --area <work-area>
npx ai-agent-skills collections
npx ai-agent-skills build-docs- 对你操作过的每个主分类架都运行命令
list --area - 如果你创建了,确认安装命令正确无误
starter-pack - 确保最终的分类架组合仍然匹配用户的实际技术栈
Finish
收尾
Return:
- what you added
- which shelves you used and why
- which skills are featured
- what contains, if you created one
starter-pack - whether the library is local-only or ready to share
返回以下内容:
- 你添加的内容
- 你使用的分类架及对应原因
- 精选技能清单
- 包含的内容(如果你创建了该合集)
starter-pack - 该技能库是仅本地可用,还是已准备好共享