[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABQFKQ6SH9P7TE3SFH9N52":3,"skill-same:01M7ABQFKQ6SH9P7TE3SFH9N52":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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7ABQFKQ6SH9P7TE3SFH9N52","add-capability-stage",null,"Procedural workflow for adding a new sync capability to agenteq's artifacts sync.","sunchayn\u002Fagenteq","sunchayn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14861869?v=4","01M7ABQ196WGTZ00ZD0A3GMK7D","Mazen Touati","01M7ABQ19XRTXXN62T4K41RTY1",7,"MIT","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002F.ai\u002Fskills\u002Fadd-capability-stage\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-capability-stage\ndescription: Procedural workflow for adding a new sync capability to agenteq's artifacts sync.\n---\n\n# Adding a Capability Sync Stage\n\n## 1. How sync works\n\n`artifactsManager.sync()` builds a `SyncPayload` and pipes it through ordered stages, each `async (payload: SyncPayload) => Promise\u003CSyncPayload>`.\n\n- Capability not requested: stage returns `payload` unchanged.\n- Otherwise: stage returns `payload.withResults(...)`.\n- Never mutate a payload in place.\n- `sync()` owns stage order. See `artifacts-manager\u002Findex.ts`.\n\n## 2. Steps\n\n1. Add the capability to `AgentCapability` in `src\u002Fmodules\u002Fartifacts\u002Fenums\u002Fagent-capability.ts`.\n2. Capability needs only a directory or file path: add a string field on `Agent`, like `commandsDir`\u002F`skillsDir`\u002F`guidelinesPath`. Needs more shape: add a plain interface under `src\u002Fmodules\u002Fagents\u002Ftypes\u002F`, like `McpConfiguration`.\n3. Add stage in `src\u002Fmodules\u002Fartifacts\u002Fservices\u002Fartifacts-manager\u002Fstages\u002F`. Name `sync{Capability}Stage`. Default export. Signature `(payload: SyncPayload) => Promise\u003CSyncPayload>`. Guard with `payload.wantsCapability(...)`.\n4. Call from `sync()` in `artifacts-manager\u002Findex.ts`. Pass returned payload to next call. `sync()` only orders stages. No capability branching inside.\n5. One stage per capability. Share one stage across capabilities only if logic is structurally identical, not merely similar.\n\n## 3. Related Skills\n\n- General TypeScript conventions: [write-typescript-code](..\u002Fwrite-typescript-code\u002FSKILL.md)\n- Adding a supported agent: [add-agent-definition](..\u002Fadd-agent-definition\u002FSKILL.md)\n","# Adding a Capability Sync Stage\n\n## 1. How sync works\n\n`artifactsManager.sync()` builds a `SyncPayload` and pipes it through ordered stages, each `async (payload: SyncPayload) => Promise\u003CSyncPayload>`.\n\n- Capability not requested: stage returns `payload` unchanged.\n- Otherwise: stage returns `payload.withResults(...)`.\n- Never mutate a payload in place.\n- `sync()` owns stage order. See `artifacts-manager\u002Findex.ts`.\n\n## 2. Steps\n\n1. Add the capability to `AgentCapability` in `src\u002Fmodules\u002Fartifacts\u002Fenums\u002Fagent-capability.ts`.\n2. Capability needs only a directory or file path: add a string field on `Agent`, like `commandsDir`\u002F`skillsDir`\u002F`guidelinesPath`. Needs more shape: add a plain interface under `src\u002Fmodules\u002Fagents\u002Ftypes\u002F`, like `McpConfiguration`.\n3. Add stage in `src\u002Fmodules\u002Fartifacts\u002Fservices\u002Fartifacts-manager\u002Fstages\u002F`. Name `sync{Capability}Stage`. Default export. Signature `(payload: SyncPayload) => Promise\u003CSyncPayload>`. Guard with `payload.wantsCapability(...)`.\n4. Call from `sync()` in `artifacts-manager\u002Findex.ts`. Pass returned payload to next call. `sync()` only orders stages. No capability branching inside.\n5. One stage per capability. Share one stage across capabilities only if logic is structurally identical, not merely similar.\n\n## 3. Related Skills\n\n- General TypeScript conventions: [write-typescript-code](..\u002Fwrite-typescript-code\u002FSKILL.md)\n- Adding a supported agent: [add-agent-definition](..\u002Fadd-agent-definition\u002FSKILL.md)\n",{"name":5,"description":7},"base","b99f2a00504bfd13da8cedf096c6f121ca2aeb8f",".ai\u002Fskills\u002Fadd-capability-stage",0,"https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq","https:\u002F\u002Fsunchayn.dev\u002Fblog\u002Fyou-only-need-one-source-of-truth-for-all-your-ai-coding-agents","https:\u002F\u002Fgithub.com\u002Fsunchayn","https:\u002F\u002Fsunchayn.dev\u002F","Ordering a pizzacode 🍕","2026-10-29 22:00:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add sunchayn\u002Fagenteq --skill add-capability-stage",{"tool":40,"command":41},"bunx","bunx skills add sunchayn\u002Fagenteq --skill add-capability-stage",{"tool":43,"command":44},"pnpm","pnpm dlx skills add sunchayn\u002Fagenteq --skill add-capability-stage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002F.ai\u002Fskills\u002Fadd-capability-stage\u002FSKILL.md",true,[],[49,56,63,68,75,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},"01M7ABS3P7DDXGQ8B85WEX4JA0","writing-commit-messages","Conventions for writing commit messages in this repo.","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002Fexamples\u002Frefactor-demo\u002F.cursor\u002Fskills\u002Fwriting-commit-messages\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},"01M7ABS1BQG4B0JAPNMMP5XC4R","review-checklist","Checklist to run through before approving a pull request.","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002Fexamples\u002Frefactor-demo\u002F.cursor\u002Fskills\u002Freview-checklist\u002FSKILL.md",[],[],{"skillNo":64,"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":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ABRYG5V8NDB6R2X5ZRTX7Q","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002Fexamples\u002Frefactor-demo\u002F.claude\u002Fskills\u002Fwriting-commit-messages\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7ABRW3B3CBEYTH4H82FF6Z2","laravel-pint","Formats PHP code with Laravel Pint before a commit.","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002Fexamples\u002Flaravel-boost\u002F.cursor\u002Fskills\u002Flaravel-pint\u002FSKILL.md",[],[],{"skillNo":76,"name":70,"nameZh":6,"description":71,"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},"01M7ABRSA7C1XCTWZHQFE1B8DS","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002Fexamples\u002Flaravel-boost\u002F.claude\u002Fskills\u002Flaravel-pint\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},"01M7ABRQ17XESZVBGHT1NYK4NF","example-skill","Example skill synced by agenteq","https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002Fexamples\u002Fbasic\u002F.ai\u002Fskills\u002Fexample-skill\u002FSKILL.md",[],[]]