speculo-write
创建或改造 Speculo workflows、skills、commands 的原子能力;当用户要求根据参考项目、外部技能、当前规范或产品意图,设计、迁移、融合、更新 Speculo 资产时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
创建或改造 Speculo workflows、skills、commands 的原子能力;当用户要求根据参考项目、外部技能、当前规范或产品意图,设计、迁移、融合、更新 Speculo 资产时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage git submodules for the learning-open-code mono-repo. Use when the user wants to: (1) Add a new git submodule — auto-detect or specify the category (open-ai-skills/open-sdd/open-ai-agent/open-ai-desktop/open-knowledge/open-productivity/open-java/open-trading/open-data), record the tracking branch in .gitmodules, clone the repo, and update README.md index. (2) Sync all existing submodules to their configured branches (git fetch + checkout branch + pull). (3) Update the root README.md with an up-to-date index of all synced projects grouped by category. (4) Initialize submodules after git clone — when open-*/ directories are empty or git submodule status returns nothing, guide through the full SOP (git submodule update --init --recursive [--remote]). Trigger keywords: submodule, git submodule, 子模块, add submodule, sync submodule, update submodule, submodule branch, README index, 更新索引, clone, init, 初始化子模块, submodule init, 拉取子模块.
对开源项目进行穷尽式教学文档生成——从宏观架构到微观实现的五层分级讲解,使用 Goal Loop 算法自主驱动完整代码覆盖。所有具体教学内容生成必须激活 `.agents/skills/teach/SKILL.md`。触发条件:用户要求"完整学习某个项目"、"生成项目架构文档"、"从入口到落地讲清楚每个功能"、"代码考古"、"源码分析"、或指定一个项目目录/仓库要求全面教学。
使用并行子 agent 为模块生成多个截然不同的接口设计。当用户想要设计 API、探索接口选项、比较模块形态,或提到 "设计两次" 时使用。
交互式 QA 会话,用户以对话方式报告 bug 或问题,agent 将其录入 GitHub Issue。在后台探索代码库以获取上下文和领域语言。当用户想要报告 bug、做 QA、以对话方式录入 issue,或提及 "QA session" 时使用。
通过用户访谈创建包含微小提交的详细重构计划,并将其录入 GitHub Issue。当用户想要规划重构、创建重构 RFC,或将重构分解为安全的渐进步骤时使用。
从当前对话中提取 DDD 风格的通用语言词汇表,标记歧义并提出规范术语。保存到 UBIQUITOUS_LANGUAGE.md。当用户想要定义领域术语、构建词汇表、固化术语、创建通用语言,或提到 "领域模型" 或 "DDD" 时使用。
| id | speculo-write |
| type | skill |
| name | Speculo Write |
| description | 创建或改造 Speculo workflows、skills、commands 的原子能力;当用户要求根据参考项目、外部技能、当前规范或产品意图,设计、迁移、融合、更新 Speculo 资产时使用。 |
创作任何 Speculo 资产的根本美德是可预测性——让代理每次运行采用相同的过程(而非相同输出)。本 skill 自带全部 Speculo 规范(路径、frontmatter、持久化)与质量杠杆(references/authoring-quality-levers.md),并以身作则遵守它们。
当任务是新增、迁移、融合或改造 Speculo 的 workflows/、skills/、commands/、配套模板、引用资料或 speculo/.speculo/ 状态骨架时使用。
典型触发:
template/workflows/<cat>/、template/skills/、template/commands/本 skill 自带全部 Speculo 规范,已内化到下方 references/,编写时不外读仓库 docs/。
references/、workflow phase 文件、workflow _templates/ 或 command 内联模板speculo/.speculo/ 初始骨架或状态索引更新建议references/asset-selection-sop.md。references/authoring-quality-levers.md)。references/authoring-quality-levers.md 的失败模式与空操作测试逐句修剪;提交前过一遍 references/validation-checklist.md。references/authoring-quality-levers.md:贯穿全程的质量理论——可预测性、主导词、信息层级、完成标准、何时拆分、修剪与失败模式;设计结构、措辞、修剪和验收时读取。references/asset-selection-sop.md:判断应做 workflow、skill 还是 command 时读取。references/workflow-authoring-sop.md:创建或改造 workflow、phase、template、索引和状态字段时读取。references/skill-authoring-sop.md:创建原子 skill、迁移外部技能、拆分 references 时读取。references/command-authoring-sop.md:创建单步 command、调用 skill、设计归档产物时读取。references/persistence-contract-sop.md:需要 .status.json schema、目录命名、frontmatter 最小集或写入责任时读取。references/migration-sop.md:从 temp/skills、参考项目或旧 workflow 迁移能力时读取。references/validation-checklist.md:提交前检查 frontmatter、路径、模板、speculo/.speculo/、测试和旧路径残留时读取。