← 返回 Skills 市场
bovinphang

Source Driven Development

作者 Bovin Phang · GitHub ↗ · v2.5.0 · MIT-0
cross-platform ✓ 安全检测通过
30
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install fec-source-driven-development
功能描述
Use when frontend decisions depend on framework, library, browser, runtime, package, API, or platform behavior that may have changed, including official docu...
使用说明 (SKILL.md)

来源驱动开发

Purpose

在前端实现、评审和架构决策中优先依据项目内事实、官方文档和当前版本行为,避免沿用过时经验或未经验证的假设。

Procedure

  1. 判断是否需要查源

    • 涉及框架新版本、路由、渲染模式、缓存、构建工具、浏览器 API、包发布格式、鉴权协议或公共接口时必须查源。
    • 涉及项目约定时先读本仓库 README、配置、模板、已有实现、测试和迁移记录。
    • 只是稳定语言语法或明显局部重构时,可使用项目现有模式作为事实来源。
  2. 收集权威材料

    • 首选官方文档、规范、源码、release notes、migration guide、类型定义和项目内测试。
    • 第三方文章只能作为线索,不能作为最终依据。
    • 对快速变化的库记录包名、版本、文档日期或页面标题。
  3. 提炼决策

    • 写清当前版本推荐做法、弃用做法、限制条件和迁移注意事项。
    • 对多个可行方案说明选择理由、兼容性、维护成本和回退方式。
    • 若文档和项目现状冲突,优先解释冲突并给出渐进调整,不直接推翻已运行系统。
    • 对依赖升级、框架迁移和公共 API 变化,记录 release notes、migration guide、版本范围、破坏性变更和回滚方案。
  4. 落到实现

    • 将外部行为隔离在适配层、配置层或小型工具函数中,避免在组件里散落版本假设。
    • 公共接口变化要保持命名、错误形状、默认值和兼容策略清晰。
    • 代码注释只记录非显而易见的来源约束,不粘贴大段文档。
  5. 验证假设

    • 用类型检查、最小复现、单元测试、组件测试、E2E、构建或浏览器验证证明关键假设。
    • 如果无法验证,报告不确定性、风险范围和需要用户或团队确认的信息。
  6. 留下轻量决策记录

    • 当结论会影响公共接口、依赖版本、目录规范或团队工作流时,补充 ADR/变更记录或交给文档同步流程。

Source Priority

Priority Source Use
1 项目内配置、测试、已有实现 判断本仓库真实约定
2 官方文档、源码、类型定义 判断当前推荐行为
3 标准规范、浏览器兼容数据 判断平台能力和兼容边界
4 Issue、讨论、第三方文章 辅助排查,不能单独定案

Constraints

  • 不凭记忆给版本敏感结论。
  • 不把过时教程当作当前最佳实践。
  • 不引用无法复核的来源作为关键依据。
  • 不为追新而改动稳定项目约定;必须说明收益和迁移成本。
  • 不在交付中复制长篇外部文档;只保留必要结论和链接或文件路径。
  • 不把“查过文档”停留在口头;版本敏感决策需要能追溯到具体版本、路径或官方页面。

Expected Output

输出来源清单、版本或项目事实、决策结论、实现影响、验证命令和未决风险。若修改代码,关键行为应有测试或构建验证支撑。

安全使用建议
Install is reasonable if you want frontend assistance, but review when the skill activates. If it appears in unrelated routine tasks, narrow or disable its trigger description so it only runs for concrete framework, version, migration, or documentation-uncertainty cases.
能力评估
Purpose & Capability
The stated purpose is frontend guidance, and the scanner evidence does not show credential use, destructive behavior, data exfiltration, or unrelated capabilities.
Instruction Scope
The package description may trigger on a wider range of frontend tasks than ideal, but this is an over-invocation risk rather than evidence of unsafe behavior.
Install Mechanism
No install-time malware signal was reported, and VirusTotal returned zero malicious or suspicious detections across 64 engines.
Credentials
The described behavior is proportionate for a frontend documentation or implementation-support skill and does not require sensitive environment access based on the supplied evidence.
Persistence & Privilege
No evidence indicates persistence, privilege escalation, background workers, credential/session handling, or broad local indexing.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fec-source-driven-development
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fec-source-driven-development 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.5.0
- Added SKILL.md outlining the principles and procedures of “来源驱动开发” for frontend. - Defines when and how to verify frontend decisions using official documentation, version checks, and source code. - Specifies a clear source priority for documentation, internal configuration, and third-party materials. - Details constraints to avoid relying on memory or unverified practices for version-sensitive judgments. - Establishes expected outputs including source lists and validation steps for key decisions.
元数据
Slug fec-source-driven-development
版本 2.5.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Source Driven Development 是什么?

Use when frontend decisions depend on framework, library, browser, runtime, package, API, or platform behavior that may have changed, including official docu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 30 次。

如何安装 Source Driven Development?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install fec-source-driven-development」即可一键安装,无需额外配置。

Source Driven Development 是免费的吗?

是的,Source Driven Development 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Source Driven Development 支持哪些平台?

Source Driven Development 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Source Driven Development?

由 Bovin Phang(@bovinphang)开发并维护,当前版本 v2.5.0。

💬 留言讨论