[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B1M5W09RY20K45FPBVZJX5":3,"skill-same:01M7B1M5W09RY20K45FPBVZJX5":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7B1M5W09RY20K45FPBVZJX5","hatch",null,"Authoring rules, skills, commands, and sub-agents for this project via hatch — write once, generate for every coding agent.","torkelo\u002Fscenes2","torkelo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10999?v=4","01M7B1G6RRGVK2TZGTJ2813VJ4","Torkel Ödegaard","01M7B1G6SAYVTDC3NWMBPX16TB",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhatch\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hatch\ndescription: Authoring rules, skills, commands, and sub-agents for this project via hatch — write once, generate for every coding agent.\nmetadata:\n  generated: hatch@v1.2.0\n---\n\n# hatch\n\nThis project uses **hatch** (`github.com\u002Fgrafana\u002Fhatch`) to keep a single\nsource of truth for the guidance it sends to coding agents. Hatch reads a\ndirectory under `.hatch\u002F` and produces the native files each agent expects\n(Claude Code, OpenAI Codex, GitHub Copilot, Cursor, OpenCode, Zed).\n\nWhen you are asked to add, change, or remove rules, skills, slash commands,\nor sub-agent definitions in this project, edit files under `.hatch\u002F` — not\nthe generated files in `CLAUDE.md`, `AGENTS.md`, `.rules`,\n`.claude\u002F`, `.agents\u002F`, `.github\u002F`, `.cursor\u002F`, or `.opencode\u002F`.\nAfter editing, run `hatch gen` from the project root to regenerate\neverything.\n\n## Install\n\n```\ngo install github.com\u002Fgrafana\u002Fhatch\u002Fcmd\u002Fhatch@latest\n```\n\n## The four primitives\n\nHatch primitive containers use an underscore prefix to distinguish them\nfrom user-authored path components in nested layouts. The four exact\ncontainer names are `_rules`, `_skills`, `_commands`, and `_agents` —\nany other directory under `.hatch\u002F` is a scope path component (see\n\"Nested paths\" below).\n\n| Kind      | Purpose                                                       | Source path                      |\n| --------- | ------------------------------------------------------------- | -------------------------------- |\n| `rule`    | Always-on project instructions; optionally scoped with a glob | `.hatch\u002F_rules\u002F\u003Cslug>.md`        |\n| `skill`   | Model-invoked in-session capability; supports sibling assets  | `.hatch\u002F_skills\u002F\u003Cslug>\u002FSKILL.md` |\n| `command` | User-invoked slash prompt                                     | `.hatch\u002F_commands\u002F\u003Cslug>.md`     |\n| `agent`   | Delegated sub-agent definition                                | `.hatch\u002F_agents\u002F\u003Cslug>.md`       |\n\n## Nested paths\n\nFor monorepos that need different guidance per area, put a path\ncomponent between `.hatch\u002F` and a primitive container. The path becomes\na prefix on the generated output:\n\n```\n.hatch\u002Fbackend\u002F_rules\u002Fstyle.md     → backend\u002FCLAUDE.md, backend\u002FAGENTS.md\n.hatch\u002Fservices\u002Fapi\u002F_skills\u002Fcheck  → services\u002Fapi\u002F.claude\u002Fskills\u002Fcheck\u002FSKILL.md\n```\n\nClaude Code, Codex, and OpenCode all read nested `CLAUDE.md` \u002F\n`AGENTS.md` files from subdirectories natively. Copilot, Cursor, and\nZed only read their config from the repo root, so hatch routes scoped\noutput for those targets through their native scoping mechanism — for\nexample `.github\u002Finstructions\u002F\u003Cscope-slug>-\u003Cname>.instructions.md` with\nan auto-generated `applyTo` glob for Copilot, `.cursor\u002Frules\u002F\u003Cscope-slug>-\u003Cname>.mdc`\nwith a `globs` field for Cursor, and a `# Scope: \u003Cpath>\u002F` heading inside\nthe root `.rules` file for Zed.\n\nPath components must not match one of the four primitive container names\n(`_rules`, `_skills`, `_commands`, `_agents`). Other `_`-prefixed\nnames work, but it's good practice to avoid them — future hatch versions\nmay add new primitive container names.\n\n## Creating a new source file\n\nUse `hatch new`:\n\n```\nhatch new rule \"Always run gofmt before committing\"\nhatch new skill \"Review pull requests\"\nhatch new command \"Commit with generated message\"\nhatch new agent \"Security auditor\"\n```\n\nAdd `-path \u003Crelative-path>` to write under a nested scope:\n\n```\nhatch new rule -path backend \"Database access patterns\"\nhatch new skill -path services\u002Fapi \"Smoke test the API\"\n```\n\nFor skills, the file is `SKILL.md` inside a directory — place sibling\nassets (scripts, references) alongside and they copy through verbatim.\n\nYou can also write files by hand under `.hatch\u002F[\u003Cpath>\u002F]_\u003Ckind>s\u002F...`\nif you prefer — `hatch new` is just a scaffolding helper.\n\n## Frontmatter\n\nSkills, commands, and agents carry a YAML frontmatter header. Only\n`description` is required.\n\n| Field         | Required | Meaning                                                                                               |\n| ------------- | -------- | ----------------------------------------------------------------------------------------------------- |\n| `description` | yes      | One-sentence summary. Downstream agents either require or recommend this.                             |\n| `name`        | no       | Overrides the slug. Defaults to the source filename\u002Fdirname.                                          |\n| `targets`     | no       | List of target names (`claude`, `codex`, `copilot`, `cursor`, `opencode`, `zed`). Empty\u002Fabsent → all. |\n| `applyTo`     | no       | Rules only. Glob pattern scoping the rule to matching files.                                          |\n| `claude:` etc | no       | Per-target passthrough block — its contents merge into the generated file's own frontmatter.          |\n\nRule files are plain markdown and don't need frontmatter at all. Bodies may\nuse `Claude Code` and `claude` — these are substituted at generation time\nwith the agent's display name (e.g., \"Claude Code\") and short name (e.g.,\n\"claude\").\n\n## Workflow\n\n1. `cd` to the project root.\n2. Edit or create files under `.hatch\u002F` — either by hand or with `hatch new`.\n3. Run `hatch gen` to regenerate every agent's files.\n4. Commit both the `.hatch\u002F` source changes and the regenerated output\n   files together.\n\n## Useful commands\n\n```\nhatch init                        # scaffold an empty .hatch\u002F tree\nhatch init -examples              # …plus one starter example of each primitive\nhatch init -path backend          # …scaffold under a nested scope\nhatch new \u003Ckind> \u003Ctitle>          # create a new source file\nhatch new \u003Ckind> -path \u003Cp> \u003Ct>    # create one under a nested scope\nhatch gen                         # regenerate all target files\nhatch gen -targets claude         # regenerate only one agent's files\nhatch list                        # dry-run: show what gen would write\nhatch clean                       # remove everything hatch generated\n```\n\n## Never edit generated files\n\n`CLAUDE.md`, `AGENTS.md`, `.rules`, `.github\u002Fcopilot-instructions.md`,\nand everything under `.claude\u002F`, `.agents\u002F`, `.cursor\u002F`, `.opencode\u002F`,\n`.github\u002Fprompts\u002F`, `.github\u002Finstructions\u002F`, and `.github\u002Fagents\u002F` is\nregenerated by hatch. Any edits you make there will be overwritten on the\nnext `hatch gen`. Put your changes in `.hatch\u002F` instead.\n\nFor the block-injected files (`CLAUDE.md`, `AGENTS.md`, `.rules`,\n`.github\u002Fcopilot-instructions.md`), hatch only rewrites content between\n`\u003C!-- hatch:begin v1 -->` and `\u003C!-- hatch:end v1 -->` markers — surrounding\ncontent you have written by hand is preserved across regeneration.\n\nFor nested scopes, the same rules apply to the prefixed paths\n(`backend\u002FCLAUDE.md`, `services\u002Fapi\u002FAGENTS.md`, etc.).\n","# hatch\n\nThis project uses **hatch** (`github.com\u002Fgrafana\u002Fhatch`) to keep a single\nsource of truth for the guidance it sends to coding agents. Hatch reads a\ndirectory under `.hatch\u002F` and produces the native files each agent expects\n(Claude Code, OpenAI Codex, GitHub Copilot, Cursor, OpenCode, Zed).\n\nWhen you are asked to add, change, or remove rules, skills, slash commands,\nor sub-agent definitions in this project, edit files under `.hatch\u002F` — not\nthe generated files in `CLAUDE.md`, `AGENTS.md`, `.rules`,\n`.claude\u002F`, `.agents\u002F`, `.github\u002F`, `.cursor\u002F`, or `.opencode\u002F`.\nAfter editing, run `hatch gen` from the project root to regenerate\neverything.\n\n## Install\n\n```\ngo install github.com\u002Fgrafana\u002Fhatch\u002Fcmd\u002Fhatch@latest\n```\n\n## The four primitives\n\nHatch primitive containers use an underscore prefix to distinguish them\nfrom user-authored path components in nested layouts. The four exact\ncontainer names are `_rules`, `_skills`, `_commands`, and `_agents` —\nany other directory under `.hatch\u002F` is a scope path component (see\n\"Nested paths\" below).\n\n| Kind      | Purpose                                                       | Source path                      |\n| --------- | ------------------------------------------------------------- | -------------------------------- |\n| `rule`    | Always-on project instructions; optionally scoped with a glob | `.hatch\u002F_rules\u002F\u003Cslug>.md`        |\n| `skill`   | Model-invoked in-session capability; supports sibling assets  | `.hatch\u002F_skills\u002F\u003Cslug>\u002FSKILL.md` |\n| `command` | User-invoked slash prompt                                     | `.hatch\u002F_commands\u002F\u003Cslug>.md`     |\n| `agent`   | Delegated sub-agent definition                                | `.hatch\u002F_agents\u002F\u003Cslug>.md`       |\n\n## Nested paths\n\nFor monorepos that need different guidance per area, put a path\ncomponent between `.hatch\u002F` and a primitive container. The path becomes\na prefix on the generated output:\n\n```\n.hatch\u002Fbackend\u002F_rules\u002Fstyle.md     → backend\u002FCLAUDE.md, backend\u002FAGENTS.md\n.hatch\u002Fservices\u002Fapi\u002F_skills\u002Fcheck  → services\u002Fapi\u002F.claude\u002Fskills\u002Fcheck\u002FSKILL.md\n```\n\nClaude Code, Codex, and OpenCode all read nested `CLAUDE.md` \u002F\n`AGENTS.md` files from subdirectories natively. Copilot, Cursor, and\nZed only read their config from the repo root, so hatch routes scoped\noutput for those targets through their native scoping mechanism — for\nexample `.github\u002Finstructions\u002F\u003Cscope-slug>-\u003Cname>.instructions.md` with\nan auto-generated `applyTo` glob for Copilot, `.cursor\u002Frules\u002F\u003Cscope-slug>-\u003Cname>.mdc`\nwith a `globs` field for Cursor, and a `# Scope: \u003Cpath>\u002F` heading inside\nthe root `.rules` file for Zed.\n\nPath components must not match one of the four primitive container names\n(`_rules`, `_skills`, `_commands`, `_agents`). Other `_`-prefixed\nnames work, but it's good practice to avoid them — future hatch versions\nmay add new primitive container names.\n\n## Creating a new source file\n\nUse `hatch new`:\n\n```\nhatch new rule \"Always run gofmt before committing\"\nhatch new skill \"Review pull requests\"\nhatch new command \"Commit with generated message\"\nhatch new agent \"Security auditor\"\n```\n\nAdd `-path \u003Crelative-path>` to write under a nested scope:\n\n```\nhatch new rule -path backend \"Database access patterns\"\nhatch new skill -path services\u002Fapi \"Smoke test the API\"\n```\n\nFor skills, the file is `SKILL.md` inside a directory — place sibling\nassets (scripts, references) alongside and they copy through verbatim.\n\nYou can also write files by hand under `.hatch\u002F[\u003Cpath>\u002F]_\u003Ckind>s\u002F...`\nif you prefer — `hatch new` is just a scaffolding helper.\n\n## Frontmatter\n\nSkills, commands, and agents carry a YAML frontmatter header. Only\n`description` is required.\n\n| Field         | Required | Meaning                                                                                               |\n| ------------- | -------- | ----------------------------------------------------------------------------------------------------- |\n| `description` | yes      | One-sentence summary. Downstream agents either require or recommend this.                             |\n| `name`        | no       | Overrides the slug. Defaults to the source filename\u002Fdirname.                                          |\n| `targets`     | no       | List of target names (`claude`, `codex`, `copilot`, `cursor`, `opencode`, `zed`). Empty\u002Fabsent → all. |\n| `applyTo`     | no       | Rules only. Glob pattern scoping the rule to matching files.                                          |\n| `claude:` etc | no       | Per-target passthrough block — its contents merge into the generated file's own frontmatter.          |\n\nRule files are plain markdown and don't need frontmatter at all. Bodies may\nuse `Claude Code` and `claude` — these are substituted at generation time\nwith the agent's display name (e.g., \"Claude Code\") and short name (e.g.,\n\"claude\").\n\n## Workflow\n\n1. `cd` to the project root.\n2. Edit or create files under `.hatch\u002F` — either by hand or with `hatch new`.\n3. Run `hatch gen` to regenerate every agent's files.\n4. Commit both the `.hatch\u002F` source changes and the regenerated output\n   files together.\n\n## Useful commands\n\n```\nhatch init                        # scaffold an empty .hatch\u002F tree\nhatch init -examples              # …plus one starter example of each primitive\nhatch init -path backend          # …scaffold under a nested scope\nhatch new \u003Ckind> \u003Ctitle>          # create a new source file\nhatch new \u003Ckind> -path \u003Cp> \u003Ct>    # create one under a nested scope\nhatch gen                         # regenerate all target files\nhatch gen -targets claude         # regenerate only one agent's files\nhatch list                        # dry-run: show what gen would write\nhatch clean                       # remove everything hatch generated\n```\n\n## Never edit generated files\n\n`CLAUDE.md`, `AGENTS.md`, `.rules`, `.github\u002Fcopilot-instructions.md`,\nand everything under `.claude\u002F`, `.agents\u002F`, `.cursor\u002F`, `.opencode\u002F`,\n`.github\u002Fprompts\u002F`, `.github\u002Finstructions\u002F`, and `.github\u002Fagents\u002F` is\nregenerated by hatch. Any edits you make there will be overwritten on the\nnext `hatch gen`. Put your changes in `.hatch\u002F` instead.\n\nFor the block-injected files (`CLAUDE.md`, `AGENTS.md`, `.rules`,\n`.github\u002Fcopilot-instructions.md`), hatch only rewrites content between\n`\u003C!-- hatch:begin v1 -->` and `\u003C!-- hatch:end v1 -->` markers — surrounding\ncontent you have written by hand is preserved across regeneration.\n\nFor nested scopes, the same rules apply to the prefixed paths\n(`backend\u002FCLAUDE.md`, `services\u002Fapi\u002FAGENTS.md`, etc.).\n",{"name":5,"metadata":24,"description":7},{"generated":25},"hatch@v1.2.0","main","9b85ba995139627c15a6ef1cec1daec64659cf75",".claude\u002Fskills\u002Fhatch","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2","https:\u002F\u002Fgithub.com\u002Ftorkelo","https:\u002F\u002Fgrafana.com","Grafana Labs Co-Founder, Grafana Creator & product manager & lead architect.  ","2026-11-14 19:30:54",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add torkelo\u002Fscenes2 --skill hatch",{"tool":40,"command":41},"bunx","bunx skills add torkelo\u002Fscenes2 --skill hatch",{"tool":43,"command":44},"pnpm","pnpm dlx skills add torkelo\u002Fscenes2 --skill hatch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhatch\u002FSKILL.md",true,[],[49,56,63,68,73,80],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7B1QT196EFM12F7737ZFBJ3","validate-plugin","validate a Grafana plugin using the official Grafana plugin validator","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.codex\u002Fskills\u002Fvalidate-plugin\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7B1QQGHG8JJ9MK4BY2V8879","build-plugin","build a Grafana plugin using the standard build process (frontend and backend if applicable)","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.codex\u002Fskills\u002Fbuild-plugin\u002FSKILL.md",[],[],{"skillNo":64,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7B1QPP9RN7E1KNMRK9D8V6M","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.claude\u002Fskills\u002Fvalidate-plugin\u002FSKILL.md",[],[],{"skillNo":69,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7B1QN3V9SQ7H6WXNZDMQ57Q","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.claude\u002Fskills\u002Fbuild-plugin\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7B1QJEW06858M7GC4EM46B5","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.hatch\u002F_skills\u002Fstop-slop\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7B1QGEPPZQQNRJRXTQVZAKC","snag-fixer","Lightweight agent for quick fixes, tweaks, and small improvements. Optimized for single-task focused work without bloating context. Used by snag workflow for sequential fix processing.","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.hatch\u002F_skills\u002Fsnag-fixer\u002FSKILL.md",[],[]]