[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78F5YMTHX818MXVCNZRSAGD":3,"skill-same:01M78F5YMTHX818MXVCNZRSAGD":96},{"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":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M78F5YMTHX818MXVCNZRSAGD","petstore",null,"Call the Swagger Petstore API. A sample API that uses a petstore as an example to demonstrate api2skill.","angpysha\u002Fapi2skill","angpysha","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7025170?v=4","01M721R7EB17NTYWEFV7KW1B3Q","Andrii","01M78F2DTB4D5VB2WXKXBN0VFT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"petstore\"\ndescription: \"Call the Swagger Petstore API. A sample API that uses a petstore as an example to demonstrate api2skill.\"\n---\n\n# Swagger Petstore\n\nA sample API that uses a petstore as an example to demonstrate api2skill.\n\n## Overview\n\nBase URL: `https:\u002F\u002Fpetstore.example.com\u002Fv2`\n\n## Setup\n\nRunner: `dotnet script scripts\u002Fcall.csx --`\n\nCopy `secrets.example.json` to `secrets.json` and fill in real credentials before calling authenticated operations. `secrets.json` is gitignored — never commit it.\n\nUntrusted HTTPS (self-signed\u002Finvalid certificates) is **off by default**. Set `API2SKILL_INSECURE=1` to accept them — **dev\u002Flocal use only**, never in production.\n\n## Auth (from the spec)\n\n| scheme | kind | secrets.json keys |\n|---|---|---|\n| `api_key` | ApiKey | apiKey |\n| `petstore_auth` | OAuth2 | clientId, clientSecret, tokenUrl |\n\n## How to call\n\n```\ndotnet script scripts\u002Fcall.csx -- \u003CoperationId> [--\u003Cparam> \u003Cvalue> ...] [--body \u003Cjson|@file>]\n```\n\n## Authored examples\n\nOptional request\u002Fresponse payloads live under `examples\u002F\u003CoperationId>\u002F\u003Cname>\u002F` (`request.json` and\u002For `response.json`). Tag markdown in `reference\u002F` links them. Skills ship with **no** examples until you add them.\n\n### Prefer authored examples\n\nWhen calling or testing an operation:\n\n1. Look under `examples\u002F\u003CoperationId>\u002F` for named examples.\n2. If one name → use its `request.json` as `--body` (or equivalent).\n3. If several → ask the user which `name` to use (or pick `default` if present and the user did not specify).\n4. Do **not** invent a JSON body when an authored request example exists, unless the user explicitly overrides.\n\n### Failure protocol (mandatory)\n\nIf a call that used an authored example fails (non-success HTTP, auth error, unexpected body):\n\n1. **Ask** the user whether the example should be updated.\n2. Optionally **propose** a concrete patch to `request.json` \u002F `response.json` and\u002For a contract (OpenAPI \u002F auth) change.\n3. **Do not apply** any write to examples or contracts until the user **explicitly approves**.\n4. Never “fix forward” by silently overwriting examples.\n\n### Adding examples (chat or CLI)\n\n1. Create `examples\u002F\u003CoperationId>\u002F\u003Cname>\u002Frequest.json` and\u002For `response.json` (secret-free payloads only).\n2. Run `api2skill example sync --skill .` (or `api2skill example add --skill . --op \u003CoperationId> --name \u003Cname> --request …`).\n3. Confirm `reference\u002F\u003Ctag>.md` lists the example under **Authored examples**.\n\n## Operations\n\n### pet\n\nEverything about your Pets\n\n| operationId | method | path | summary | reference |\n|---|---|---|---|---|\n| `findPetsByStatus` | GET | `\u002Fpet\u002FfindByStatus` | Finds Pets by status | [reference\u002Fpet.md](reference\u002Fpet.md) |\n| `getPetById` | GET | `\u002Fpet\u002F{petId}` | Find pet by ID | [reference\u002Fpet.md](reference\u002Fpet.md) |\n| `addPet` | POST | `\u002Fpet` | Add a new pet to the store | [reference\u002Fpet.md](reference\u002Fpet.md) |\n\n### store\n\nAccess to Petstore orders\n\n| operationId | method | path | summary | reference |\n|---|---|---|---|---|\n| `get_store_inventory` | GET | `\u002Fstore\u002Finventory` | Returns pet inventories by status | [reference\u002Fstore.md](reference\u002Fstore.md) |\n\n### default\n\n| operationId | method | path | summary | reference |\n|---|---|---|---|---|\n| `get_health` | GET | `\u002Fhealth` | Health check (no tag, no auth) | [reference\u002Fdefault.md](reference\u002Fdefault.md) |\n\n","# Swagger Petstore\n\nA sample API that uses a petstore as an example to demonstrate api2skill.\n\n## Overview\n\nBase URL: `https:\u002F\u002Fpetstore.example.com\u002Fv2`\n\n## Setup\n\nRunner: `dotnet script scripts\u002Fcall.csx --`\n\nCopy `secrets.example.json` to `secrets.json` and fill in real credentials before calling authenticated operations. `secrets.json` is gitignored — never commit it.\n\nUntrusted HTTPS (self-signed\u002Finvalid certificates) is **off by default**. Set `API2SKILL_INSECURE=1` to accept them — **dev\u002Flocal use only**, never in production.\n\n## Auth (from the spec)\n\n| scheme | kind | secrets.json keys |\n|---|---|---|\n| `api_key` | ApiKey | apiKey |\n| `petstore_auth` | OAuth2 | clientId, clientSecret, tokenUrl |\n\n## How to call\n\n```\ndotnet script scripts\u002Fcall.csx -- \u003CoperationId> [--\u003Cparam> \u003Cvalue> ...] [--body \u003Cjson|@file>]\n```\n\n## Authored examples\n\nOptional request\u002Fresponse payloads live under `examples\u002F\u003CoperationId>\u002F\u003Cname>\u002F` (`request.json` and\u002For `response.json`). Tag markdown in `reference\u002F` links them. Skills ship with **no** examples until you add them.\n\n### Prefer authored examples\n\nWhen calling or testing an operation:\n\n1. Look under `examples\u002F\u003CoperationId>\u002F` for named examples.\n2. If one name → use its `request.json` as `--body` (or equivalent).\n3. If several → ask the user which `name` to use (or pick `default` if present and the user did not specify).\n4. Do **not** invent a JSON body when an authored request example exists, unless the user explicitly overrides.\n\n### Failure protocol (mandatory)\n\nIf a call that used an authored example fails (non-success HTTP, auth error, unexpected body):\n\n1. **Ask** the user whether the example should be updated.\n2. Optionally **propose** a concrete patch to `request.json` \u002F `response.json` and\u002For a contract (OpenAPI \u002F auth) change.\n3. **Do not apply** any write to examples or contracts until the user **explicitly approves**.\n4. Never “fix forward” by silently overwriting examples.\n\n### Adding examples (chat or CLI)\n\n1. Create `examples\u002F\u003CoperationId>\u002F\u003Cname>\u002Frequest.json` and\u002For `response.json` (secret-free payloads only).\n2. Run `api2skill example sync --skill .` (or `api2skill example add --skill . --op \u003CoperationId> --name \u003Cname> --request …`).\n3. Confirm `reference\u002F\u003Ctag>.md` lists the example under **Authored examples**.\n\n## Operations\n\n### pet\n\nEverything about your Pets\n\n| operationId | method | path | summary | reference |\n|---|---|---|---|---|\n| `findPetsByStatus` | GET | `\u002Fpet\u002FfindByStatus` | Finds Pets by status | [reference\u002Fpet.md](reference\u002Fpet.md) |\n| `getPetById` | GET | `\u002Fpet\u002F{petId}` | Find pet by ID | [reference\u002Fpet.md](reference\u002Fpet.md) |\n| `addPet` | POST | `\u002Fpet` | Add a new pet to the store | [reference\u002Fpet.md](reference\u002Fpet.md) |\n\n### store\n\nAccess to Petstore orders\n\n| operationId | method | path | summary | reference |\n|---|---|---|---|---|\n| `get_store_inventory` | GET | `\u002Fstore\u002Finventory` | Returns pet inventories by status | [reference\u002Fstore.md](reference\u002Fstore.md) |\n\n### default\n\n| operationId | method | path | summary | reference |\n|---|---|---|---|---|\n| `get_health` | GET | `\u002Fhealth` | Health check (no tag, no auth) | [reference\u002Fdefault.md](reference\u002Fdefault.md) |\n\n",{"name":5,"description":7},"main","e2524bdd7bab86898b0f1d624b8152b4590a129b","tests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill","https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002Fapi2skill","https:\u002F\u002Fgithub.com\u002Fangpysha",".NET Senior Software Engineer","2026-10-31 03:45:31",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add angpysha\u002Fapi2skill --skill petstore",{"tool":38,"command":39},"bunx","bunx skills add angpysha\u002Fapi2skill --skill petstore",{"tool":41,"command":42},"pnpm","pnpm dlx skills add angpysha\u002Fapi2skill --skill petstore","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002FSKILL.md",true,[46,52,58,62,66,70,74,78,82,86,92],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},".api2skill.json","REFERENCE","参考文档",326,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002F.api2skill.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},".gitignore","OTHER","其他",52,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002F.gitignore",{"path":59,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":60,"sourceHtmlUrl":61},"reference\u002Fdefault.md",197,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fdefault.md",{"path":63,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":64,"sourceHtmlUrl":65},"reference\u002Fpet.md",5254,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fpet.md",{"path":67,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":68,"sourceHtmlUrl":69},"reference\u002Fschemas\u002FCategory.json",231,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fschemas\u002FCategory.json",{"path":71,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":72,"sourceHtmlUrl":73},"reference\u002Fschemas\u002FPet.json",670,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fschemas\u002FPet.json",{"path":75,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":76,"sourceHtmlUrl":77},"reference\u002Fschemas\u002FPetInput.json",561,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fschemas\u002FPetInput.json",{"path":79,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":80,"sourceHtmlUrl":81},"reference\u002Fschemas\u002FTag.json",221,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fschemas\u002FTag.json",{"path":83,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":84,"sourceHtmlUrl":85},"reference\u002Fstore.md",266,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Freference\u002Fstore.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fcall.csx","SCRIPT","脚本",41916,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Fscripts\u002Fcall.csx",{"path":93,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":94,"sourceHtmlUrl":95},"secrets.example.json",354,"https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002Fsecrets.example.json",[97,102,107,114,121,128],{"skillNo":98,"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":99,"categories":100,"keywords":101,"publishedAt":19},"01M78F622M7F4WW0H07FTQBFM1","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-fsx\u002FSKILL.md",[],[],{"skillNo":103,"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":104,"categories":105,"keywords":106,"publishedAt":19},"01M78F5VTFF0CCN3VNVVWJ5N33","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-cs\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M78F5PFP98A6RCB6TBB9RYTV","api2skill-creator","Interview the user about an OpenAPI\u002FSwagger API (including multi-spec, base URL, and authorization), assemble exact api2skill CLI commands, guide secrets.json setup, and migrate existing generated skills after api2skill upgrades (update \u002F regenerate \u002F merge). Prefer Plan mode for multi-spec interviews and migrations.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Fsrc\u002FApi2Skill\u002Ftemplates\u002Fapi2skill-creator\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M78F5J49PSFJFDC003BHGYQM","speckit-taskstoissues","Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspeckit-taskstoissues\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M78F5EH1C32843TGS23BGCSB","speckit-tasks","Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspeckit-tasks\u002FSKILL.md",[],[],{"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":19},"01M78F5C28NTMBTHBDG6XP3XH2","speckit-specify","Create or update the feature specification from a natural language feature description.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspeckit-specify\u002FSKILL.md",[],[]]