mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-07 04:39:25 +08:00
这是草稿 #448 的正式 PR。#448 保持草稿,等后续清理。 上游快照:`491524bd36a3f9f8d2e35caa5b56368b67d88ced` → `37c865f769f05c2bddfc8080679d54a9adbbe068`(合集,9 → 10 个子技能) ## 修改内容 | 类型 | 模块或功能 | 本次修改 | | --- | --- | --- | | 新增 | 子技能 `patent-distill`(`skills/patent-distill`,专利蒸馏) | 收录上游新成员(`user-invocable: false`,由合集根路由或写作流程调用)。中英文简介写入 `collection-child-overrides.json`,生成 entry 子项并镜像到 catalog;`childCount` 9 → 10 | | 更新 | 固定来源 | `source.ref`、`provenance.content.ref`、`compliance.reviewedRef` 更新到 `37c865f7`,双语 description 中的 pin 同步 | | 更新 | 专项复核 | `acceptedCollectionPaths` 改为 10 个;新增 `acceptedFrontmatterSha256["skills/patent-distill"]`;新增 `budgetExemptPaths: ["skills/patent-disclosure/tools/vendor/mermaid.min.js"]`;`acceptedClientAttachedNotices` 换成新 pin 上 10 个子技能的回读(带 `contentDigest`) | | 新增 | 审核回执 | 首次生成 `upstream-audit.v1.json`(fileCount 555,contentManifestSha256 `eecb0600…`) | 新成员简介: - 中文:专利蒸馏:把多份交底书、申请文件或公开全文合并成一份文风档案,并按案件从交底与权利要求的对照中提炼权要选择思路,生成各案的策略观察与 playbook.yaml。只学写法与保护点切分,不抄样本事实,不代为下载全文;需先把文件放到工作区。不可直接点选,由合集根路由或写作流程调用。 - 英文:Patent distillation: merges several disclosures, filings or published full texts into one writing-style profile … Not user-invocable; called by the collection's root router or drafting flow. ## 修改前后 | 场景 | 修改前 | 修复后 | | --- | --- | --- | | 自动核验 | `合集成员集合变化`;回读不覆盖新成员;继续往下会被 `单文件超过自动审核预算(mermaid.min.js 2571900 bytes)` 阻断 | 审核通过 | | 市场列表 | 9 个子技能 | 10 个,新增 patent-distill | 核验依据: - `mermaid.min.js` 是内置的 mermaid 11.4.1(`tools/vendor/README.md` 里写明了来源,供 Playwright 本地出图、不从 CDN 拉取),在新旧 pin 上 blob 相同(`b01ad01a2a…`)。只做预算豁免,仍然计入审核清单,也照常安装。 - 根 `LICENSE`(MIT)在新旧 pin 上逐字节相同。 - 安装回读:新成员还没登记进市场目录,没法从客户端界面安装,所以和 #468 一样,用 DesireCore v10.0.219 的合集子技能暂存逻辑对新 pin 执行。所用文件和 tag v10.0.219 的 blob 相同(`skill-staging.ts` `c7cb8a19`、`source-fetch.ts` `92ec3b35`、`source-cache.ts` `20c61ba0`)。结果:10 个子技能都附带了根 LICENSE(SHA-256 `d9329ae3…`,和旧记录相同)。 - 本合集是整仓库检出,不受 desirecore 客户端子目录稀疏检出问题(#7466)影响。 已知问题(本 PR 未改):合集的双语 summary/description 里还留着"准入暂停为仅收录"的旧说法,和当前可安装的状态不一致。建议另开 PR 更新。 ## 影响范围 | 文件 | 行号 | 改动 | | --- | --- | --- | | `skills/patent-disclosure-skill/entry.json` | 35, 74-85 | `source.ref`;新子项 | | `skills/patent-disclosure-skill/collection-child-overrides.json` | 91-100 | 新成员双语简介 | | `skills/patent-disclosure-skill/catalog-metadata.v1.json` | 14, 19, 36-37, 44, 49-50, 57, 76-78, 105, 182-206 | description 中的 pin、时间戳、provenance、compliance、childCount、新子项镜像 | | `skills/patent-disclosure-skill/special-review.v1.json` | 多处 | 新 pin 的回读、成员路径、frontmatter 哈希、预算豁免、复核说明 | | `skills/patent-disclosure-skill/upstream-audit.v1.json` | 新文件 | 新 pin 的自动核验回执 | ## 验证 | 检查项或场景 | 预期结果 | 实际结果 | 证据 | | --- | --- | --- | --- | | `audit_update`(main 上的旧条目 + 本 PR 的专项复核,真实 fetch) | 通过 | 通过,fileCount 555 | commit `0d06cfb` | | `validate_catalog_metadata.py --require-complete` / `validate-i18n.py` | 0 error | 0 error,105 warning(main 原有) | 本地 | | `translate.py --check` / `gen-collection-children.py --check patent-disclosure-skill` | 通过 | 通过(10 children) | 本地 | | `special-review.v1.schema.json` | 符合 | 符合 | 本地 | | CI | 全部通过 | 等待中 | 本 PR checks | 只做来源、许可和元数据核验,没有执行上游代码,不等于安全认证或运行验收。请勿自动合并。 Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
160 lines
8.9 KiB
JSON
160 lines
8.9 KiB
JSON
{
|
||
"id": "patent-disclosure-skill",
|
||
"name": "Patent Disclosure Skills",
|
||
"category": "business",
|
||
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 3.5h9l5 5V21H6z\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linejoin=\"round\"/><path d=\"M15 3.5V8h5M9 12h8M9 15h6M9 18h4\" stroke=\"#2563EB\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
|
||
"tags": [
|
||
"patent",
|
||
"disclosure",
|
||
"chinese",
|
||
"skill-collection"
|
||
],
|
||
"i18n": {
|
||
"zh-CN": {
|
||
"name": "专利交底技能合集",
|
||
"shortDesc": "中文专利技能合集,用于交底、检索、阅读、专利地图和审查意见辅助。不是法律意见;申请事务仍需具备资质的专业人员。准入暂停为仅收录:现行 DesireCore 合集安装器只复制所选子路径,不会把仓库根目录的 MIT LICENSE 附进子项安装产物。"
|
||
},
|
||
"en-US": {
|
||
"name": "Patent Disclosure Skills",
|
||
"shortDesc": "Catalog collection of Chinese patent skills for disclosure, search, reading, mapping and office-action assistance. Not legal advice; filing still needs a qualified professional. Admission is paused at listing-only: the current DesireCore collection installer copies only each selected child path and does not attach the repository-root MIT LICENSE."
|
||
}
|
||
},
|
||
"maintainer": {
|
||
"name": "handsomestWei",
|
||
"verified": false,
|
||
"account": "handsomestWei",
|
||
"url": "https://github.com/handsomestWei/patent-disclosure-skill"
|
||
},
|
||
"stewardship": "community",
|
||
"license": "MIT",
|
||
"redistribution": "allowed",
|
||
"source": {
|
||
"kind": "git",
|
||
"repoUrl": "https://github.com/handsomestWei/patent-disclosure-skill.git",
|
||
"repoBranch": "main",
|
||
"ref": "37c865f769f05c2bddfc8080679d54a9adbbe068"
|
||
},
|
||
"children": [
|
||
{
|
||
"id": "patent-application",
|
||
"path": "skills/patent-application",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Filing documents: turn an existing disclosure into claims, specification, abstract and drawings; plan a parent case and divisionals and check them against the original disclosure. The four-document set needs a specified disclosure directory. Content disputes go to a question list; a confirmation-needed summary is required after delivery. Revisions to existing output are saved in a new timestamped directory. Must be explicitly triggered."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "申请文件:把已有交底写成权利要求书、说明书、摘要与说明书附图;规划发明母案与分案并核对原始披露。四件套须指定交底目录。内容争议写入问题清单,交付后请确认须摘要清单。已有产出上改稿则另存新时间戳目录。须显式触发。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-chart",
|
||
"path": "skills/patent-chart",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Claim chart: split independent claims into technical features, compare them cell by cell with prior art, products or standards, and attach evidence and strength notes. Used for invalidity comparison, preliminary FTO screening, infringement/EoU, SEP and patentability drafts. Must be invoked by name. Does not give legal opinions."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "权利要求对照表:独权拆成技术特征,逐格比对对比文件/产品/标准,附证据与强弱。用于无效对照、FTO 初筛、侵权/EoU、SEP、可专利性底稿。须点名。不出法律意见。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-disclosure",
|
||
"path": "skills/patent-disclosure",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Chinese patent disclosure: mine patent points for inventions, utility models and designs, do lightweight novelty checks and drafting, and plan a protective 1+N portfolio."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "中国专利交底书:发明/实用新型/外观设计的专利点挖掘、轻量查新与成文、保护型1+N专利布局。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-distill",
|
||
"path": "skills/patent-distill",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Patent distillation: merges several disclosures, filings or published full texts into one writing-style profile, and per case extracts claim-selection reasoning from the disclosure-versus-claims comparison into a strategy note and playbook.yaml. Learns style and how protection points are cut, never copies sample facts, and does not download full texts; place files in the workspace first. Not user-invocable; called by the collection's root router or drafting flow."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "专利蒸馏:把多份交底书、申请文件或公开全文合并成一份文风档案,并按案件从交底与权利要求的对照中提炼权要选择思路,生成各案的策略观察与 playbook.yaml。只学写法与保护点切分,不抄样本事实,不代为下载全文;需先把文件放到工作区。不可直接点选,由合集根路由或写作流程调用。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-docket",
|
||
"path": "skills/patent-docket",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "From inventor or engineer materials, draft the disclosure and filing documents in one pass; gaps on the filing question list are revised at most three rounds. Ask for missing technical facts; do not invent them. Triggers include doing disclosure and filing together, drafting both from scratch, end-to-end work, writing the disclosure then the filing, revising from a list, joint review, docket, and /patent-docket."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "按发明人/工程师给的材料一趟写出交底书和申请文件;申请问题清单上的缺口最多改三轮。缺技术事实就问人,不编。触发:交底申请一起做、从零出交底和申请、一条龙、帮写交底再出申请、按清单改、会稿、案卷、/patent-docket。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-exam-policy",
|
||
"path": "skills/patent-exam-policy",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "A policy brief for disclosures: compare recent CNIPA positions, explain the impact on disclosure drafting or the current draft, and note formal filing requirements. Skill evolution is a side path only; by default only the disclosure package is edited, and files are changed only when separately named."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "给交底用的政策简报:对照国知局近期口径,说明对交底写法/本稿的影响,并提示申请书式。技能进化仅为旁路,默认只改交底包,须另点名才改文件。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-map",
|
||
"path": "skills/patent-map",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Patent map: from popularized interpretations already stored as Obsidian cases, open five map types when named. The terrain is laid out with bge-small-zh vectors."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "专利地图:基于通俗解读已入库的 Obsidian 案例,点名后打开五种图。地形按 bge-small-zh 向量摊开。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-oa",
|
||
"path": "skills/patent-oa",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Office-action assistance: Q&A and drafts for examination opinions; when the library is thin, guide case intake. Must be explicitly triggered."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "审查答复辅助:审查意见问答与草稿;库薄时引导案例入库。须显式触发。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-reader",
|
||
"path": "skills/patent-reader",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Plain-language patent reading: turn a Chinese or overseas (US, EP, JP, KR, etc.) publication number or PDF into notes, graphs and an Obsidian intake."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "专利通俗解读:中国或海外(美欧日韩等)公开号 / PDF 成通俗笔记、图谱与 Obsidian 入库。"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "patent-search",
|
||
"path": "skills/patent-search",
|
||
"i18n": {
|
||
"en-US": {
|
||
"shortDesc": "Bibliographic patent search: query China’s official publication notices by inventor, applicant, classification, title or abstract (keywords may also be generated from a single figure or claims); when the user names overseas search, use Google Patents for US, EP, JP, KR and similar patents."
|
||
},
|
||
"zh-CN": {
|
||
"shortDesc": "专利著录检索:中国专利公布公告(发明人、申请人、分类号、名称、摘要;也可从单图或权利要求生成名称/摘要关键字后查询);用户点名海外时,用 Google Patents 检索美欧日韩等海外专利。"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|