[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K1XE33SSY5RXR5D4S8Y4RV":3,"skill-same:01M6K1XE33SSY5RXR5D4S8Y4RV":85},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6K1XE33SSY5RXR5D4S8Y4RV","zotero-schema",null,"Generate Gnosi's Python and TypeScript item-type constants from the repository-pinned Zotero schema, or perform an explicitly requested pinned schema refresh. Use for mapping or generated-constant maintenance, not runtime downloads.","ismigar\u002FGnosi","ismigar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6537880?v=4","01M6K1KJFJXCT6S4ATNXFRD1Y7","Ismael García","01M6K1KJM0CK16BDEYVZCV6949",2,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"zotero schema","Zotero","schema","use","constants","for","mapping","type","runtime","maintenance","typescript","generated","refresh","downloads","repository","generate","python","2026-11-10 10:12:30",false,"---\nname: zotero-schema\ndescription: Generate Gnosi's Python and TypeScript item-type constants from the repository-pinned Zotero schema, or perform an explicitly requested pinned schema refresh. Use for mapping or generated-constant maintenance, not runtime downloads.\n---\n\n# Skill: Zotero Schema\n\nThe source of truth for Gnosi item types and fields, derived from Zotero's\nofficial data schema. Gnosi does not depend on the Zotero application. It\nvendors factual data from `schema.json` to avoid manually maintaining\nZotero-to-CSL mappings and multilingual labels.\n\n> ID: ZOTERO-SCHEMA-20260528\n> Stack: Python 3.10+ standard library; Node is not required\n> Pinned version: `42` · commit `62e983a2e575fe9b9a3677ad7c9772080b67a1e4` (2026-03-16)\n> Source: https:\u002F\u002Fgithub.com\u002Fzotero\u002Fzotero-schema\n\n## Generated outputs\n\nThe build reads repository-pinned [`schema.json`](.\u002Fschema.json), never a\nruntime download, and writes:\n\n| Generated file | Consumer |\n|---|---|\n| `backend\u002Fservices\u002Fzotero_schema.py` | `vault_routes.py`, replacing hard-coded `_RECURSOS_TYPE_TO_CSL` |\n| `frontend\u002Fsrc\u002Fgenerated\u002FzoteroSchema.ts` | Typed frontend consumers through `components\u002FVault\u002FzoteroSchema.ts` |\n\nBoth Python and TypeScript expose the same constants:\n\n- `SCHEMA_VERSION`: current schema version, currently `42`.\n- `SCHEMA_SOURCE_SHA`: first 16 characters of the pinned file SHA-256.\n- `ALL_ITEM_TYPES`: sorted list of 40 types such as `book`,\n  `journalArticle`, `preprint`, and `dataset`.\n- `ZOTERO_TO_CSL_TYPE`: `{zoteroType: cslType}`.\n- `ZOTERO_TYPE_LABELS`: `{locale: {zoteroType: translatedLabel}}` for\n  `ca-AD`, `es-ES`, `en-GB`, and `en-US`.\n- `LABEL_TO_ZOTERO_TYPE`: inverse labels used to resolve legacy frontmatter\n  that stores translated labels instead of canonical keys.\n\n## Commands\n\n```bash\n# Regenerate constants from the local schema deterministically.\npython3 pipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Fbuild_constants.py\n\n# Refresh schema.json to the newest zotero\u002Fzotero-schema version.\npython3 pipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Frefresh_schema.py\n\n# Refresh to a specific commit for a controlled hotfix or downgrade.\npython3 pipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Frefresh_schema.py --ref \u003CSHA>\n```\n\nAfter `refresh_schema.py`, always run `build_constants.py` and update the\n\"Pinned version\" line in this file.\n\n## Validation\n\n`backend\u002Ftests\u002Ftest_zotero_schema.py` verifies in CI:\n\n1. **Build idempotency:** rebuilding from the current schema exactly matches\n   committed output.\n2. **Python\u002FTypeScript consistency:** both outputs have identical\n   `ALL_ITEM_TYPES` and `ZOTERO_TO_CSL_TYPE` keys.\n3. **Coverage:** every current Vault `Item Type` resolves either directly\n   through `ZOTERO_TO_CSL_TYPE` or through\n   `LABEL_TO_ZOTERO_TYPE['ca-AD']`.\n\nA Zotero schema format change fails test 1. An unsupported free-form\nfrontmatter value fails test 3 and lists orphaned values.\n\n## Restrictions and edge cases\n\n- **License:** `zotero\u002Fzotero-schema` does not explicitly declare a license.\n  The schema represents factual data-model information. Generated headers\n  attribute the source. Review this decision if Zotero later clarifies its\n  licensing.\n- **Deterministic build:** sort keys alphabetically for stable diffs even when\n  upstream JSON ordering changes.\n- **Strict pinning:** update only through `refresh_schema.py` and an explicit\n  commit. Never download the schema during runtime or CI.\n- **Multiple CSL types:** a Zotero type can rarely list more than one\n  `csl.types` value. Select the first alphabetically and emit a stderr warning.\n- **Missing locales:** fall back to the canonical English key when a locale\n  lacks a label.\n- **Legacy frontmatter:** existing Vault pages can store Catalan labels such\n  as `\"Article de revista acadèmica\"` rather than `\"journalArticle\"`.\n  `LABEL_TO_ZOTERO_TYPE['ca-AD']` supports those persisted values without a\n  frontmatter migration.\n- **Frontend output:** generate the large catalogue inside\n  `frontend\u002Fsrc\u002Fgenerated\u002F` so source guardrails recognize it as generated.\n  Keep `components\u002FVault\u002FzoteroSchema.ts` as a small stable re-export for\n  existing consumers. Never regenerate production JavaScript.\n\n## Learning history\n\n| Date | Learning | Resolution |\n|---|---|---|\n| 2026-05-28 | Python and JavaScript maintained separate hard-coded type maps, so new Zotero types drifted. | Added this skill as a single pinned schema source with deterministic Python and JavaScript generation. |\n| 2026-08-29 | The generated frontend catalogue remained a 517-line production JavaScript file during the strict TypeScript migration. | Moved deterministic output to `frontend\u002Fsrc\u002Fgenerated\u002FzoteroSchema.ts`, added explicit readonly types and retained a small stable TypeScript facade. |\n","# Skill: Zotero Schema\n\nThe source of truth for Gnosi item types and fields, derived from Zotero's\nofficial data schema. Gnosi does not depend on the Zotero application. It\nvendors factual data from `schema.json` to avoid manually maintaining\nZotero-to-CSL mappings and multilingual labels.\n\n> ID: ZOTERO-SCHEMA-20260528\n> Stack: Python 3.10+ standard library; Node is not required\n> Pinned version: `42` · commit `62e983a2e575fe9b9a3677ad7c9772080b67a1e4` (2026-03-16)\n> Source: https:\u002F\u002Fgithub.com\u002Fzotero\u002Fzotero-schema\n\n## Generated outputs\n\nThe build reads repository-pinned [`schema.json`](.\u002Fschema.json), never a\nruntime download, and writes:\n\n| Generated file | Consumer |\n|---|---|\n| `backend\u002Fservices\u002Fzotero_schema.py` | `vault_routes.py`, replacing hard-coded `_RECURSOS_TYPE_TO_CSL` |\n| `frontend\u002Fsrc\u002Fgenerated\u002FzoteroSchema.ts` | Typed frontend consumers through `components\u002FVault\u002FzoteroSchema.ts` |\n\nBoth Python and TypeScript expose the same constants:\n\n- `SCHEMA_VERSION`: current schema version, currently `42`.\n- `SCHEMA_SOURCE_SHA`: first 16 characters of the pinned file SHA-256.\n- `ALL_ITEM_TYPES`: sorted list of 40 types such as `book`,\n  `journalArticle`, `preprint`, and `dataset`.\n- `ZOTERO_TO_CSL_TYPE`: `{zoteroType: cslType}`.\n- `ZOTERO_TYPE_LABELS`: `{locale: {zoteroType: translatedLabel}}` for\n  `ca-AD`, `es-ES`, `en-GB`, and `en-US`.\n- `LABEL_TO_ZOTERO_TYPE`: inverse labels used to resolve legacy frontmatter\n  that stores translated labels instead of canonical keys.\n\n## Commands\n\n```bash\n# Regenerate constants from the local schema deterministically.\npython3 pipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Fbuild_constants.py\n\n# Refresh schema.json to the newest zotero\u002Fzotero-schema version.\npython3 pipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Frefresh_schema.py\n\n# Refresh to a specific commit for a controlled hotfix or downgrade.\npython3 pipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Frefresh_schema.py --ref \u003CSHA>\n```\n\nAfter `refresh_schema.py`, always run `build_constants.py` and update the\n\"Pinned version\" line in this file.\n\n## Validation\n\n`backend\u002Ftests\u002Ftest_zotero_schema.py` verifies in CI:\n\n1. **Build idempotency:** rebuilding from the current schema exactly matches\n   committed output.\n2. **Python\u002FTypeScript consistency:** both outputs have identical\n   `ALL_ITEM_TYPES` and `ZOTERO_TO_CSL_TYPE` keys.\n3. **Coverage:** every current Vault `Item Type` resolves either directly\n   through `ZOTERO_TO_CSL_TYPE` or through\n   `LABEL_TO_ZOTERO_TYPE['ca-AD']`.\n\nA Zotero schema format change fails test 1. An unsupported free-form\nfrontmatter value fails test 3 and lists orphaned values.\n\n## Restrictions and edge cases\n\n- **License:** `zotero\u002Fzotero-schema` does not explicitly declare a license.\n  The schema represents factual data-model information. Generated headers\n  attribute the source. Review this decision if Zotero later clarifies its\n  licensing.\n- **Deterministic build:** sort keys alphabetically for stable diffs even when\n  upstream JSON ordering changes.\n- **Strict pinning:** update only through `refresh_schema.py` and an explicit\n  commit. Never download the schema during runtime or CI.\n- **Multiple CSL types:** a Zotero type can rarely list more than one\n  `csl.types` value. Select the first alphabetically and emit a stderr warning.\n- **Missing locales:** fall back to the canonical English key when a locale\n  lacks a label.\n- **Legacy frontmatter:** existing Vault pages can store Catalan labels such\n  as `\"Article de revista acadèmica\"` rather than `\"journalArticle\"`.\n  `LABEL_TO_ZOTERO_TYPE['ca-AD']` supports those persisted values without a\n  frontmatter migration.\n- **Frontend output:** generate the large catalogue inside\n  `frontend\u002Fsrc\u002Fgenerated\u002F` so source guardrails recognize it as generated.\n  Keep `components\u002FVault\u002FzoteroSchema.ts` as a small stable re-export for\n  existing consumers. Never regenerate production JavaScript.\n\n## Learning history\n\n| Date | Learning | Resolution |\n|---|---|---|\n| 2026-05-28 | Python and JavaScript maintained separate hard-coded type maps, so new Zotero types drifted. | Added this skill as a single pinned schema source with deterministic Python and JavaScript generation. |\n| 2026-08-29 | The generated frontend catalogue remained a 517-line production JavaScript file during the strict TypeScript migration. | Moved deterministic output to `frontend\u002Fsrc\u002Fgenerated\u002FzoteroSchema.ts`, added explicit readonly types and retained a small stable TypeScript facade. |\n",{"name":5,"description":7},"main","ddf5fc580ae6656e98e3222889a9c49181664a45","pipeline\u002Fskills\u002Fzotero_schema",0,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi","https:\u002F\u002Fgnosi.temenosismael.org","https:\u002F\u002Fgithub.com\u002Fismigar","https:\u002F\u002Ftemenosismael.org","💻 & 📚 Computer scientist & philosopher. Exploring the intersection of tech & philosophy for social change & the common good.","2026-11-15 01:43:32",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add ismigar\u002FGnosi --skill zotero-schema",{"tool":57,"command":58},"bunx","bunx skills add ismigar\u002FGnosi --skill zotero-schema",{"tool":60,"command":61},"pnpm","pnpm dlx skills add ismigar\u002FGnosi --skill zotero-schema","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002FSKILL.md",true,[65,71,77,81],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"schema.json","REFERENCE","参考文档",393890,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002Fschema.json",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Fbuild_constants.py","SCRIPT","脚本",11470,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Fbuild_constants.py",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fbuild_reference_catalog.py",6495,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Fbuild_reference_catalog.py",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Frefresh_schema.py",2289,"https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_schema\u002Fscripts\u002Frefresh_schema.py",[86,105,127,143,156,176],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":36},"01M6K1XMNQTR2Z9F0HV40M9CV6","zotero-sync-compatibility","Preserve the historical Zotero reference-table configuration path after Gnosi replaced bidirectional Zotero synchronization with its native reference manager.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fzotero_sync\u002FSKILL.md",[],[93,94,20,95,96,97,98,99,100,101,102,103,104],"zotero sync compatibility","sync","compatibility","with","manager","path","preserve","table","synchronization","reference","native","configuration",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":36},"01M6K1X9M6AKK8JTQJA9G37ZRP","vault-core","Preserve Gnosi vault identifiers, internal links and active-vault context during file or metadata changes. Use for vault integrity work, not blanket normalization or cleanup of user documents.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fvault_core\u002FSKILL.md",[],[112,113,114,115,116,22,99,117,24,118,119,120,121,122,123,124,125,126],"core","vault","vault core","documents","cleanup","changes","links","active","user","context","work","normalization","integrity","file","metadata",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":36},"01M6K1X4TE0YP62D789CJWZ4YY","translate-row","Translate configured table-row fields and Markdown into language children, updating existing translations in place. Use for the explicit translate-row action or maintenance of its provider adapters.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_row\u002FSKILL.md",[],[134,135,136,137,138,24,139,119,140,141,28,22,100,142],"translate","translate row","Adapters","fields","Existing","action","language","provider","markdown",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":36},"01M6K1X0G5C2E91RS71NMX0GHG","translate-page","Translate a Vault page title and Markdown body into language children, updating existing translations and preserving Gnosi directives. Use for the explicit translate-page action or Markdown segmentation maintenance.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftranslate_page\u002FSKILL.md",[],[150,151,134,138,152,153,154,24,139,119,140,28,22,142,113,155],"translate page","page","segmentation","title","directives","body",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":36},"01M6K1WSRJTN93ZY4VPNZ2BJW3","technical-documentation","Generate and validate Gnosi's engineering portal from reviewed guides and deterministic source catalogs. Use for source-traceable documentation updates and pre-PR gates; never translate generated catalogs with a model.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Ftechnical_documentation\u002FSKILL.md",[],[163,164,165,166,34,167,168,134,169,170,24,171,96,172,173,174,175,22,30],"technical","documentation","technical documentation","engineering","pr","validate","model","source","updates","guides","gates","deterministic","never",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":36},"01M6K1WMMBBK5940EYP4FFJTC5","suggest-connections","Maintain Gnosi's evidence-backed Brain connection proposal queue and graph overlay. Use for proposal generation or review behavior, not automatic note creation or unrequested model calls.","https:\u002F\u002Fgithub.com\u002Fismigar\u002FGnosi\u002Fblob\u002Fmain\u002Fpipeline\u002Fskills\u002Fsuggest_connections\u002FSKILL.md",[],[183,184,185,186,187,24,188,189,190,191,192,193,194,195,196,22,197,169,198,199],"suggest connections","connections","proposal","overlay","automatic","calls","connection","note","creation","generation","brain","maintain","queue","evidence","behavior","graph","review"]