skill-authoring-workflow by deanpeters/product-manager-skills
npx skills add https://github.com/deanpeters/product-manager-skills --skill skill-authoring-workflow在避免混乱的情况下创建或更新产品经理技能。此工作流将粗略的笔记、研讨会内容或半成品的提示词转储,转化为合规的 skills/<skill-name>/SKILL.md 资产,这些资产能真正通过验证并属于此代码库。
当你想发布一个新技能,但又不想玩“看起来没问题”的轮盘赌时,请使用此工作流。
在发明自定义流程之前,优先使用代码库原生的工具和标准:
scripts/find-a-skill.shscripts/add-a-skill.shscripts/build-a-skill.shscripts/test-a-skill.shscripts/check-skill-metadata.pybuild-a-skill.sh):当你有一个想法但尚未形成最终文案时最佳。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
add-a-skill.sh):当你已有源内容时最佳。一个技能只有在满足以下所有条件时才被视为完成:
name、description、intent、type)name <= 64 字符,description <= 200 字符)intent 承载了面向代码库的更完整摘要,但不会替代面向触发的描述当将此工作流作为引导式对话运行时,请使用 workshop-facilitation 作为交互协议。
它定义了:
其他(请指定))本文件定义了工作流序列和特定领域的输出。如果存在冲突,请遵循本文件的工作流逻辑。
./scripts/find-a-skill.sh --keyword "<topic>"
如果你有源材料:
./scripts/add-a-skill.sh research/your-framework.md
如果你想要引导式提示:
./scripts/build-a-skill.sh
手动审查以下内容:
在考虑提交之前运行严格检查:
./scripts/test-a-skill.sh --skill <skill-name> --smoke
python3 scripts/check-skill-metadata.py skills/<skill-name>/SKILL.md
python3 scripts/check-skill-triggers.py skills/<skill-name>/SKILL.md --show-cases
如果这是一个新技能:
如果目标是上传到 Claude 自定义技能:
./scripts/zip-a-skill.sh --skill <skill-name>
# 或打包一个类别:
./scripts/zip-a-skill.sh --type component --output dist/skill-zips
# 或使用精选的入门预设:
./scripts/zip-a-skill.sh --preset core-pm --output dist/skill-zips
输入:research/pricing-workshop-notes.md
目标:新的交互式顾问
./scripts/add-a-skill.sh research/pricing-workshop-notes.md
./scripts/test-a-skill.sh --skill <new-skill-name> --smoke
python3 scripts/check-skill-metadata.py skills/<new-skill-name>/SKILL.md
预期结果:
“我们写了一个很酷的技能,跳过了验证,忘记了更新 README 计数,但还是发布了。”
结果:
workflow 类型。intent 成为薄弱触发描述的替代品。README.mdAGENTS.mdCLAUDE.mddocs/Building PM Skills.mddocs/Add-a-Skill Utility Guide.mdscripts/add-a-skill.shscripts/build-a-skill.shscripts/find-a-skill.shscripts/test-a-skill.shscripts/check-skill-metadata.pyscripts/check-skill-triggers.pyscripts/zip-a-skill.sh每周安装量
217
代码库
GitHub 星标数
1.5K
首次出现
2026年2月12日
安全审计
安装于
codex193
opencode191
gemini-cli188
github-copilot187
cursor185
kimi-cli184
Create or update PM skills without chaos. This workflow turns rough notes, workshop content, or half-baked prompt dumps into compliant skills/<skill-name>/SKILL.md assets that actually pass validation and belong in this repo.
Use it when you want to ship a new skill without "looks good to me" roulette.
Use repo-native tools and standards before inventing a custom process:
scripts/find-a-skill.shscripts/add-a-skill.shscripts/build-a-skill.shscripts/test-a-skill.shscripts/check-skill-metadata.pybuild-a-skill.sh): Best when you have an idea but not final prose.add-a-skill.sh): Best when you already have source content.A skill is done only when:
name, description, intent, type)name <= 64 chars, description <= 200 chars)When running this workflow as a guided conversation, use workshop-facilitation as the interaction protocol.
It defines:
Other (specify) when useful)This file defines the workflow sequence and domain-specific outputs. If there is a conflict, follow this file's workflow logic.
./scripts/find-a-skill.sh --keyword "<topic>"
If you have source material:
./scripts/add-a-skill.sh research/your-framework.md
If you want guided prompts:
./scripts/build-a-skill.sh
Manually review for:
Run strict checks before thinking about commit:
./scripts/test-a-skill.sh --skill <skill-name> --smoke
python3 scripts/check-skill-metadata.py skills/<skill-name>/SKILL.md
python3 scripts/check-skill-triggers.py skills/<skill-name>/SKILL.md --show-cases
If this is a new skill:
If targeting Claude custom skill upload:
./scripts/zip-a-skill.sh --skill <skill-name>
# or zip one category:
./scripts/zip-a-skill.sh --type component --output dist/skill-zips
# or use a curated starter preset:
./scripts/zip-a-skill.sh --preset core-pm --output dist/skill-zips
Input: research/pricing-workshop-notes.md
Goal: new interactive advisor
./scripts/add-a-skill.sh research/pricing-workshop-notes.md
./scripts/test-a-skill.sh --skill <new-skill-name> --smoke
python3 scripts/check-skill-metadata.py skills/<new-skill-name>/SKILL.md
Expected result:
"We wrote a cool skill, skipped validation, forgot README counts, and shipped anyway."
Result:
workflow when the task is really a component template.intent become a substitute for a weak trigger description.README.mdAGENTS.mdCLAUDE.mddocs/Building PM Skills.mddocs/Add-a-Skill Utility Guide.mdscripts/add-a-skill.shscripts/build-a-skill.shscripts/find-a-skill.shscripts/test-a-skill.shWeekly Installs
217
Repository
GitHub Stars
1.5K
First Seen
Feb 12, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex193
opencode191
gemini-cli188
github-copilot187
cursor185
kimi-cli184
注册流程转化率优化指南:减少摩擦、提高完成率的专家技巧
25,000 周安装
scripts/check-skill-metadata.pyscripts/check-skill-triggers.pyscripts/zip-a-skill.sh