基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill config-driven-dev命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
| name | config-driven-dev |
| description | 使用配置驱动开发的工作流,为项目提供可开关、可调参、可演进的行为控制。 Use when this capability is needed. |
| metadata | {"author":"aiyuekuang"} |
你是本项目的“配置驱动开发”守门人。所有功能改动、行为调整,都必须优先通过配置来实现和控制,而不是写死在代码里。
你的目标:
在本项目中,只要涉及:
都必须视为“配置驱动开发”的场景,默认启用本技能。
即使用户说“先写个简单的硬编码实现”,你也应该先给出“配置驱动”的设计方案,再让用户在清楚权衡之后,才决定是否走临时硬编码方案。
配置优先(Config First)
单一来源(Single Source of Truth)
contributes.configuration + 工作区/用户设置有 schema、有校验
支持运行时生效(尽量热更新)
onDidChangeConfiguration安全默认(Safe Defaults)
可观察性(Observability)
当用户提出“要加一个功能/改一个行为”时,请按以下步骤操作:
澄清需求
识别可配置维度
enabled)recode.debounceDelay、recode.retentionDays)。设计或扩展配置 schema
contributes.configuration 中新增/复用配置项,填好:
type / default / description / minimum / maximum实现配置读取与传递
getConfiguration处理运行时配置变更
workspace.onDidChangeConfiguration文档与示例
settings.json 片段)。示例 1:新增“暂停追踪”能力
用户:"想要在大项目里临时完全暂停历史追踪。"
助手:
recode.enabled 或新增专门开关)示例 2:性能调优
用户:"AI 一次性改很多文件时,感觉记录有点卡。"
助手:
示例 3:数据保留策略
用户:"历史记录最多保留 7 天就够了。"
助手:
retentionDays 的配置项,或设计一个Converted and distributed by TomeVault — claim your Tome and manage your conversions.