Files
market/skills/mattpocock-skills/collection-child-overrides.json
T
mashaguaandDevin 2e32e0be60 chore(catalog): 更新 mattpocock-skills 上游快照至 f72828b1 并收录 perfect-docs (#468)
取代过时草稿 #447:上游在那之后又更新了,本 PR 直接针对上游最新版本。#447 保持草稿,等后续清理。

上游快照:`d65391149dbb5fe76478e76fa8d5122b2aa5a70e` →
`f72828b1963140a33111a18bb3c4c64ebac305bc`(合集,39 → 40 个子技能)

## 修改内容

| 类型 | 模块或功能 | 本次修改 |
| --- | --- | --- |
| 新增 | 子技能 `perfect-docs`(`skills/in-progress/perfect-docs`,完美文档站) |
收录上游新成员。中英文简介写入 `collection-child-overrides.json`,由
`gen-collection-children.py` 生成 entry 子项,并镜像到 catalog 子项;`childCount` 39
→ 40 |
| 更新 | 固定来源 |
`source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到
`f72828b1` |
| 更新 | 专项复核 | `acceptedCollectionPaths` 改为 40
个;`acceptedFrontmatterSha256` 新增
perfect-docs;`acceptedClientAttachedNotices` 换成新 pin 上 40
个子技能的回读(每个子技能都记录了 `contentDigest`);删除绑定旧 pin 的
`acceptedDescriptionAndLocales`(本 pin 上没有已登记子技能的简介变化) |
| 更新 | 审核回执 | 重新生成 `upstream-audit.v1.json`(fileCount
119,contentManifestSha256 `aa63c26d…`) |

新成员简介:
- 中文:上游
in-progress(测试中)的文档站规范技能(完美文档站):定义库文档站的目标形态,包括快速开始、学习、指南与参考,每个事实只写一处,按学习顺序讲解概念,代码示例对照源码核验,覆盖全部导出并维护交叉链接与重定向;用于编写、重组或审计文档站,或添加保持文档与代码一致的检查。
- 英文:Upstream in-progress docs-site standard: defines a library
documentation site's target state … Use to write, restructure or audit a
docs site, or to add checks that keep docs true to the code.

## 修改前后

| 场景 | 修改前 | 修复后 |
| --- | --- | --- |
| 自动核验 | `合集成员集合变化`;回读不覆盖新成员;简介复核绑定的是旧 pin | 审核通过 |
| 市场列表 | 39 个子技能 | 40 个,新增 perfect-docs |

## 安装回读说明

新成员还没有登记进市场目录,没法从客户端界面安装。做法沿用先例(d6539114 那次也是对待审的新 pin 回读):用
**DesireCore v10.0.219** 的合集子技能暂存逻辑,即 `fetchSourceRepoToTemp` 拉取新 pin
后,对每个子技能执行 `stageMarketSkillDirectory(…, { attachNoticeFilesFrom: 合集根目录
})`。

- 所用文件和 tag v10.0.219 逐个 blob 相同:`skill-staging.ts`
`c7cb8a19`、`source-fetch.ts` `92ec3b35`、`source-cache.ts` `20c61ba0`。
- 结果:40 个子技能的安装副本都附带了根 `LICENSE`(SHA-256 `0e7ac423…`,和旧记录相同)。
- **交叉验证**:上游没改过的 25 个子技能,这次得到的 `contentDigest` 和旧回读记录逐个相同;有差异的 14
个,正好就是上游这次改动过的子技能。
- 已核验实现 `28128a15`(tree `e8c1321e`)是 v10.0.219
的祖先。子技能目录里没有同名通知文件时,两者的附加行为等价;后续改动只有大小写不敏感的重名处理、`COPYFILE_EXCL`,以及 lock
里记录 `attachedNotices`。`clientReleaseTag` 记为 `v10.0.219`。

## 影响范围

| 文件 | 行号 | 改动 |
| --- | --- | --- |
| `skills/mattpocock-skills/entry.json` | 34, 313-324 | `source.ref`;新子项
|
| `skills/mattpocock-skills/collection-child-overrides.json` | 391-400 |
新成员双语简介(保持原有顺序,追加在末尾) |
| `skills/mattpocock-skills/catalog-metadata.v1.json` | 33, 41, 46, 54,
73-74, 98, 675-699 | 时间戳、provenance、compliance、childCount、新子项镜像 |
| `skills/mattpocock-skills/special-review.v1.json` | 多处 | 新 pin
的回读、成员路径、frontmatter 哈希、复核说明 |
| `skills/mattpocock-skills/upstream-audit.v1.json` | 4-8, 33, 63-74 | 新
pin 的自动核验回执 |

## 验证

| 检查项或场景 | 预期结果 | 实际结果 | 证据 |
| --- | --- | --- | --- |
| `audit_update`(main 上的旧条目 + 本 PR 的专项复核,真实 fetch) | 通过 | 通过,fileCount
119 | commit `01bd49f` |
| `validate_catalog_metadata.py --require-complete` / `validate-i18n.py`
| 0 error | 0 error,105 warning(main 原有) | 本地 |
| `translate.py --check` / `gen-collection-children.py --check
mattpocock-skills` | 通过 | 通过(40 children) | 本地 |
| `special-review.v1.schema.json` | 符合 | 符合 | 本地 |
| CI | 全部通过 | 等待中 | 本 PR checks |

只做来源、许可和元数据核验,没有执行上游代码,不等于安全认证或运行验收。请勿自动合并。

---------

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-12-06 12:11:51 +08:00

403 lines
14 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"chief-of-staff": {
"i18n": {
"zh-CN": {
"shortDesc": "上游 in-progress(测试中)、仅显式手动调用的统筹技能:将工作委派给新上下文后台子 Agent,主会话保留问答,并把有日期与提交依据的知识写入约定的 wiki,供后续会话续接;任务遇到阻力时先提议环境改进,用户接受后再执行。重复任务可在宿主支持时提议定期运行,仍需用户授权;需要子 Agent 能力及另行授权的 wiki、Git 和任务跟踪工具访问。"
},
"en-US": {
"shortDesc": "Upstream in-progress, explicitly user-invoked coordination skill: delegates work to fresh-context background subagents, keeps the conversation in the main session, and records dated, commit-cited knowledge in an agreed wiki for later sessions. After friction, offers environment changes before acting on acceptance. May propose recurring work where the host supports it; wiki, Git, tracker writes and schedules still require user authorization."
}
}
},
"implement-spec": {
"i18n": {
"zh-CN": {
"shortDesc": "按规格和任务依赖图实现功能;需要宿主支持子 Agent、Git 分支及所选任务跟踪工具。"
},
"en-US": {
"shortDesc": "Implement a specification and its task graph; requires host subagents, Git branches and the chosen issue tracker."
}
}
},
"pr": {
"i18n": {
"zh-CN": {
"shortDesc": "为拉取请求撰写说明,交代修改内容、验证证据和合并影响。"
},
"en-US": {
"shortDesc": "Write pull request descriptions covering changes, validation evidence and merge impact."
}
}
},
"retro": {
"i18n": {
"zh-CN": {
"shortDesc": "回顾编程会话,依据日志与现有检查改进开发环境和工作规则。"
},
"en-US": {
"shortDesc": "Review a coding session using logs and existing checks to improve the development environment and working rules."
}
}
},
"ask-matt": {
"i18n": {
"zh-CN": {
"shortDesc": "判断哪项技能或工作流程适合当前情况。"
},
"en-US": {
"shortDesc": "Ask which skill or flow fits your situation."
}
}
},
"code-review": {
"i18n": {
"zh-CN": {
"shortDesc": "以固定提交、分支、标签或合并基点为起点,从仓库规范与正确性两个维度审查代码变更。"
},
"en-US": {
"shortDesc": "Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standa…"
}
}
},
"codebase-design": {
"i18n": {
"zh-CN": {
"shortDesc": "用于设计深模块的共同术语。"
},
"en-US": {
"shortDesc": "Shared vocabulary for designing deep modules."
}
}
},
"diagnosing-bugs": {
"i18n": {
"zh-CN": {
"shortDesc": "用于诊断疑难缺陷和性能回退的循环流程。"
},
"en-US": {
"shortDesc": "Diagnosis loop for hard bugs and performance regressions."
}
}
},
"domain-modeling": {
"i18n": {
"zh-CN": {
"shortDesc": "建立并完善项目的领域模型。"
},
"en-US": {
"shortDesc": "Build and sharpen a project's domain model."
}
}
},
"grill-with-docs": {
"i18n": {
"zh-CN": {
"shortDesc": "通过持续追问完善计划或设计,同时形成架构决策记录与术语表。"
},
"en-US": {
"shortDesc": "A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go."
}
}
},
"implement": {
"i18n": {
"zh-CN": {
"shortDesc": "依据规格或一组任务单实现工作。"
},
"en-US": {
"shortDesc": "Implement a piece of work based on a spec or set of tickets."
}
}
},
"improve-codebase-architecture": {
"i18n": {
"zh-CN": {
"shortDesc": "扫描代码库中加深模块封装的机会,生成可视化 HTML 报告,再对选定机会展开追问。"
},
"en-US": {
"shortDesc": "Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick."
}
}
},
"prototype": {
"i18n": {
"zh-CN": {
"shortDesc": "构建可丢弃的原型,以验证设计问题。"
},
"en-US": {
"shortDesc": "Build a throwaway prototype to answer a design question."
}
}
},
"research": {
"i18n": {
"zh-CN": {
"shortDesc": "依据高可信的一手来源调查问题,并将发现保存为仓库中的 Markdown 文件。"
},
"en-US": {
"shortDesc": "Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo."
}
}
},
"setup-matt-pocock-skills": {
"i18n": {
"zh-CN": {
"shortDesc": "配置工程技能使用的任务跟踪工具、分流标签与领域文档布局。"
},
"en-US": {
"shortDesc": "Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout."
}
}
},
"tdd": {
"i18n": {
"zh-CN": {
"shortDesc": "测试驱动开发。"
},
"en-US": {
"shortDesc": "Test-driven development."
}
}
},
"to-spec": {
"i18n": {
"zh-CN": {
"shortDesc": "将当前已讨论的内容综合为规格并发布到项目任务跟踪工具,不额外访谈。"
},
"en-US": {
"shortDesc": "Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed."
}
}
},
"to-tickets": {
"i18n": {
"zh-CN": {
"shortDesc": "将计划、规格或当前对话拆成端到端贯通的任务单,声明阻塞依赖并发布到配置的任务跟踪工具。"
},
"en-US": {
"shortDesc": "Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edg…"
}
}
},
"triage": {
"i18n": {
"zh-CN": {
"shortDesc": "通过角色状态机分流议题与外部 PR,分类、核验,必要时追问,并形成可交给 Agent 执行的简报。"
},
"en-US": {
"shortDesc": "Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs."
}
}
},
"wayfinder": {
"i18n": {
"zh-CN": {
"shortDesc": "将超出单次 Agent 会话容量的大型工作规划为任务跟踪工具中的共享决策地图,逐项解决决策任务。"
},
"en-US": {
"shortDesc": "Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until…"
}
}
},
"wizard": {
"i18n": {
"zh-CN": {
"shortDesc": "生成交互式 Bash 向导,引导用户完成只能由人执行的步骤。"
},
"en-US": {
"shortDesc": "Generate an interactive bash wizard that walks a human through steps only they can perform."
}
}
},
"claude-handoff": {
"i18n": {
"zh-CN": {
"shortDesc": "将当前对话交接给一个新的后台 Agent,由其立即接手工作。"
},
"en-US": {
"shortDesc": "Hand the current conversation off to a fresh background agent that picks up the work immediately."
}
}
},
"loop-me": {
"i18n": {
"zh-CN": {
"shortDesc": "围绕当前工作区内拟构建的工作流规格向用户深入追问。"
},
"en-US": {
"shortDesc": "Grill me about specs for the workflows I want to build, within this workspace."
}
}
},
"setup-ts-deep-modules": {
"i18n": {
"zh-CN": {
"shortDesc": "为 TypeScript 仓库接入 dependency-cruiser,使各包成为实现藏于子目录、仅通过入口文件访问的深模块。"
},
"en-US": {
"shortDesc": "Wire dependency-cruiser into a TypeScript repo so each package is a deep module, with implementation hidden in subfolders and reachable only through its entry-p…"
}
}
},
"writing-beats": {
"i18n": {
"zh-CN": {
"shortDesc": "写作整合阶段:将原始材料组织成叙事节拍,在后续节拍依赖术语前先交代其含义。"
},
"en-US": {
"shortDesc": "Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it."
}
}
},
"writing-fragments": {
"i18n": {
"zh-CN": {
"shortDesc": "写作探索阶段:挖掘原始片段,暂不组织结构。"
},
"en-US": {
"shortDesc": "Writing, explore: mine raw fragments, no structure yet."
}
}
},
"writing-shape": {
"i18n": {
"zh-CN": {
"shortDesc": "写作整合阶段:逐段将原始材料组织成文章。"
},
"en-US": {
"shortDesc": "Writing, exploit: shape raw material into an article, paragraph by paragraph."
}
}
},
"git-guardrails-claude-code": {
"i18n": {
"zh-CN": {
"shortDesc": "配置 Claude Code hooks,在危险 Git 命令执行前阻止 push、reset --hard、clean、branch -D 等操作。"
},
"en-US": {
"shortDesc": "Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute."
}
}
},
"migrate-to-shoehorn": {
"i18n": {
"zh-CN": {
"shortDesc": "将测试文件中的 as 类型断言迁移为 @total-typescript/shoehorn。"
},
"en-US": {
"shortDesc": "Migrate test files from `as` type assertions to @total-typescript/shoehorn."
}
}
},
"scaffold-exercises": {
"i18n": {
"zh-CN": {
"shortDesc": "创建包含章节、习题、答案与讲解且通过 lint 检查的练习目录结构。"
},
"en-US": {
"shortDesc": "Create exercise directory structures with sections, problems, solutions, and explainers that pass linting."
}
}
},
"setup-pre-commit": {
"i18n": {
"zh-CN": {
"shortDesc": "在当前仓库配置 Husky pre-commit hooks,执行 lint-staged(Prettier)、类型检查与测试。"
},
"en-US": {
"shortDesc": "Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo."
}
}
},
"grill-me": {
"i18n": {
"zh-CN": {
"shortDesc": "通过持续深入的访谈完善计划或设计。"
},
"en-US": {
"shortDesc": "A relentless interview to sharpen a plan or design."
}
}
},
"grilling": {
"i18n": {
"zh-CN": {
"shortDesc": "围绕计划、决策或想法向用户持续深入追问。"
},
"en-US": {
"shortDesc": "Grill the user relentlessly about a plan, decision, or idea."
}
}
},
"handoff": {
"i18n": {
"zh-CN": {
"shortDesc": "将当前对话压缩为交接文档,供另一位 Agent 接手。"
},
"en-US": {
"shortDesc": "Compact the current conversation into a handoff document for another agent to pick up."
}
}
},
"teach": {
"i18n": {
"zh-CN": {
"shortDesc": "在当前工作区内向用户讲解一项新技能或概念。"
},
"en-US": {
"shortDesc": "Teach the user a new skill or concept, within this workspace."
}
}
},
"to-questionnaire": {
"i18n": {
"zh-CN": {
"shortDesc": "将尚无法完全回答的决策转成问卷,交由他人填写。"
},
"en-US": {
"shortDesc": "Turn a decision you can't fully answer into a questionnaire for someone else to fill in."
}
}
},
"wait-what": {
"i18n": {
"zh-CN": {
"shortDesc": "停止。"
},
"en-US": {
"shortDesc": "Stop."
}
}
},
"writing-for-agents": {
"i18n": {
"zh-CN": {
"shortDesc": "为 Agent 编写文档。"
},
"en-US": {
"shortDesc": "Writing documents for agents."
}
}
},
"software-factory": {
"i18n": {
"zh-CN": {
"shortDesc": "上游 in-progress(测试中)、仅显式手动调用的软件工厂设计术语与方法:梳理任务、运行及服务,设置自动校验、独立审查和人工审查制动;设计建议不构成部署、创建触发器或合并代码的授权。"
},
"en-US": {
"shortDesc": "Upstream in-progress, explicitly user-invoked vocabulary and design guide for software factories: maps tasks, runs and services, with automated checks, independent review and human review as brakes. Design guidance does not authorize deployment, trigger creation or merging."
}
}
},
"perfect-docs": {
"i18n": {
"zh-CN": {
"shortDesc": "上游 in-progress(测试中)的文档站规范技能(完美文档站):定义库文档站的目标形态,包括快速开始、学习、指南与参考,每个事实只写一处,按学习顺序讲解概念,代码示例对照源码核验,覆盖全部导出并维护交叉链接与重定向;用于编写、重组或审计文档站,或添加保持文档与代码一致的检查。"
},
"en-US": {
"shortDesc": "Upstream in-progress docs-site standard: defines a library documentation site's target state with quick starts, Learn, Guides and Reference, one home per fact, learning-order concepts, code examples checked against the source, full export coverage, cross-links and redirects. Use to write, restructure or audit a docs site, or to add checks that keep docs true to the code."
}
}
}
}