Setup
On first use, read setup.md silently and start helping immediately. This skill is useful from minute zero with no mandatory onboarding.
When to Use
User needs anything around open source: finding projects, evaluating alternatives, self-hosting, contributing, maintaining, or publishing their own project. Use it when the user asks for practical decisions, not generic theory.
Architecture
Working context lives in ~/open-source/. Keep lightweight state and reusable notes there.
CODEBLOCK0
Quick Reference
| Topic | File |
|---|
| Setup behavior and integration | INLINECODE2 |
| Memory structure and status model |
memory-template.md |
| Discovery and ranking framework |
discovery-framework.md |
| Self-host evaluation matrix |
self-host-screen.md |
| Maintainer operations cadence |
maintainer-ops.md |
| Publication and launch workflow |
publishing-playbook.md |
Core Rules
1. Build an Intent Map Before Recommending
- - Start from user context: use case, stack, budget, team size, risk tolerance, and time horizon.
- If key constraints are missing, ask the minimum clarifier needed to avoid bad recommendations.
- Default output shape: shortlist, trade-offs, recommended next action.
2. Score Projects with Verifiable Signals
- - Use
discovery-framework.md to score each candidate on maintenance health, adoption, security posture, extensibility, and operational burden. - Prefer projects with active maintainers, documented release cadence, and issue response discipline.
- Flag uncertainty explicitly when data is incomplete.
3. Separate Use Paths: Consume, Contribute, or Fork
- - For consumption, optimize for reliability and migration safety.
- For contribution, optimize for governance quality and contributor experience.
- For fork decisions, require a clear business or architectural reason plus maintenance capacity.
4. Treat Self-Host as an Operations Commitment
- - Run
self-host-screen.md before proposing self-host by default. - Require explicit discussion of backups, upgrades, observability, and incident ownership.
- If operational ownership is weak, recommend managed alternatives or phased rollout.
5. Run Maintainer Work in a Predictable Cadence
- - Use
maintainer-ops.md to structure triage, review, release, and deprecation work. - Keep changelogs user-facing and avoid internal ranking language.
- Prefer small frequent releases over irregular large drops.
6. Publish with a Release Contract
- - Use
publishing-playbook.md for licensing, docs, versioning, distribution, and announcement readiness. - Never publish without clear install path, compatibility notes, and rollback strategy.
- Announce what changed, who is affected, and how to upgrade safely.
7. Preserve Trust and Legal Hygiene
- - Do not invent license interpretations. If licensing is unclear, state assumptions and advise legal review.
- Never recommend copying code into incompatible license contexts without warning.
- Distinguish opinion from evidence in all recommendation summaries.
Open Source Traps
- - Popularity-only selection: high stars without maintainer health leads to dead-end dependencies.
- "Self-host is always better": ignores hidden ops cost, on-call load, and security burden.
- Drive-by contributions: submitting PRs without project norms wastes maintainer time.
- Release without migration notes: breaks trust and increases support debt.
- Fork-by-frustration: temporary annoyance creates long-term maintenance tax.
Security & Privacy
Data that leaves your machine:
- - None by default from this skill definition.
Data that stays local:
- - Optional working artifacts and notes in
~/open-source/ when the user asks to persist context.
This skill does NOT:
- - Execute hidden network requests.
- Access unrelated local paths outside task scope.
- Auto-publish repositories or releases without explicit user intent.
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
self-host - Deploy and operate self-hosted services with security and reliability basics. - INLINECODE15 - Build and run containerized workloads with practical operations guidance.
- INLINECODE16 - Structure delivery, automation, and operational workflows end to end.
- INLINECODE17 - Manage repository workflows, branching, and change control safely.
Feedback
- - If useful: INLINECODE18
- Stay updated: INLINECODE19
设置
首次使用时,请静默阅读 setup.md 并立即开始提供帮助。此技能从零分钟起即可生效,无需强制性的入门流程。
使用时机
用户需要任何与开源相关的内容:寻找项目、评估替代方案、自托管、贡献、维护或发布自己的项目。当用户寻求实际决策而非通用理论时使用。
架构
工作上下文存储在 ~/open-source/ 目录中。在此处保存轻量级状态和可复用的笔记。
text
~/open-source/
├── memory.md # 当前目标、技术栈、约束条件、决策
├── discovery-log.md # 已评估的项目及评分
├── roadmap.md # 短期维护与发布计划
└── publishing-checklist.md # 发布与分发检查清单
快速参考
| 主题 | 文件 |
|---|
| 设置行为与集成 | setup.md |
| 内存结构与状态模型 |
memory-template.md |
| 发现与排名框架 | discovery-framework.md |
| 自托管评估矩阵 | self-host-screen.md |
| 维护者操作节奏 | maintainer-ops.md |
| 发布与启动工作流 | publishing-playbook.md |
核心规则
1. 在推荐前构建意图地图
- - 从用户背景出发:用例、技术栈、预算、团队规模、风险承受能力和时间范围。
- 如果缺少关键约束条件,提出最少澄清问题以避免错误推荐。
- 默认输出形式:候选名单、权衡分析、推荐下一步行动。
2. 使用可验证信号对项目评分
- - 使用 discovery-framework.md 对每个候选项目在维护健康度、采用情况、安全态势、可扩展性和运营负担方面进行评分。
- 优先选择有活跃维护者、有文档记录的发布节奏和问题响应纪律的项目。
- 当数据不完整时,明确标注不确定性。
3. 区分使用路径:消费、贡献或分叉
- - 对于消费场景,优化可靠性和迁移安全性。
- 对于贡献场景,优化治理质量和贡献者体验。
- 对于分叉决策,需要明确的业务或架构理由以及维护能力。
4. 将自托管视为运营承诺
- - 默认在提出自托管建议前运行 self-host-screen.md。
- 要求明确讨论备份、升级、可观测性和事件所有权。
- 如果运营所有权薄弱,推荐托管替代方案或分阶段部署。
5. 以可预测的节奏运行维护工作
- - 使用 maintainer-ops.md 来组织分类、审查、发布和弃用工作。
- 保持变更日志面向用户,避免使用内部排名语言。
- 偏好小而频繁的发布,而非不规律的大版本更新。
6. 以发布契约进行发布
- - 使用 publishing-playbook.md 处理许可、文档、版本控制、分发和公告准备。
- 没有清晰的安装路径、兼容性说明和回滚策略时绝不发布。
- 公告变更内容、受影响用户以及如何安全升级。
7. 维护信任与法律合规
- - 不要编造许可解释。如果许可不明确,说明假设并建议法律审查。
- 切勿在未警告的情况下推荐将代码复制到不兼容的许可上下文中。
- 在所有推荐摘要中区分观点与证据。
开源陷阱
- - 仅凭流行度选择:高星标但维护者不健康会导致依赖关系走入死胡同。
- 自托管总是更好:忽略了隐藏的运营成本、值班负担和安全负担。
- 路过式贡献:不遵守项目规范提交PR会浪费维护者时间。
- 没有迁移说明的发布:破坏信任并增加支持债务。
- 因挫败而分叉:暂时的烦恼造成长期的维护负担。
安全与隐私
离开你机器的数据:
保留在本地的数据:
- - 当用户要求持久化上下文时,~/open-source/ 中的可选工作产物和笔记。
此技能不会:
- - 执行隐藏的网络请求。
- 访问任务范围外的无关本地路径。
- 在没有明确用户意图的情况下自动发布仓库或版本。
相关技能
如果用户确认,使用 clawhub install
安装:
- - self-host - 以安全和可靠性为基础部署和运营自托管服务。
- docker - 构建和运行容器化工作负载,提供实用操作指导。
- devops - 端到端组织交付、自动化和运营工作流。
- git - 安全地管理仓库工作流、分支和变更控制。
反馈
- - 如果有用:clawhub star open-source
- 保持更新:clawhub sync