[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B4C510BRANVDF5MCH1FFGX":3,"skill-same:01M7B4C510BRANVDF5MCH1FFGX":61},{"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":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7B4C510BRANVDF5MCH1FFGX","api-bugfix",null,"Fix backend bugs with minimal touch, keep other layers stable, then sync DTO, OpenAPI, shared types, tests, and related docs when behavior is affected.","irosadie\u002Fopen-state","irosadie","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25891018?v=4","01M6D9VT1T5RGGX753ARTN5J8N","Imron Rosadi","01M7B4C1HZ5R8XE60RF7GDHD9K",3,"MIT","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fapi-bugfix\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: api-bugfix\ndescription: Fix backend bugs with minimal touch, keep other layers stable, then sync DTO, OpenAPI, shared types, tests, and related docs when behavior is affected.\n---\n\n# Skill: API Bugfix\n\n## Context (Required)\n- Folder scope + impact map: `references\u002Fcontext.md`\n- Execution checklist: `templates\u002Fchecklist.md`\n\nUse this skill when the user asks to fix a backend bug. Core principle: **minimal touch**. Find the root cause, change as little as possible, keep layering clean, then sync DTO, OpenAPI, shared types, and tests when endpoint behavior is actually affected.\n\n## Workflow\n\n### 1. Reproduce or Define the Bug Clearly\n\nBefore changing code:\n- understand the symptom\n- identify the failing behavior in route, controller, service, use case, or repository\n- locate the boundary: request binding, business rule, response mapping, repository, or side effect\n\nWhen possible, add or modify a test that represents the bug.\n\n### 2. Localize the Root Cause\n\nFind the smallest possible root cause. Prioritize by location:\n- route \u002F middleware if the bug is in request parsing or auth\n- controller if the bug is in request binding or response shaping\n- service if the bug is in orchestration\n- use case if the bug is business logic\n- repository \u002F infra if the bug is in persistence or external side effect\n\nDo not rewrite multiple layers when one layer is enough to fix the bug.\n\n### 3. Apply a Minimal Fix\n\nMinimal touch rules:\n- touch as few files as possible\n- preserve the `route -> controller -> service -> use case -> repository` boundary\n- do not refactor unrelated layers\n- do not rename or restructure just because the file is open\n- **NEVER** edit sqlc-generated files in `internal\u002Finfrastructure\u002Fdb\u002F` — fix the `.sql` query and regenerate\n\n### 4. Sync Contract and Docs That Are Affected\n\nIf the fix changes endpoint behavior, request shape, response shape, or error semantics, update what is actually needed:\n- DTO in `internal\u002Fapplication\u002Fdtos\u002F`\n- `packages\u002Ftypes\u002F` response types\n- split OpenAPI in `docs\u002Fopenapi\u002F`\n- relevant tests\n\nDo not let endpoint behavior change while OpenAPI and shared types stay stale.\n\n### 5. Verify Narrowly but Thoroughly\n\nMinimum verification:\n- test that reproduces or guards the bug\n- `go vet .\u002F...` on the touched surface\n- generate OpenAPI if the contract changed\n- confirm no new drift between code, shared contract, and docs\n\n## Prohibitions\n\n- **NEVER** refactor across layers when the user's goal is only a bugfix.\n- **NEVER** change unrelated files \"while you're at it\".\n- **NEVER** let DTO\u002FOpenAPI\u002Fshared types drift when the fix changes endpoint behavior.\n- **NEVER** move business logic into the HTTP layer for a quick fix.\n- **NEVER** edit sqlc-generated files directly.\n- **NEVER** finish without targeted verification.\n\n## Pre-Completion Checklist\n\n- [ ] Bug reproduced or faulty behavior defined clearly\n- [ ] Root cause localized to the smallest reasonable layer\n- [ ] Changes remain minimal touch\n- [ ] DTO\u002Ftype\u002Fdocs\u002FOpenAPI updated when affected\n- [ ] sqlc regenerated if query changed\n- [ ] Relevant tests added or updated\n- [ ] `go build .\u002F...` passes\n- [ ] No new drift in backend contract\n- [ ] All files end with a newline (EOF)\n","# Skill: API Bugfix\n\n## Context (Required)\n- Folder scope + impact map: `references\u002Fcontext.md`\n- Execution checklist: `templates\u002Fchecklist.md`\n\nUse this skill when the user asks to fix a backend bug. Core principle: **minimal touch**. Find the root cause, change as little as possible, keep layering clean, then sync DTO, OpenAPI, shared types, and tests when endpoint behavior is actually affected.\n\n## Workflow\n\n### 1. Reproduce or Define the Bug Clearly\n\nBefore changing code:\n- understand the symptom\n- identify the failing behavior in route, controller, service, use case, or repository\n- locate the boundary: request binding, business rule, response mapping, repository, or side effect\n\nWhen possible, add or modify a test that represents the bug.\n\n### 2. Localize the Root Cause\n\nFind the smallest possible root cause. Prioritize by location:\n- route \u002F middleware if the bug is in request parsing or auth\n- controller if the bug is in request binding or response shaping\n- service if the bug is in orchestration\n- use case if the bug is business logic\n- repository \u002F infra if the bug is in persistence or external side effect\n\nDo not rewrite multiple layers when one layer is enough to fix the bug.\n\n### 3. Apply a Minimal Fix\n\nMinimal touch rules:\n- touch as few files as possible\n- preserve the `route -> controller -> service -> use case -> repository` boundary\n- do not refactor unrelated layers\n- do not rename or restructure just because the file is open\n- **NEVER** edit sqlc-generated files in `internal\u002Finfrastructure\u002Fdb\u002F` — fix the `.sql` query and regenerate\n\n### 4. Sync Contract and Docs That Are Affected\n\nIf the fix changes endpoint behavior, request shape, response shape, or error semantics, update what is actually needed:\n- DTO in `internal\u002Fapplication\u002Fdtos\u002F`\n- `packages\u002Ftypes\u002F` response types\n- split OpenAPI in `docs\u002Fopenapi\u002F`\n- relevant tests\n\nDo not let endpoint behavior change while OpenAPI and shared types stay stale.\n\n### 5. Verify Narrowly but Thoroughly\n\nMinimum verification:\n- test that reproduces or guards the bug\n- `go vet .\u002F...` on the touched surface\n- generate OpenAPI if the contract changed\n- confirm no new drift between code, shared contract, and docs\n\n## Prohibitions\n\n- **NEVER** refactor across layers when the user's goal is only a bugfix.\n- **NEVER** change unrelated files \"while you're at it\".\n- **NEVER** let DTO\u002FOpenAPI\u002Fshared types drift when the fix changes endpoint behavior.\n- **NEVER** move business logic into the HTTP layer for a quick fix.\n- **NEVER** edit sqlc-generated files directly.\n- **NEVER** finish without targeted verification.\n\n## Pre-Completion Checklist\n\n- [ ] Bug reproduced or faulty behavior defined clearly\n- [ ] Root cause localized to the smallest reasonable layer\n- [ ] Changes remain minimal touch\n- [ ] DTO\u002Ftype\u002Fdocs\u002FOpenAPI updated when affected\n- [ ] sqlc regenerated if query changed\n- [ ] Relevant tests added or updated\n- [ ] `go build .\u002F...` passes\n- [ ] No new drift in backend contract\n- [ ] All files end with a newline (EOF)\n",{"name":5,"description":7},"main","e060e2bbccd2807300ada8189e092b68718e0359",".agents\u002Fskills\u002Fapi-bugfix",0,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state","https:\u002F\u002Fgithub.com\u002Firosadie","http:\u002F\u002Fimronrosadi.com","The Hatless Engineer 👨‍💻","2026-09-06 12:39:29",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add irosadie\u002Fopen-state --skill api-bugfix",{"tool":39,"command":40},"bunx","bunx skills add irosadie\u002Fopen-state --skill api-bugfix",{"tool":42,"command":43},"pnpm","pnpm dlx skills add irosadie\u002Fopen-state --skill api-bugfix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fapi-bugfix\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",288,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fapi-bugfix\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcontext.md",1565,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fapi-bugfix\u002Freferences\u002Fcontext.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"templates\u002Fchecklist.md",702,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fapi-bugfix\u002Ftemplates\u002Fchecklist.md",[62,69,76,83,90,97],{"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},"01M7B4H1NMAN0SQQ767BJNSA53","web-slicing","Convert screenshot\u002FFigma designs into pixel-perfect frontend UI with reusable components. Use when the task focuses on visual and layout implementation.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-slicing\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7B4GZ1FCD08JC4YZ7H7ZARH","web-seo-geo-friendly","Optimize public Next.js App Router pages for SEO and GEO (Generative Engine Optimization). Use when the user explicitly requests SEO\u002FGEO optimization on public pages.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-seo-geo-friendly\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7B4GWT5RGPSW001QN2757QV","web-code-review","Review frontend code with a firm senior-lead standard, focusing on bugs, regressions, architecture risks, and test gaps in apps\u002Fweb and the shared contracts the frontend depends on.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-code-review\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7B4GTKEZZ7DFNA0X6BBY3A2","web-bugfix","Fix frontend bugs with minimum-touch changes, keep other surfaces stable, and sync schema, types, hooks, constants, tests, and related docs when impacted.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-bugfix\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7B4GR96WPQTF2V2KXVR7P9W","web-api-integrated","Integrate API endpoints into the frontend with Zod schemas, response types, constants, and react-query hooks. Use when implementing endpoints from an API contract, Postman, or Swagger.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fweb-api-integrated\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7B4GNDTB3T51TP737R07VQS","skill-creator","Create a new skill from scratch with full structure — SKILL.md, references, templates, openai.yaml, Claude\u002FOpenCode wrappers, and registration in manifest + AGENTS.md + CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-state\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fskill-creator\u002FSKILL.md",[],[]]