[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C724TJ8XH6QKZNJP6EJSGF":3,"skill-same:01M7C724TJ8XH6QKZNJP6EJSGF":47},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7C724TJ8XH6QKZNJP6EJSGF","gen-github-workflow",null,"Use when creating, modifying, generating, checking, or debugging CI workflow fragments embedded in source code with \u002F\u002F\u003Cgen-github-workflow> markers.","OctavianTocan\u002Fagentic-inbox","OctavianTocan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55554752?v=4","01M7C71C9259P2V7FB54046SB4","Octavian Tocan","01M7C71C9VKZRJWXZNZG1BA4PH",0,"MIT","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fgen-github-workflow\u002F.agent\u002Fskills\u002Fgen-github-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gen-github-workflow\ndescription: \"Use when creating, modifying, generating, checking, or debugging CI workflow fragments embedded in source code with \u002F\u002F\u003Cgen-github-workflow> markers.\"\n---\n\n# gen-github-workflow\n\nScans source files for `\u002F\u002F\u003Cgen-github-workflow>` markers, extracts YAML fragments, deep-merges them by workflow name, and writes `.github\u002Fworkflows\u002F\u003Cname>.yml` files.\n\n**Full specification:** `SPEC.md`\n\n## How to Create a CI Workflow\n\nEmbed a workflow fragment in any source file using comment markers:\n\n```ts\n\u002F\u002F\u003Cgen-github-workflow>\n\u002F\u002F name: my-workflow\n\u002F\u002F required: true\n\u002F\u002F on:\n\u002F\u002F   push:\n\u002F\u002F     branches: [main]\n\u002F\u002F   pull_request: {}\n\u002F\u002F permissions:\n\u002F\u002F   contents: read\n\u002F\u002F concurrency:\n\u002F\u002F   group: my-workflow-${{ github.ref }}\n\u002F\u002F   cancel-in-progress: true\n\u002F\u002F jobs:\n\u002F\u002F   build:\n\u002F\u002F     name: Build\n\u002F\u002F     timeout-minutes: 10\n\u002F\u002F     steps:\n\u002F\u002F       - uses: actions\u002Fcheckout@v5\n\u002F\u002F       - uses: oven-sh\u002Fsetup-bun@v2\n\u002F\u002F       - name: Build\n\u002F\u002F         run: bun run build\n\u002F\u002F\u003C\u002Fgen-github-workflow>\n```\n\n### Top-Level Fields\n\n| Field | Purpose |\n|-------|---------|\n| `name` | **Required.** Determines the output filename and merge key. |\n| `required` | If `true`, added to `required-workflows.json`. Stripped from output YAML. |\n| `on` | GitHub Actions trigger configuration. |\n\n### Template Variables\n\nExpanded before YAML parsing:\n\n| Variable | Expands to |\n|----------|------------|\n| `$$file` | Relative path from repo root to the source file |\n| `$$directory` | Relative path from repo root to the source file's directory |\n\nUseful for `paths:` triggers:\n\n```ts\n\u002F\u002F\u003Cgen-github-workflow>\n\u002F\u002F name: e2e-test-my-tool\n\u002F\u002F on:\n\u002F\u002F   push:\n\u002F\u002F     paths: [\"$$directory\u002F**\"]\n\u002F\u002F   pull_request:\n\u002F\u002F     paths: [\"$$directory\u002F**\"]\n\u002F\u002F\u003C\u002Fgen-github-workflow>\n```\n\n### Multi-Source Merging\n\nFragments sharing the same `name` are deep-merged:\n\n| Key | Strategy |\n|-----|----------|\n| `on` | Union of trigger definitions |\n| `env`, `permissions` | Shallow merge, later wins |\n| `concurrency` | Last writer wins |\n| `jobs` | Merge by job id; `steps` arrays concatenated |\n\n### Common Patterns\n\n**Bun-based CI check:**\n\n```ts\n\u002F\u002F\u003Cgen-github-workflow>\n\u002F\u002F name: my-check\n\u002F\u002F required: true\n\u002F\u002F on:\n\u002F\u002F   push:\n\u002F\u002F     branches: [main]\n\u002F\u002F   pull_request: {}\n\u002F\u002F jobs:\n\u002F\u002F   check:\n\u002F\u002F     steps:\n\u002F\u002F       - uses: actions\u002Fcheckout@v5\n\u002F\u002F       - uses: oven-sh\u002Fsetup-bun@v2\n\u002F\u002F       - run: cd $$directory && bun run src\u002Findex.ts check\n\u002F\u002F\u003C\u002Fgen-github-workflow>\n```\n\n## CLI Commands\n\n```bash\nbun run src\u002Findex.ts generate  # write workflow files\nbun run src\u002Findex.ts check     # dry-run, exit 1 on diff\nbun run src\u002Findex.ts e2e-test  # run against fixtures\n```\n\nAfter editing fragments, run `generate` and commit the regenerated `.github\u002Fworkflows\u002F*.yml`. Workflows with `required: true` also write to `required-workflows.json` (used by branch protection IaC). Hand-written workflow files without the `AUTO-GENERATED` header are never overwritten.\n\nTooling shape (markers, comment stripping, source headers, hand-written file detection) mirrors [gen-skills](https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fgen-skills).\n","# gen-github-workflow\n\nScans source files for `\u002F\u002F\u003Cgen-github-workflow>` markers, extracts YAML fragments, deep-merges them by workflow name, and writes `.github\u002Fworkflows\u002F\u003Cname>.yml` files.\n\n**Full specification:** `SPEC.md`\n\n## How to Create a CI Workflow\n\nEmbed a workflow fragment in any source file using comment markers:\n\n```ts\n\u002F\u002F\u003Cgen-github-workflow>\n\u002F\u002F name: my-workflow\n\u002F\u002F required: true\n\u002F\u002F on:\n\u002F\u002F   push:\n\u002F\u002F     branches: [main]\n\u002F\u002F   pull_request: {}\n\u002F\u002F permissions:\n\u002F\u002F   contents: read\n\u002F\u002F concurrency:\n\u002F\u002F   group: my-workflow-${{ github.ref }}\n\u002F\u002F   cancel-in-progress: true\n\u002F\u002F jobs:\n\u002F\u002F   build:\n\u002F\u002F     name: Build\n\u002F\u002F     timeout-minutes: 10\n\u002F\u002F     steps:\n\u002F\u002F       - uses: actions\u002Fcheckout@v5\n\u002F\u002F       - uses: oven-sh\u002Fsetup-bun@v2\n\u002F\u002F       - name: Build\n\u002F\u002F         run: bun run build\n\u002F\u002F\u003C\u002Fgen-github-workflow>\n```\n\n### Top-Level Fields\n\n| Field | Purpose |\n|-------|---------|\n| `name` | **Required.** Determines the output filename and merge key. |\n| `required` | If `true`, added to `required-workflows.json`. Stripped from output YAML. |\n| `on` | GitHub Actions trigger configuration. |\n\n### Template Variables\n\nExpanded before YAML parsing:\n\n| Variable | Expands to |\n|----------|------------|\n| `$$file` | Relative path from repo root to the source file |\n| `$$directory` | Relative path from repo root to the source file's directory |\n\nUseful for `paths:` triggers:\n\n```ts\n\u002F\u002F\u003Cgen-github-workflow>\n\u002F\u002F name: e2e-test-my-tool\n\u002F\u002F on:\n\u002F\u002F   push:\n\u002F\u002F     paths: [\"$$directory\u002F**\"]\n\u002F\u002F   pull_request:\n\u002F\u002F     paths: [\"$$directory\u002F**\"]\n\u002F\u002F\u003C\u002Fgen-github-workflow>\n```\n\n### Multi-Source Merging\n\nFragments sharing the same `name` are deep-merged:\n\n| Key | Strategy |\n|-----|----------|\n| `on` | Union of trigger definitions |\n| `env`, `permissions` | Shallow merge, later wins |\n| `concurrency` | Last writer wins |\n| `jobs` | Merge by job id; `steps` arrays concatenated |\n\n### Common Patterns\n\n**Bun-based CI check:**\n\n```ts\n\u002F\u002F\u003Cgen-github-workflow>\n\u002F\u002F name: my-check\n\u002F\u002F required: true\n\u002F\u002F on:\n\u002F\u002F   push:\n\u002F\u002F     branches: [main]\n\u002F\u002F   pull_request: {}\n\u002F\u002F jobs:\n\u002F\u002F   check:\n\u002F\u002F     steps:\n\u002F\u002F       - uses: actions\u002Fcheckout@v5\n\u002F\u002F       - uses: oven-sh\u002Fsetup-bun@v2\n\u002F\u002F       - run: cd $$directory && bun run src\u002Findex.ts check\n\u002F\u002F\u003C\u002Fgen-github-workflow>\n```\n\n## CLI Commands\n\n```bash\nbun run src\u002Findex.ts generate  # write workflow files\nbun run src\u002Findex.ts check     # dry-run, exit 1 on diff\nbun run src\u002Findex.ts e2e-test  # run against fixtures\n```\n\nAfter editing fragments, run `generate` and commit the regenerated `.github\u002Fworkflows\u002F*.yml`. Workflows with `required: true` also write to `required-workflows.json` (used by branch protection IaC). Hand-written workflow files without the `AUTO-GENERATED` header are never overwritten.\n\nTooling shape (markers, comment stripping, source headers, hand-written file detection) mirrors [gen-skills](https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fgen-skills).\n",{"name":5,"description":7},"main","516fd82c2b9f9a7877cd8fc3716ce85ad5aea154","tools\u002Fgen-github-workflow\u002F.agent\u002Fskills\u002Fgen-github-workflow","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox","https:\u002F\u002Fagentic-inbox.octaviantocan.com","https:\u002F\u002Fgithub.com\u002FOctavianTocan","https:\u002F\u002Foctaviantocan.com","Product & Design Engineer. React, TypeScript, React Native. Shipped at Ojin, TwinMind and a YC startup. Zaragoza, Spain.","2026-11-10 20:03:26",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add OctavianTocan\u002Fagentic-inbox --skill gen-github-workflow",{"tool":39,"command":40},"bunx","bunx skills add OctavianTocan\u002Fagentic-inbox --skill gen-github-workflow",{"tool":42,"command":43},"pnpm","pnpm dlx skills add OctavianTocan\u002Fagentic-inbox --skill gen-github-workflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fgen-github-workflow\u002F.agent\u002Fskills\u002Fgen-github-workflow\u002FSKILL.md",true,[],[48,55,62,69,74,81],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7C72EKFAYWCHT824ZRWR5ZN","testing","Testing patterns and best practices.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fskill-gen\u002Fe2e-test-expected\u002Ftesting\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7C72DCKJMY89MJBYBX90MH2","coding","General coding patterns and conventions.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fskill-gen\u002Fe2e-test-expected\u002Fcoding\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7C729AP4GNJN3KF78VV0B6E","skill-gen","Use when adding, modifying, generating, checking, or debugging repo-local skill fragments embedded in source code with \u002F\u002F\u003Cskill-gen> markers.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fskill-gen\u002F.agent\u002Fskills\u002Fskill-gen\u002FSKILL.md",[],[],{"skillNo":70,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7C720VEJCXABMYNSHDS9X0C","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskill-gen\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7C71V6NRZZ43RH1KDJ3MGBD","inbox-agents-md","Decides when to create or update nested AGENTS.md, README.md, and CLAUDE.md files in the agentic-inbox monorepo. Use when adding packages\u002Fapps\u002Ftools, restructuring subtrees, writing agent docs, or when nested subtree docs may be stale or missing.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Finbox-agents-md\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7C71PY4NE0ZXGAJC3P9D6SV","generated-repo-surfaces","Use when changing generated workflows, OpenAPI artifacts, project-structure blocks, or repo-local skills.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgenerated-repo-surfaces\u002FSKILL.md",[],[]]