[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M722KQHP7K95RWHRPR5FH8T7":3,"skill-same:01M722KQHP7K95RWHRPR5FH8T7":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M722KQHP7K95RWHRPR5FH8T7","coherence-enable-sidecars",null,"HUMBLEF0OL\u002Fcoherence","HUMBLEF0OL","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69069897?v=4","01M722JFPKDTWN60TH4NDCQQE9","AMIT RANA","01M722JFQ8TYAH6SVW21RTTM1S",1,"MIT","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-enable-sidecars\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"# Skill: coherence:enable-sidecars\nTrigger: `\u002Fcoherence:enable-sidecars`\nBRD: FR-COMMANDS-7 · DD-050\n\n## Purpose\nProvision `.claude\u002Fcoherence\u002Fsidecars\u002F\u003Cname>.yaml` fallback files for each tracked skill and agent. Used when `\u002Fcoherence:doctor` reports `frontmatter_preserves_unknown_keys: false` — i.e., the installed Claude Code version does not carry coherence metadata through frontmatter, so a separate sidecar file is needed to store anchor, layer, and tracking state per doc. Idempotent: safe to re-run.\n\n## Steps\n\n### 1. Pre-flight check\n- Load `.claude\u002Fcoherence\u002Fhost-caps.json`.\n- If `frontmatter_preserves_unknown_keys: true`: print the following and exit:\n  ```\n  ℹ  Frontmatter key preservation is available in your Claude Code version.\n     Sidecars are not required. Coherence metadata is stored in frontmatter directly.\n     No files created.\n  ```\n- Load `.claude\u002Fcoherence\u002Fconfig.yaml` to get the `tracked` doc list.\n\n### 2. Identify targets\nFor each entry in `tracked`:\n- If `layer` is `skill` or `agent`: the doc is a candidate for a sidecar.\n- Derive sidecar filename: replace `\u002F` with `__` in the workspace-relative path, strip leading `.claude\u002F`, strip extension, append `.yaml`.\n  - Example: `.claude\u002Fskills\u002Fcoherence-review\u002FSKILL.md` → `skills__coherence-review__SKILL.yaml`\n- Check whether `.claude\u002Fcoherence\u002Fsidecars\u002F\u003Cfilename>` already exists.\n\n### 3. Report plan\n```\n─── Enable Sidecars ──────────────────────────────────────\nDocs requiring sidecars: \u003CN>\nAlready provisioned:     \u003CN>\nTo create:               \u003CN>\n─────────────────────────────────────────────────────────\n```\nIf `To create` = 0, print \"All sidecars already provisioned.\" and exit.\n\nList each file to be created. Ask:\n```\nCreate \u003CN> sidecar file(s)? [y\u002Fn]\n```\nAbort if `n`.\n\n### 4. Create sidecar directory\nEnsure `.claude\u002Fcoherence\u002Fsidecars\u002F` exists.\n\n### 5. Provision sidecar files (idempotent)\nFor each target doc that does not already have a sidecar, create:\n\n```yaml\n# Coherence sidecar — auto-generated by \u002Fcoherence:enable-sidecars\n# Source: \u003Cworkspace-relative path to tracked doc>\nschema_version: \"1.0\"\nsource_doc: \"\u003Cworkspace-relative path>\"\nlayer: \"\u003Cskill | agent | referring>\"\ncoherence_anchor: \"\u003Cprimary heading slug of the doc>\"\nlast_synced: null\ndrift_state: clean\ntracked_since: \"\u003CISO-8601 UTC now>\"\n```\n\nWrite atomically (temp + rename). (NFR-RELIABILITY-1)\n\n### 6. Update config\nIn `.claude\u002Fcoherence\u002Fconfig.yaml`, for each entry in `tracked` that now has a sidecar, add\u002Fupdate field `sidecar: \"\u003Crelative path to sidecar file>\"`. Write config atomically.\n\n### 7. Confirm\n```\n─── Sidecars enabled ────────────────────────────────────\nCreated:   \u003CN> sidecar file(s) in .claude\u002Fcoherence\u002Fsidecars\u002F\nUpdated:   .claude\u002Fcoherence\u002Fconfig.yaml (sidecar references added)\n─────────────────────────────────────────────────────────\nCoherence will now use sidecar files to store metadata for skills and agents.\n```\n\n## Constraints\n- Idempotent: never overwrite an existing sidecar — skip files that already exist. (FR-COMMANDS-7 \"idempotent\")\n- All writes atomic (temp + rename). (NFR-RELIABILITY-1)\n- Do not modify the tracked doc files themselves — only create files in `.claude\u002Fcoherence\u002Fsidecars\u002F`. (FR-PERMISSION-1 — no auto-writes to user files in observe mode)\n- Do not invoke LLM subagents. (DD-008)\n- Only creates sidecars for `skill` and `agent` layer docs; `referring` layer docs (CLAUDE.md, ARCHITECTURE.md etc.) use frontmatter directly when available, or a separate sidecar path if needed.\n",{},"master","b84555715a3ada8f330fce8f140d9a6152553120",".skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-enable-sidecars",0,"https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL","https:\u002F\u002Fhumblefool.vercel.app","Full-stack developer & problem solver. React\u002FNext + Node, plus developer tooling and AI-assisted workflows. Maintainer of Hookpilot.","2026-07-20 11:58:26",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add HUMBLEF0OL\u002Fcoherence --skill coherence-enable-sidecars",{"tool":37,"command":38},"bunx","bunx skills add HUMBLEF0OL\u002Fcoherence --skill coherence-enable-sidecars",{"tool":40,"command":41},"pnpm","pnpm dlx skills add HUMBLEF0OL\u002Fcoherence --skill coherence-enable-sidecars","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-enable-sidecars\u002FSKILL.md",true,[],[46,53,60,66,72,78],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M722M3P5V2VG6598NW55B8CX","mcp-sentry-grader","Helper for invoking the mcp-sentry CLI and interpreting its A–F grade output. Use when the user asks about MCP security posture, OWASP MCP Top 10 scan results, or wants to fail a CI gate on a minimum grade threshold.","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fmcp-sentry\u002F.claude\u002Fskills\u002Fmcp-sentry-grader\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M722M2VHBCPWTG1FYKTY577X","foo-skill","A test skill","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fcodebases\u002Fsmall\u002F.claude\u002Fskills\u002Ffoo\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M722M1NJJZA0YN23MEHT768M","author","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002Fprompts\u002Fv2\u002Fauthor\u002Fskill.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M722KZFTXFT1EC89XP89SCC1","coherence-status","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-status\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M722KXYH6XCN7W8FHEVJSK1A","coherence-review","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-review\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M722KW1628Z2S53SAJ32DJP6","coherence-repair","https:\u002F\u002Fgithub.com\u002FHUMBLEF0OL\u002Fcoherence\u002Fblob\u002Fmaster\u002F.skill-workspace\u002Fiteration-0-snapshot\u002Fskills\u002Fcoherence-repair\u002FSKILL.md",[],[]]