[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABQ757FHN1HYJV7CEZ17RG":3,"skill-same:01M7ABQ757FHN1HYJV7CEZ17RG":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},"01M7ABQ757FHN1HYJV7CEZ17RG","add-agent-definition",null,"Procedural workflow for adding support for a new coding agent to agenteq.","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-agent-definition\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-agent-definition\ndescription: Procedural workflow for adding support for a new coding agent to agenteq.\n---\n\n# Adding an Agent Definition\n\n## 1. What a definition is\n\nOne file in `src\u002Fmodules\u002Fagents\u002Fdefinitions\u002F`, exporting one `new Agent({...})`.\n\n- Capability needing only a path (`guidelinesPath`, `commandsDir`, `skillsDir`): plain string field.\n- Capability needing more shape (`mcp`): own configuration object, built with a `create{Name}Configuration` factory.\n- Reference: `definitions\u002Fclaude-code.ts`.\n\n## 2. Steps\n\n1. Create `src\u002Fmodules\u002Fagents\u002Fdefinitions\u002F{name}.ts`, default-exporting one `new Agent({...})`. Why default export: [write-typescript-code](..\u002Fwrite-typescript-code\u002FSKILL.md) section 4.\n2. Set `name` (snake_case, machine-readable) and `displayName`.\n3. Set `detectSystemPathUsing`: closure returning a `DetectionConfiguration` for CLI detection on the system, usually a `command` check.\n4. Set `detectProjectPathUsing`: closure returning a `DetectionConfiguration` for detecting the agent in the current project, usually `files` or `paths` checks.\n5. Set only capabilities the agent supports: `guidelinesPath`, `commandsDir`, `skillsDir` (string paths), `mcp` (`McpConfiguration` from `createMcpConfiguration`, with `configPath` and `entryMappers`).\n6. Register in `src\u002Fmodules\u002Fagents\u002Fregistry.ts`: one import, one entry in `agentDefinitions`.\n\nNo other source file should change. If a sync stage needs touching, a capability abstraction leaks agent-specific logic. Fix the capability configuration, not the stage.\n\nTwo files outside the source tree need updating. [refactor-to-agenteq](..\u002Frefactor-to-agenteq\u002FSKILL.md) and [add-agenteq-to-boost-project](..\u002Fadd-agenteq-to-boost-project\u002FSKILL.md) each hold an identical table of every agent's native guidelines path, skills\u002Fcommands directory, command file extension, and MCP config path, key path, and entry shape. They run in other repos and cannot read `definitions\u002F{name}.ts`. When adding an agent, or changing any of those fields, update the row in both tables.\n\n## 3. Related Skills\n\n- General TypeScript conventions: [write-typescript-code](..\u002Fwrite-typescript-code\u002FSKILL.md)\n- Adding a sync capability: [add-capability-stage](..\u002Fadd-capability-stage\u002FSKILL.md)\n- Verifying definition output: [e2e-test-agents](..\u002Fe2e-test-agents\u002FSKILL.md)\n- Reverse-engineering tables: [refactor-to-agenteq](..\u002Frefactor-to-agenteq\u002FSKILL.md), [add-agenteq-to-boost-project](..\u002Fadd-agenteq-to-boost-project\u002FSKILL.md)\n","# Adding an Agent Definition\n\n## 1. What a definition is\n\nOne file in `src\u002Fmodules\u002Fagents\u002Fdefinitions\u002F`, exporting one `new Agent({...})`.\n\n- Capability needing only a path (`guidelinesPath`, `commandsDir`, `skillsDir`): plain string field.\n- Capability needing more shape (`mcp`): own configuration object, built with a `create{Name}Configuration` factory.\n- Reference: `definitions\u002Fclaude-code.ts`.\n\n## 2. Steps\n\n1. Create `src\u002Fmodules\u002Fagents\u002Fdefinitions\u002F{name}.ts`, default-exporting one `new Agent({...})`. Why default export: [write-typescript-code](..\u002Fwrite-typescript-code\u002FSKILL.md) section 4.\n2. Set `name` (snake_case, machine-readable) and `displayName`.\n3. Set `detectSystemPathUsing`: closure returning a `DetectionConfiguration` for CLI detection on the system, usually a `command` check.\n4. Set `detectProjectPathUsing`: closure returning a `DetectionConfiguration` for detecting the agent in the current project, usually `files` or `paths` checks.\n5. Set only capabilities the agent supports: `guidelinesPath`, `commandsDir`, `skillsDir` (string paths), `mcp` (`McpConfiguration` from `createMcpConfiguration`, with `configPath` and `entryMappers`).\n6. Register in `src\u002Fmodules\u002Fagents\u002Fregistry.ts`: one import, one entry in `agentDefinitions`.\n\nNo other source file should change. If a sync stage needs touching, a capability abstraction leaks agent-specific logic. Fix the capability configuration, not the stage.\n\nTwo files outside the source tree need updating. [refactor-to-agenteq](..\u002Frefactor-to-agenteq\u002FSKILL.md) and [add-agenteq-to-boost-project](..\u002Fadd-agenteq-to-boost-project\u002FSKILL.md) each hold an identical table of every agent's native guidelines path, skills\u002Fcommands directory, command file extension, and MCP config path, key path, and entry shape. They run in other repos and cannot read `definitions\u002F{name}.ts`. When adding an agent, or changing any of those fields, update the row in both tables.\n\n## 3. Related Skills\n\n- General TypeScript conventions: [write-typescript-code](..\u002Fwrite-typescript-code\u002FSKILL.md)\n- Adding a sync capability: [add-capability-stage](..\u002Fadd-capability-stage\u002FSKILL.md)\n- Verifying definition output: [e2e-test-agents](..\u002Fe2e-test-agents\u002FSKILL.md)\n- Reverse-engineering tables: [refactor-to-agenteq](..\u002Frefactor-to-agenteq\u002FSKILL.md), [add-agenteq-to-boost-project](..\u002Fadd-agenteq-to-boost-project\u002FSKILL.md)\n",{"name":5,"description":7},"base","b99f2a00504bfd13da8cedf096c6f121ca2aeb8f",".ai\u002Fskills\u002Fadd-agent-definition",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-agent-definition",{"tool":40,"command":41},"bunx","bunx skills add sunchayn\u002Fagenteq --skill add-agent-definition",{"tool":43,"command":44},"pnpm","pnpm dlx skills add sunchayn\u002Fagenteq --skill add-agent-definition","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsunchayn\u002Fagenteq\u002Fblob\u002Fbase\u002F.ai\u002Fskills\u002Fadd-agent-definition\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",[],[]]