[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD6MXKCM4BZCC9YBHYVN8M":3,"skill-same:01M6AD6MXKCM4BZCC9YBHYVN8M":64},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M6AD6MXKCM4BZCC9YBHYVN8M","javascript-refactoring",null,"Split large JavaScript files into maintainable modules safely.","github\u002Fgh-aw","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3VCZ4WKQSFSRTPN7N9DN",5636,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fjavascript-refactoring\u002FSKILL.md",[],[19,20,21,22,23,24],"javascript","javascript refactoring","refactoring","modules","files","split","2026-11-10 10:12:30",false,"---\nname: javascript-refactoring\ndescription: Split large JavaScript files into maintainable modules safely.\n---\n\n\n# JavaScript Code Refactoring Guide\n\nUse this guide to split JavaScript into maintainable CommonJS modules in gh-aw without drifting into dead embedding patterns.\n\n## Overview\n\nThe current gh-aw architecture is action-centric:\n\n- Shared JS modules live under `pkg\u002Fworkflow\u002Fjs\u002F*.cjs` and `actions\u002Fsetup\u002Fjs\u002F*.cjs`\n- Action source files live under `actions\u002F\u003Caction-name>\u002Fsrc\u002F`\n- Generated action bundles are committed under `actions\u002F\u003Caction-name>\u002Findex.js`\n- Shipping is driven by the action build pipeline (`make actions-build`, `gh aw actions-build`) and dependency maps such as `pkg\u002Fcli\u002Factions_build_command.go`\n- `pkg\u002Fworkflow\u002Fjs.go` is a stub; it no longer owns the runtime JavaScript shipping path for the main workflows\n\nIf you are refactoring a workflow utility, prefer the current action\u002Fmodule architecture over any older `\u002F\u002Fgo:embed` pattern.\n\n### Top-Level Script Pattern\n\nTop-level `.cjs` scripts executed directly in workflows follow this pattern:\n\n**✅ Correct Pattern - Export main, but don't call it:**\n```javascript\nasync function main() {\n  \u002F\u002F Script logic here\n  core.info(\"Running the script\");\n}\n\nmodule.exports = { main };\n```\n\n**❌ Incorrect Pattern - Don't call main in the file:**\n```javascript\nasync function main() {\n  \u002F\u002F Script logic here\n  core.info(\"Running the script\");\n}\n\nawait main(); \u002F\u002F ❌ Don't do this!\n\nmodule.exports = { main };\n```\n\n**Why this pattern?**\n- The workflow bundler or action build step can wrap the script with `await main()` at execution time\n- The module stays importable for tests while still being executable in GitHub Actions\n- It makes unit testing easier and preserves a clean module boundary\n\n## Step 1: Put the code in the right source tree\n\nChoose the correct location for the module before writing code:\n\n- Shared workflow utilities: `pkg\u002Fworkflow\u002Fjs\u002F`\n- Action-specific JavaScript: `actions\u002F\u003Caction-name>\u002Fsrc\u002F` or `actions\u002Fsetup\u002Fjs\u002F`\n- Generated bundle output: `actions\u002F\u003Caction-name>\u002Findex.js`\n\n**File naming convention:**\n- Use snake_case for filenames (for example `sanitize_content.cjs`, `load_agent_output.cjs`)\n- Use `.cjs` for CommonJS modules\n- Keep the name aligned with the responsibility of the module\n\n**Example file structure:**\n```javascript\n\u002F\u002F @ts-check\n\u002F\u002F\u002F \u003Creference types=\"@actions\u002Fgithub-script\" \u002F>\n\n\u002F**\n * Brief description of what this module does\n *\u002F\n\n\u002F**\n * Function documentation\n * @param {string} input - Description of parameter\n * @returns {string} Description of return value\n *\u002F\nfunction myFunction(input) {\n  return input;\n}\n\nmodule.exports = {\n  myFunction,\n};\n```\n\n**Key points:**\n- Include `\u002F\u002F @ts-check` for TypeScript checking\n- Include `\u002F\u002F\u002F \u003Creference types=\"@actions\u002Fgithub-script\" \u002F>` when the module is used with GitHub Actions scripts\n- Use JSDoc comments for documentation\n- Export functions via `module.exports = { ... }`\n- Do not import `@actions\u002Fcore` or `@actions\u002Fgithub` directly unless the module is running in an action context that explicitly expects it\n\n## Step 2: Add tests next to the module\n\nCreate a matching test beside the module using the same base name plus `.test.cjs`:\n\n**Example:** `pkg\u002Fworkflow\u002Fjs\u002Fmy_module.test.cjs`\n```javascript\nimport { describe, it, expect, beforeEach, vi } from \"vitest\";\n\nconst mockCore = {\n  debug: vi.fn(),\n  info: vi.fn(),\n  warning: vi.fn(),\n  error: vi.fn(),\n  setFailed: vi.fn(),\n  setOutput: vi.fn(),\n};\n\nglobal.core = mockCore;\n\ndescribe(\"myFunction\", () => {\n  beforeEach(() => {\n    vi.clearAllMocks();\n  });\n\n  it(\"handles a normal input\", async () => {\n    const { myFunction } = await import(\".\u002Fmy_module.cjs\");\n    expect(myFunction(\"test input\")).toBe(\"expected output\");\n  });\n\n  it(\"handles empty input\", async () => {\n    const { myFunction } = await import(\".\u002Fmy_module.cjs\");\n    expect(myFunction(\"\")).toBe(\"\");\n  });\n});\n```\n\n**Testing guidelines:**\n- Use Vitest for test execution\n- Mock `core` and `github` globals as needed\n- Use dynamic imports (`await import()`) to allow module setup at test time\n- Clear mocks in `beforeEach`\n- Cover success, failure, and edge cases\n\n**Run tests:**\n```bash\nmake test-js\n```\n\n## Step 3: Wire the module into the actual build path\n\nDo not add a new `\u002F\u002Fgo:embed` mapping just to ship a new runtime script. The current repo ships JavaScript through the action-generation\u002Fbuild pipeline.\n\nUse this checklist:\n\n- Shared utility used by generated actions: update the relevant dependency mapping in `pkg\u002Fcli\u002Factions_build_command.go`\n- Action-specific source file: add the module under `actions\u002F\u003Caction-name>\u002Fsrc\u002F`\n- Generated action bundle: rebuild with `make actions-build`\n- Shared workflow source for runtime modules: keep it under `pkg\u002Fworkflow\u002Fjs\u002F` and update the action or workflow definition that consumes it\n\n**Example design:**\n```javascript\nconst { myFunction } = require(\".\u002Fmy_module.cjs\");\n\nasync function main() {\n  const result = myFunction(\"some input\");\n  core.info(`Result: ${result}`);\n}\n\nmodule.exports = { main };\n```\n\n## Step 4: Validate the refactor\n\nRun the relevant checks for the area you changed:\n\n```bash\nmake fmt-cjs\nmake lint-cjs\nmake test-js\nmake test-unit\nmake actions-build\n```\n\n## Verification Checklist\n\nBefore committing your refactor:\n\n- [ ] New `.cjs` file created in the correct source directory\n- [ ] Matching `.test.cjs` file created\n- [ ] Tests pass with `make test-js` or the targeted Vitest suite\n- [ ] The module is wired through the real action\u002Fworkflow build path\n- [ ] No stale embedding instructions were added for the current action-based JS build flow\n- [ ] Local `require()` statements work correctly in other JS files\n- [ ] Code formatted with `make fmt-cjs`\n- [ ] Relevant validation passes with `make lint-cjs` or `make test-unit`\n\n## Common Patterns\n\n### Pattern 1: Shared Utility Module\n\nFiles like `sanitize_content.cjs` or `load_agent_output.cjs` are best kept under `pkg\u002Fworkflow\u002Fjs\u002F` or `actions\u002Fsetup\u002Fjs\u002F` and consumed by other JS modules via `require()`.\n\n### Pattern 2: Action-specific file\n\nWhen the JavaScript belongs to a single action, keep it under `actions\u002F\u003Caction-name>\u002Fsrc\u002F` and regenerate the output bundle with `make actions-build`.\n\n### Pattern 3: Top-level workflow script\n\nIf the script is executed directly in a workflow, export `main` and omit the direct `await main()` call. The host build\u002Fruntime step handles execution.\n\n## Troubleshooting\n\n### Issue: changes are not showing up in generated actions\n\n**Cause:** Action bundle was not rebuilt after editing the source file\n\n**Solution:**\n```bash\nmake actions-build\n```\n\n### Issue: tests fail with `core is not defined`\n\n**Cause:** Missing global mocks\n\n**Solution:**\n```javascript\nglobal.core = mockCore;\n```\n\n### Issue: the module is only used in one place\n\n**Cause:** It was added to the wrong layer\n\n**Solution:** Move it to the action-specific source tree instead of creating a broad workflow-level registry entry.\n\n## Test-Coverage Auditing\n\nDo not audit coverage in `actions\u002Fsetup\u002Fjs\u002F` by matching `foo.cjs` to `foo.test.cjs` by basename. That approach overstates untested files because tests here load sources in three other ways:\n\n- **One test file per behavior, not per source**: `create_discussion_labels.test.cjs` and `create_discussion_sanitization.test.cjs` both cover `create_discussion.cjs`.\n- **Cache-busting dynamic import**: `parse_copilot_log.test.cjs` uses `await import(\".\u002Fparse_copilot_log.cjs?\" + Date.now())` to get fresh module state per test.\n- **`readFileSync` + `eval`**: `collect_ndjson_output.test.cjs` reads the script source with `fs.readFileSync(scriptPath, \"utf8\")` and runs it with `eval(...)`.\n\nResolve `require`, `import`, and `readFileSync` targets from each test file (and their transitive `require`s) before reporting a source file as untested.\n\n## References\n\n- `actions\u002FREADME.md` - current action-generation\u002Fbuild workflow\n- `pkg\u002Fcli\u002Factions_build_command.go` - action dependency mapping\n- `pkg\u002Fworkflow\u002Fjs\u002F*.cjs` - existing shared module patterns\n- `actions\u002Fsetup\u002Fjs\u002F*.cjs` - action runtime\u002Fsource examples\n","# JavaScript Code Refactoring Guide\n\nUse this guide to split JavaScript into maintainable CommonJS modules in gh-aw without drifting into dead embedding patterns.\n\n## Overview\n\nThe current gh-aw architecture is action-centric:\n\n- Shared JS modules live under `pkg\u002Fworkflow\u002Fjs\u002F*.cjs` and `actions\u002Fsetup\u002Fjs\u002F*.cjs`\n- Action source files live under `actions\u002F\u003Caction-name>\u002Fsrc\u002F`\n- Generated action bundles are committed under `actions\u002F\u003Caction-name>\u002Findex.js`\n- Shipping is driven by the action build pipeline (`make actions-build`, `gh aw actions-build`) and dependency maps such as `pkg\u002Fcli\u002Factions_build_command.go`\n- `pkg\u002Fworkflow\u002Fjs.go` is a stub; it no longer owns the runtime JavaScript shipping path for the main workflows\n\nIf you are refactoring a workflow utility, prefer the current action\u002Fmodule architecture over any older `\u002F\u002Fgo:embed` pattern.\n\n### Top-Level Script Pattern\n\nTop-level `.cjs` scripts executed directly in workflows follow this pattern:\n\n**✅ Correct Pattern - Export main, but don't call it:**\n```javascript\nasync function main() {\n  \u002F\u002F Script logic here\n  core.info(\"Running the script\");\n}\n\nmodule.exports = { main };\n```\n\n**❌ Incorrect Pattern - Don't call main in the file:**\n```javascript\nasync function main() {\n  \u002F\u002F Script logic here\n  core.info(\"Running the script\");\n}\n\nawait main(); \u002F\u002F ❌ Don't do this!\n\nmodule.exports = { main };\n```\n\n**Why this pattern?**\n- The workflow bundler or action build step can wrap the script with `await main()` at execution time\n- The module stays importable for tests while still being executable in GitHub Actions\n- It makes unit testing easier and preserves a clean module boundary\n\n## Step 1: Put the code in the right source tree\n\nChoose the correct location for the module before writing code:\n\n- Shared workflow utilities: `pkg\u002Fworkflow\u002Fjs\u002F`\n- Action-specific JavaScript: `actions\u002F\u003Caction-name>\u002Fsrc\u002F` or `actions\u002Fsetup\u002Fjs\u002F`\n- Generated bundle output: `actions\u002F\u003Caction-name>\u002Findex.js`\n\n**File naming convention:**\n- Use snake_case for filenames (for example `sanitize_content.cjs`, `load_agent_output.cjs`)\n- Use `.cjs` for CommonJS modules\n- Keep the name aligned with the responsibility of the module\n\n**Example file structure:**\n```javascript\n\u002F\u002F @ts-check\n\u002F\u002F\u002F \u003Creference types=\"@actions\u002Fgithub-script\" \u002F>\n\n\u002F**\n * Brief description of what this module does\n *\u002F\n\n\u002F**\n * Function documentation\n * @param {string} input - Description of parameter\n * @returns {string} Description of return value\n *\u002F\nfunction myFunction(input) {\n  return input;\n}\n\nmodule.exports = {\n  myFunction,\n};\n```\n\n**Key points:**\n- Include `\u002F\u002F @ts-check` for TypeScript checking\n- Include `\u002F\u002F\u002F \u003Creference types=\"@actions\u002Fgithub-script\" \u002F>` when the module is used with GitHub Actions scripts\n- Use JSDoc comments for documentation\n- Export functions via `module.exports = { ... }`\n- Do not import `@actions\u002Fcore` or `@actions\u002Fgithub` directly unless the module is running in an action context that explicitly expects it\n\n## Step 2: Add tests next to the module\n\nCreate a matching test beside the module using the same base name plus `.test.cjs`:\n\n**Example:** `pkg\u002Fworkflow\u002Fjs\u002Fmy_module.test.cjs`\n```javascript\nimport { describe, it, expect, beforeEach, vi } from \"vitest\";\n\nconst mockCore = {\n  debug: vi.fn(),\n  info: vi.fn(),\n  warning: vi.fn(),\n  error: vi.fn(),\n  setFailed: vi.fn(),\n  setOutput: vi.fn(),\n};\n\nglobal.core = mockCore;\n\ndescribe(\"myFunction\", () => {\n  beforeEach(() => {\n    vi.clearAllMocks();\n  });\n\n  it(\"handles a normal input\", async () => {\n    const { myFunction } = await import(\".\u002Fmy_module.cjs\");\n    expect(myFunction(\"test input\")).toBe(\"expected output\");\n  });\n\n  it(\"handles empty input\", async () => {\n    const { myFunction } = await import(\".\u002Fmy_module.cjs\");\n    expect(myFunction(\"\")).toBe(\"\");\n  });\n});\n```\n\n**Testing guidelines:**\n- Use Vitest for test execution\n- Mock `core` and `github` globals as needed\n- Use dynamic imports (`await import()`) to allow module setup at test time\n- Clear mocks in `beforeEach`\n- Cover success, failure, and edge cases\n\n**Run tests:**\n```bash\nmake test-js\n```\n\n## Step 3: Wire the module into the actual build path\n\nDo not add a new `\u002F\u002Fgo:embed` mapping just to ship a new runtime script. The current repo ships JavaScript through the action-generation\u002Fbuild pipeline.\n\nUse this checklist:\n\n- Shared utility used by generated actions: update the relevant dependency mapping in `pkg\u002Fcli\u002Factions_build_command.go`\n- Action-specific source file: add the module under `actions\u002F\u003Caction-name>\u002Fsrc\u002F`\n- Generated action bundle: rebuild with `make actions-build`\n- Shared workflow source for runtime modules: keep it under `pkg\u002Fworkflow\u002Fjs\u002F` and update the action or workflow definition that consumes it\n\n**Example design:**\n```javascript\nconst { myFunction } = require(\".\u002Fmy_module.cjs\");\n\nasync function main() {\n  const result = myFunction(\"some input\");\n  core.info(`Result: ${result}`);\n}\n\nmodule.exports = { main };\n```\n\n## Step 4: Validate the refactor\n\nRun the relevant checks for the area you changed:\n\n```bash\nmake fmt-cjs\nmake lint-cjs\nmake test-js\nmake test-unit\nmake actions-build\n```\n\n## Verification Checklist\n\nBefore committing your refactor:\n\n- [ ] New `.cjs` file created in the correct source directory\n- [ ] Matching `.test.cjs` file created\n- [ ] Tests pass with `make test-js` or the targeted Vitest suite\n- [ ] The module is wired through the real action\u002Fworkflow build path\n- [ ] No stale embedding instructions were added for the current action-based JS build flow\n- [ ] Local `require()` statements work correctly in other JS files\n- [ ] Code formatted with `make fmt-cjs`\n- [ ] Relevant validation passes with `make lint-cjs` or `make test-unit`\n\n## Common Patterns\n\n### Pattern 1: Shared Utility Module\n\nFiles like `sanitize_content.cjs` or `load_agent_output.cjs` are best kept under `pkg\u002Fworkflow\u002Fjs\u002F` or `actions\u002Fsetup\u002Fjs\u002F` and consumed by other JS modules via `require()`.\n\n### Pattern 2: Action-specific file\n\nWhen the JavaScript belongs to a single action, keep it under `actions\u002F\u003Caction-name>\u002Fsrc\u002F` and regenerate the output bundle with `make actions-build`.\n\n### Pattern 3: Top-level workflow script\n\nIf the script is executed directly in a workflow, export `main` and omit the direct `await main()` call. The host build\u002Fruntime step handles execution.\n\n## Troubleshooting\n\n### Issue: changes are not showing up in generated actions\n\n**Cause:** Action bundle was not rebuilt after editing the source file\n\n**Solution:**\n```bash\nmake actions-build\n```\n\n### Issue: tests fail with `core is not defined`\n\n**Cause:** Missing global mocks\n\n**Solution:**\n```javascript\nglobal.core = mockCore;\n```\n\n### Issue: the module is only used in one place\n\n**Cause:** It was added to the wrong layer\n\n**Solution:** Move it to the action-specific source tree instead of creating a broad workflow-level registry entry.\n\n## Test-Coverage Auditing\n\nDo not audit coverage in `actions\u002Fsetup\u002Fjs\u002F` by matching `foo.cjs` to `foo.test.cjs` by basename. That approach overstates untested files because tests here load sources in three other ways:\n\n- **One test file per behavior, not per source**: `create_discussion_labels.test.cjs` and `create_discussion_sanitization.test.cjs` both cover `create_discussion.cjs`.\n- **Cache-busting dynamic import**: `parse_copilot_log.test.cjs` uses `await import(\".\u002Fparse_copilot_log.cjs?\" + Date.now())` to get fresh module state per test.\n- **`readFileSync` + `eval`**: `collect_ndjson_output.test.cjs` reads the script source with `fs.readFileSync(scriptPath, \"utf8\")` and runs it with `eval(...)`.\n\nResolve `require`, `import`, and `readFileSync` targets from each test file (and their transitive `require`s) before reporting a source file as untested.\n\n## References\n\n- `actions\u002FREADME.md` - current action-generation\u002Fbuild workflow\n- `pkg\u002Fcli\u002Factions_build_command.go` - action dependency mapping\n- `pkg\u002Fworkflow\u002Fjs\u002F*.cjs` - existing shared module patterns\n- `actions\u002Fsetup\u002Fjs\u002F*.cjs` - action runtime\u002Fsource examples\n",{"name":5,"description":7},"main","8541229759617347888641eba917d3b0ad66a984",".github\u002Fskills\u002Fjavascript-refactoring",626,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw","https:\u002F\u002Fgh.io\u002Fgh-aw","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 06:45:15",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add github\u002Fgh-aw --skill javascript-refactoring",{"tool":46,"command":47},"bunx","bunx skills add github\u002Fgh-aw --skill javascript-refactoring",{"tool":49,"command":50},"pnpm","pnpm dlx skills add github\u002Fgh-aw --skill javascript-refactoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fjavascript-refactoring\u002FSKILL.md",true,[54,60],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"agents\u002Fopenai.yaml","REFERENCE","参考文档",102,"https:\u002F\u002Fgithub.com\u002Faliyome\u002Fenv\u002Fblob\u002Fmaster\u002F.rulesync\u002Fskills\u002F.curated\u002Fwriting-for-agents\u002Fagents\u002Fopenai.yaml",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"SKILL-MECHANICS.md",2629,"https:\u002F\u002Fgithub.com\u002Faliyome\u002Fenv\u002Fblob\u002Fmaster\u002F.rulesync\u002Fskills\u002F.curated\u002Fwriting-for-agents\u002FSKILL-MECHANICS.md",[65,73,81,110,128,153],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7DQYVZ9W9DDXKQ9452SNP8J","cracktro","Edit, preview, and verify the standalone interactive talk deck in docs\u002Fpublic\u002Fcracktro (slides, SVG diagrams, transitions, WebAudio sound).","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcracktro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":80},"01M7612HQ4378TK8QZ5HPAF4KR","create-connector","Create or extend a declaration-only third-party connector, with narrow reads, separate safe outputs, optional protected triggers, and offline conformance evidence.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcreate-connector\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"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":95,"publishedAt":25},"01M6ADC942STTXHFV410J4DH0X","GitHub Agentic Workflows","GitHub Agentic Workflows (`gh-aw`) is a GitHub CLI extension for writing Agentic Workflows in markdown and compiling them to GitHub Actions.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002FSKILL.md",[87,92],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":93,"categoryName":94,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000023","Skill与智能体开发",[9,96,97,98,99,100,101,102,103,104,105,106,107,108,109],"github agentic workflows","agentic workflows","workflows","agentic","extension","markdown","github cli","cli","gh","for","compiling","writing","github actions","actions",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":25},"01M6ADC6ZXSA46N9XD6VNAP1MS","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[117,118,119,120,121,122,123,124,125,126,127],"windows","windows compatibility","compatibility","command","git","bugs","platform","high","patterns","cross-platform","path",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":25},"01M6ADC44957SVQF96R5YY247P","versioning-policy","Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[135,136,137,138,139,103,140,141,142,143,144,145,146,147,105,148,149,150,151,152],"versioning","policy","versioning policy","gate","implementation","workspace","pr","sdk","release","ci","npm","semver","squad","incident","incidents","Rules","version","resolution",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":163,"publishedAt":25},"01M6ADC1PHMEAEVR87F8PDR89X","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[159,162],{"categoryNo":160,"categoryName":161,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":93,"categoryName":94,"taxonomyType":90,"taxonomyTypeDesc":91},[164,165,166,167,168,169,170,171,172,173,174,175,176,105,177,178],"tiered memory","memory","performance","design","agent memory","proposal","cold","model","wiki","spawn","memory-management","context","three","runtime","management"]