[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWJ5Z279RKCDYE4YB4E4V6":3,"skill-same:01M6CWJ5Z279RKCDYE4YB4E4V6":115},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6CWJ5Z279RKCDYE4YB4E4V6","spec-rule-miner",null,"Use this standalone skill when the user asks to mine a repo's existing coding conventions for future AI coding, generate or refresh project rules with AGENTS.md\u002FCLAUDE.md pointers, create Cursor or Qoder rule files from actual code evidence, or make AI-generated code follow a specific project's habits. Do not use for confirmed team policy governance, normal code review\u002Fdebug\u002Frefactor work, linter\u002Fformatter configuration, generic best practices, unsupported tool rule files such as .cursorrules or .kiro\u002Fsteering rules, or generated runtime mirror edits.","leo-kuang-ai\u002Fspec-first","leo-kuang-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8476392?v=4","01M6CWDM2YRT5M8C3G3QC3YGR5","leokuang","01M6CWDM6X46EFBXT1M1GDB5XC",111,"MIT","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"spec rule miner","spec","repo","qoder","kiro","project","do","files","evidence","generated","linter","code review","work","coding","team","refactor","code","generate","create","review","2026-11-10 10:12:30",false,"---\nname: spec-rule-miner\ndescription: \"Use this standalone skill when the user asks to mine a repo's existing coding conventions for future AI coding, generate or refresh project rules with AGENTS.md\u002FCLAUDE.md pointers, create Cursor or Qoder rule files from actual code evidence, or make AI-generated code follow a specific project's habits. Do not use for confirmed team policy governance, normal code review\u002Fdebug\u002Frefactor work, linter\u002Fformatter configuration, generic best practices, unsupported tool rule files such as .cursorrules or .kiro\u002Fsteering rules, or generated runtime mirror edits.\"\n---\n\n# Spec Rule Miner\n\n## Purpose\n\n`spec-rule-miner` 从目标仓库的真实代码中提炼项目级 AI 编码规则，把完整规则写入独立规则文件，并让 `AGENTS.md` \u002F `CLAUDE.md` 这类 host 入口文件引用该文件。它是 standalone skill，不是 `spec-*` public workflow。\n\n核心产物是 \u003C=1000 words 的项目规则块，规则必须来自当前目标仓库证据，而不是语言默认、个人偏好或通用最佳实践。\n\n## When To Use\n\n- 使用本 skill：用户要“分析项目风格”“学习代码规范”“生成项目规则”“挖掘编码习惯”“让 AI 像团队一样写代码”，或明确要生成 `AGENTS.md`\u002F`CLAUDE.md` 引用入口、Cursor\u002FQoder 规则文件。\n\n## When Not To Use\n\n- 不使用本 skill：用户要审查当前 diff、修复代码、重构、调试、写 lint\u002Fformat 配置、生成通用语言规范，或治理 confirmed team policy。\n- 近邻路由：confirmed team policy governance 已退役，不再提供专用入口；代码质量评审走 `spec-code-review`；实际实现或修复走 `spec-work`（bug 根因排查走 `spec-debug`）；创建或修改 spec-first source skill 走 `spec-write-skill`。命中近邻路由时必须在回复中点名目的地 skill（例如：「这是代码评审请求，属于 `spec-code-review`」）——只解释不匹配而不指路，owner 依然无路可走。点名之后不得在本会话内替目的地干活：直接修 bug、直接做代码评审、直接实现需求，都是把别的 workflow 的职责搬进 rule-miner 执行；用户的即时指令（「顺手修了」「直接审了」）不构成跨 workflow 代行授权——正确动作始终是点名目的地并交还路由。\n\n## Inputs\n\n- `target_repo`：必须是一个明确的本地目标仓库。\n- 当前仓库的人写源码、测试、配置和已有 agent rule 文件。\n- 用户指定的输出目标；未指定时使用默认目标。\n\n## Outputs\n\n- `rules_block`：写入独立规则文件的纯规则正文，使用 `spec-rule-miner-start` \u002F `spec-rule-miner-end` markers。\n- `evidence_summary`：每个规则组的代表性文件路径和样本限制；不写入规则文件，除非用户明确要求。\n- `target_files`：默认独立规则文件、入口 pointer 文件与用户指定输出文件，说明 pointer 还是 inline。\n- `limitations`：小样本、大仓库\u002F多包抽样、混合语言、生成代码占比高、历史例外、冲突模式跳过、图候选未回源、refresh no-op、headless 默认写入等限制。\n\n## Hard Boundaries\n\n- 只读目标仓库代码；不要修改业务源码、测试、构建配置或 formatter\u002Flinter 配置。\n- Host-projected copies are outside this skill's rule targets；具体禁区见 [Write Targets](references\u002Fwrite-targets.md)。宿主投影过期时从 source 运行 `spec-first init` 修复。\n- 写入独立规则文件和引用入口前必须 preview 规则正文和目标文件；交互可用时等待用户确认。只有用户明确要求直接写入，或宿主\u002F调用参数明确证明当前运行是 headless\u002Fnon-interactive，才使用默认目标；普通聊天里用户暂未回复不能算 headless。默认写入必须在 closeout 记录 `headless_default_write`、目标文件和限制。\n- 不覆盖用户已有规则。读取目标文件后，只替换 `spec-rule-miner` markers 内的旧块；无 markers 时追加；疑似旧版无 marker 输出时先询问替换还是追加。\n- 非首次执行必须先重新取证并生成 candidate rules block，再与现有 canonical marked block \u002F pointer 对比；无实质变化时不重写文件，closeout 记录 `refresh_noop`、采样范围和限制；有变化时 preview diff 后只替换 marker 内内容。\n- 每条规则必须有当前仓库证据：默认至少 2 个文件支撑；小仓库样本不足时降级说明 sample-size；不确定或 50\u002F50 分裂的模式不写成规则。\n- 不泄露敏感信息：密钥、内部 URL、私有包名、账号、生产路径、安全实现细节只用于判断，不进入规则正文。\n\n## Workflow\n\n1. 明确 `target_repo`。父级多仓工作区必须先锁定一个目标仓库；不清楚时只问一个问题。\n2. 盘点仓库形态：根目录、主要语言、源码目录、测试目录、配置文件、包\u002F应用边界、生成物\u002F依赖目录和已有 agent rule 文件；多包 workspace 必须识别具体子项目范围。\n3. 过滤读取范围：跳过依赖、构建产物、锁文件、minified 文件、二进制、vendored\u002Fgenerated 代码；大仓库或多包仓库使用分层抽样并在 preview 和 closeout 中披露样本包、未覆盖子项目和适用范围。\n4. 读取并记录证据。抽取前先读 [Pattern Categories](references\u002Fpattern-categories.md)，用其中类别组织证据；大仓库可按其中 capability-class 边界使用 `code-graph` \u002F `project-graph` 候选缩小阅读范围，但规则证据必须回到当前源码；配置已强制的 formatter\u002Flinter 规则只记录为“已由工具处理”，不要重复写入 AI 规则。\n5. 合成规则：按 `frequency x deviation from defaults` 排序，保留高频且偏离默认的做法；多包规则必须区分跨包通用模式、包级专属模式和历史例外，旧项目反例只能写成“新增代码优先”或“不扩大例外”；除非证据在适用范围内压倒性一致，不使用全仓库绝对措辞。必须包含至少一个 hidden association 和至少一个 anti-pattern，除非证据明确不存在，并在 preview 限制中说明。规则正文可以包含适用范围和例外边界，这不算挖掘过程元说明。\n6. Preview：展示将写入独立规则文件的规则块、入口引用文件、word count、采样\u002F证据限制、适用包范围、历史例外、refresh diff\u002Fno-op 判断，以及每个规则组的代表性 source refs。规则正文不要包含挖掘过程元说明。\n7. 写入前读 [Write Targets](references\u002Fwrite-targets.md)，按目标文件的 marker、frontmatter、pointer\u002Finline 规则执行。默认把完整规则写入 `docs\u002Fai\u002Fproject-rules.md`，并让 `AGENTS.md` 与 `CLAUDE.md` 指向该文件。\n8. 收尾输出：列出写入文件、规则字数、是否采样、未写入的近邻工具文件、需要用户手动检查的限制；如果没有写文件，说明 preview-only 状态；如果因 headless 走默认写入，必须说明 `headless_default_write` 的证据来源。\n\n## Failure Modes\n\n- 目标仓库没有可分析源码：不生成空规则，说明需要先有代码样本。\n- 用户请求 `.cursorrules`、`.kiro\u002Fsteering\u002F**`、GitHub Copilot、Trae 或其他未支持规则文件：说明目标不在当前支持范围内，不猜路径、不写 pointer。\n- 旧版无 marker 规则块无法安全识别：先询问“迁移到独立规则文件还是追加 pointer”。\n- 证据不足、模式冲突或生成代码占比过高：降级为 limitations，不把不确定模式写成规则。\n- 重新挖掘后与现有 marked block 无实质变化：不要为更新时间戳、排序或同义改写而重写文件；输出 `refresh_noop` 和本次验证过的 source refs \u002F limitations。\n\n## Quality Checks\n\n- 规则块 \u003C=1000 words；中文按连续中文字符粗略折算，宁可少写。\n- 每条规则都能指向当前目标仓库证据；路径在文件树中真实存在。\n- 规则只描述“当前项目如何做”，不提出重构建议，不评价团队好坏。\n- 不把 language\u002Fframework 默认、formatter\u002Flinter 已强制项或生成代码习惯写成项目规则。\n- 多包或混合框架仓库中，跨包规则只写稳定通用模式；包级规则必须带适用范围，并提示改具体子项目先跟随本包现有结构。\n- 存在历史例外或旧项目反例时，用“新增代码优先沿用主模式”“不要扩大历史例外”这类收窄表达；不要写成“全仓库统一\u002F只\u002F永远\u002F不得”的绝对事实。\n- `docs\u002Fai\u002Fproject-rules.md` 是默认 canonical full rules；`AGENTS.md`、`CLAUDE.md` 和其他非 inline 工具文件默认只写 pointer。\n","# Spec Rule Miner\n\n## Purpose\n\n`spec-rule-miner` 从目标仓库的真实代码中提炼项目级 AI 编码规则，把完整规则写入独立规则文件，并让 `AGENTS.md` \u002F `CLAUDE.md` 这类 host 入口文件引用该文件。它是 standalone skill，不是 `spec-*` public workflow。\n\n核心产物是 \u003C=1000 words 的项目规则块，规则必须来自当前目标仓库证据，而不是语言默认、个人偏好或通用最佳实践。\n\n## When To Use\n\n- 使用本 skill：用户要“分析项目风格”“学习代码规范”“生成项目规则”“挖掘编码习惯”“让 AI 像团队一样写代码”，或明确要生成 `AGENTS.md`\u002F`CLAUDE.md` 引用入口、Cursor\u002FQoder 规则文件。\n\n## When Not To Use\n\n- 不使用本 skill：用户要审查当前 diff、修复代码、重构、调试、写 lint\u002Fformat 配置、生成通用语言规范，或治理 confirmed team policy。\n- 近邻路由：confirmed team policy governance 已退役，不再提供专用入口；代码质量评审走 `spec-code-review`；实际实现或修复走 `spec-work`（bug 根因排查走 `spec-debug`）；创建或修改 spec-first source skill 走 `spec-write-skill`。命中近邻路由时必须在回复中点名目的地 skill（例如：「这是代码评审请求，属于 `spec-code-review`」）——只解释不匹配而不指路，owner 依然无路可走。点名之后不得在本会话内替目的地干活：直接修 bug、直接做代码评审、直接实现需求，都是把别的 workflow 的职责搬进 rule-miner 执行；用户的即时指令（「顺手修了」「直接审了」）不构成跨 workflow 代行授权——正确动作始终是点名目的地并交还路由。\n\n## Inputs\n\n- `target_repo`：必须是一个明确的本地目标仓库。\n- 当前仓库的人写源码、测试、配置和已有 agent rule 文件。\n- 用户指定的输出目标；未指定时使用默认目标。\n\n## Outputs\n\n- `rules_block`：写入独立规则文件的纯规则正文，使用 `spec-rule-miner-start` \u002F `spec-rule-miner-end` markers。\n- `evidence_summary`：每个规则组的代表性文件路径和样本限制；不写入规则文件，除非用户明确要求。\n- `target_files`：默认独立规则文件、入口 pointer 文件与用户指定输出文件，说明 pointer 还是 inline。\n- `limitations`：小样本、大仓库\u002F多包抽样、混合语言、生成代码占比高、历史例外、冲突模式跳过、图候选未回源、refresh no-op、headless 默认写入等限制。\n\n## Hard Boundaries\n\n- 只读目标仓库代码；不要修改业务源码、测试、构建配置或 formatter\u002Flinter 配置。\n- Host-projected copies are outside this skill's rule targets；具体禁区见 [Write Targets](references\u002Fwrite-targets.md)。宿主投影过期时从 source 运行 `spec-first init` 修复。\n- 写入独立规则文件和引用入口前必须 preview 规则正文和目标文件；交互可用时等待用户确认。只有用户明确要求直接写入，或宿主\u002F调用参数明确证明当前运行是 headless\u002Fnon-interactive，才使用默认目标；普通聊天里用户暂未回复不能算 headless。默认写入必须在 closeout 记录 `headless_default_write`、目标文件和限制。\n- 不覆盖用户已有规则。读取目标文件后，只替换 `spec-rule-miner` markers 内的旧块；无 markers 时追加；疑似旧版无 marker 输出时先询问替换还是追加。\n- 非首次执行必须先重新取证并生成 candidate rules block，再与现有 canonical marked block \u002F pointer 对比；无实质变化时不重写文件，closeout 记录 `refresh_noop`、采样范围和限制；有变化时 preview diff 后只替换 marker 内内容。\n- 每条规则必须有当前仓库证据：默认至少 2 个文件支撑；小仓库样本不足时降级说明 sample-size；不确定或 50\u002F50 分裂的模式不写成规则。\n- 不泄露敏感信息：密钥、内部 URL、私有包名、账号、生产路径、安全实现细节只用于判断，不进入规则正文。\n\n## Workflow\n\n1. 明确 `target_repo`。父级多仓工作区必须先锁定一个目标仓库；不清楚时只问一个问题。\n2. 盘点仓库形态：根目录、主要语言、源码目录、测试目录、配置文件、包\u002F应用边界、生成物\u002F依赖目录和已有 agent rule 文件；多包 workspace 必须识别具体子项目范围。\n3. 过滤读取范围：跳过依赖、构建产物、锁文件、minified 文件、二进制、vendored\u002Fgenerated 代码；大仓库或多包仓库使用分层抽样并在 preview 和 closeout 中披露样本包、未覆盖子项目和适用范围。\n4. 读取并记录证据。抽取前先读 [Pattern Categories](references\u002Fpattern-categories.md)，用其中类别组织证据；大仓库可按其中 capability-class 边界使用 `code-graph` \u002F `project-graph` 候选缩小阅读范围，但规则证据必须回到当前源码；配置已强制的 formatter\u002Flinter 规则只记录为“已由工具处理”，不要重复写入 AI 规则。\n5. 合成规则：按 `frequency x deviation from defaults` 排序，保留高频且偏离默认的做法；多包规则必须区分跨包通用模式、包级专属模式和历史例外，旧项目反例只能写成“新增代码优先”或“不扩大例外”；除非证据在适用范围内压倒性一致，不使用全仓库绝对措辞。必须包含至少一个 hidden association 和至少一个 anti-pattern，除非证据明确不存在，并在 preview 限制中说明。规则正文可以包含适用范围和例外边界，这不算挖掘过程元说明。\n6. Preview：展示将写入独立规则文件的规则块、入口引用文件、word count、采样\u002F证据限制、适用包范围、历史例外、refresh diff\u002Fno-op 判断，以及每个规则组的代表性 source refs。规则正文不要包含挖掘过程元说明。\n7. 写入前读 [Write Targets](references\u002Fwrite-targets.md)，按目标文件的 marker、frontmatter、pointer\u002Finline 规则执行。默认把完整规则写入 `docs\u002Fai\u002Fproject-rules.md`，并让 `AGENTS.md` 与 `CLAUDE.md` 指向该文件。\n8. 收尾输出：列出写入文件、规则字数、是否采样、未写入的近邻工具文件、需要用户手动检查的限制；如果没有写文件，说明 preview-only 状态；如果因 headless 走默认写入，必须说明 `headless_default_write` 的证据来源。\n\n## Failure Modes\n\n- 目标仓库没有可分析源码：不生成空规则，说明需要先有代码样本。\n- 用户请求 `.cursorrules`、`.kiro\u002Fsteering\u002F**`、GitHub Copilot、Trae 或其他未支持规则文件：说明目标不在当前支持范围内，不猜路径、不写 pointer。\n- 旧版无 marker 规则块无法安全识别：先询问“迁移到独立规则文件还是追加 pointer”。\n- 证据不足、模式冲突或生成代码占比过高：降级为 limitations，不把不确定模式写成规则。\n- 重新挖掘后与现有 marked block 无实质变化：不要为更新时间戳、排序或同义改写而重写文件；输出 `refresh_noop` 和本次验证过的 source refs \u002F limitations。\n\n## Quality Checks\n\n- 规则块 \u003C=1000 words；中文按连续中文字符粗略折算，宁可少写。\n- 每条规则都能指向当前目标仓库证据；路径在文件树中真实存在。\n- 规则只描述“当前项目如何做”，不提出重构建议，不评价团队好坏。\n- 不把 language\u002Fframework 默认、formatter\u002Flinter 已强制项或生成代码习惯写成项目规则。\n- 多包或混合框架仓库中，跨包规则只写稳定通用模式；包级规则必须带适用范围，并提示改具体子项目先跟随本包现有结构。\n- 存在历史例外或旧项目反例时，用“新增代码优先沿用主模式”“不要扩大历史例外”这类收窄表达；不要写成“全仓库统一\u002F只\u002F永远\u002F不得”的绝对事实。\n- `docs\u002Fai\u002Fproject-rules.md` 是默认 canonical full rules；`AGENTS.md`、`CLAUDE.md` 和其他非 inline 工具文件默认只写 pointer。\n",{"name":5,"description":7},"master","74655dc86b1270bb52239e0f8bc9517de7a7071c","skills\u002Fspec-rule-miner",13,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first","http:\u002F\u002Fspec-first.cn\u002F","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai","作为一个初学者或者进阶者，这并没有什么错。当一个有能力的程序员而不是领导者，这也没有什么错。真正的错误是，当你知道应该如何去提高时仍然选择做一名初学者。","2026-11-13 19:40:36",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add leo-kuang-ai\u002Fspec-first --skill spec-rule-miner",{"tool":59,"command":60},"bunx","bunx skills add leo-kuang-ai\u002Fspec-first --skill spec-rule-miner",{"tool":62,"command":63},"pnpm","pnpm dlx skills add leo-kuang-ai\u002Fspec-first --skill spec-rule-miner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002FSKILL.md",true,[67,73,77,81,85,89,93,99,103,107,111],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"evals\u002Fcases\u002Fno-preview-no-write.yaml","REFERENCE","参考文档",752,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Fcases\u002Fno-preview-no-write.yaml",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"evals\u002Fcases\u002Fr2-debug-request-routes-out.yaml",829,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Fcases\u002Fr2-debug-request-routes-out.yaml",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"evals\u002Fcases\u002Freview-request-routes-out.yaml",786,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Fcases\u002Freview-request-routes-out.yaml",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"evals\u002Feval.yaml",405,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Feval.yaml",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"evals\u002Ffixtures\u002Frepos\u002Fmini-ledger\u002Fpackage.json",96,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Ffixtures\u002Frepos\u002Fmini-ledger\u002Fpackage.json",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"evals\u002Ffixtures\u002Frepos\u002Fmini-ledger\u002FREADME.md",365,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Ffixtures\u002Frepos\u002Fmini-ledger\u002FREADME.md",{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"evals\u002Ffixtures\u002Frepos\u002Fmini-ledger\u002Fsrc\u002Fserver.js","SCRIPT","脚本",665,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Ffixtures\u002Frepos\u002Fmini-ledger\u002Fsrc\u002Fserver.js",{"path":100,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":101,"sourceHtmlUrl":102},"evals\u002Ffixtures\u002Fscripts\u002Fcheck-preview-first.sh",505,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Ffixtures\u002Fscripts\u002Fcheck-preview-first.sh",{"path":104,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":105,"sourceHtmlUrl":106},"evals\u002Ftrigger-cases.json",15087,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Fevals\u002Ftrigger-cases.json",{"path":108,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fpattern-categories.md",5853,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Freferences\u002Fpattern-categories.md",{"path":112,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fwrite-targets.md",4546,"https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-rule-miner\u002Freferences\u002Fwrite-targets.md",[116,139,159,171,185,204],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":39},"01M6CWKQCYJXDCW4MEF3FSJE26","using-spec-first","Standalone entry governor for spec-first. Use before substantial work in a spec-first repo or when the user asks what to run next; choose one public `spec-*` workflow, standalone skill, terminal command, or Direct Lane. Do not use to reroute active public workflows or bounded workers, or for lightweight facts, current-context explanations, narrow lookups, user-supplied single-document cleanup, or clearly scoped low-risk edits.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fusing-spec-first\u002FSKILL.md",[],[20,123,124,125,31,126,127,25,128,129,130,21,131,132,133,134,135,136,137,138],"first","using spec first","terminal","active","next","use","context","command","choose","direct","risk","lane","run","cleanup","workflows","workflow",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":39},"01M6CWKK43ZJKQXKVJB3BWWPR1","spec-write-tasks","Public workflow entrypoint (spec-write-tasks): compile a settled local spec-plan into an optional derived task pack for spec-work, or validate an existing local task pack before execution. Use for explicit plan-splitting\u002Ftask-doc requests or high-complexity work suitability; do not use for plan authoring, implementation execution, unresolved scope, small low-risk plans, progress\u002Fapproval state, remote\u002Fgeneric task lists, or generated runtime mirror edits. Keep the plan as single source of truth; tasks are derived and optional.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-write-tasks\u002FSKILL.md",[],[20,146,147,148,149,150,25,151,152,128,28,31,153,154,133,155,156,157,138,158],"tasks","write","spec write tasks","local","task","complexity","plan authoring","plan","doc","execution","compile","validate","state",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":39},"01M6CWKEK6CVPQW8EMCNSDPHBJ","spec-write-skill","公开 workflow：创建、修改或迁移项目拥有的 Agent Skill package，或对现有\u002F外部 package 做用户明确要求、零执行的只读验证与 readiness 报告时使用；也用于按已接受的 audit finding 修复 source skill。不要用于一次性回答、解释\u002F总结\u002F翻译、普通代码 review、第三方 Skill 纯安装或导入、跨仓批量修改，或直接修补 generated runtime mirrors。","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-write-skill\u002FSKILL.md",[],[166,20,147,167,168,28,169,170,138,38],"spec write skill","write skill","audit","翻译","package",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":39},"01M6CWKBDEZ7QFF1ZH3DP52SHA","spec-worktree","Internal helper for caller-owned git worktree isolation. Governed callers are spec-dogfood and spec-work; every caller must provide the forward invocation and intake contract.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-worktree\u002FSKILL.md",[],[20,178,179,180,181,182,183,31,184],"worktree","spec worktree","intake","git","Bash","dogfood","git worktree",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":39},"01M6CWK5W4VREMNXGQQKXXSQ3N","spec-work","Execute a settled plan, validated task pack, spec path, or concrete implementation request end-to-end. Use spec-debug for open-ended bugs; stop when target repo, scope, source ownership, or required authorization is unresolved. Not for explicitly requested GitHub PR-review-feedback handling — route those to spec-resolve-pr-feedback.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-work\u002FSKILL.md",[],[31,192,20,193,194,195,196,197,150,198,199,200,128,21,201,202,153,203,154,38],"spec work","stop","github","to spec","debug","route","github pr","implementation","auto","pr","feedback","open",{"skillNo":205,"name":206,"nameZh":6,"description":207,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":39},"01M6CWK1MFTSNV9MYD4C8WGB8B","spec-test-xcode","Build and test iOS apps on simulator using XcodeBuildMCP. Use after making iOS code changes, before creating a PR, or when verifying app behavior and checking for crashes on simulator.","https:\u002F\u002Fgithub.com\u002Fleo-kuang-ai\u002Fspec-first\u002Fblob\u002Fmaster\u002Fskills\u002Fspec-test-xcode\u002FSKILL.md",[],[20,211,212,201,35,213,214,215,128,216,217],"test","spec test xcode","ios","build and test","behavior","default","build"]