[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E25EDX7W2ABHHAH212WDFQ":3,"skill-same:01M7E25EDX7W2ABHHAH212WDFQ":69},{"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":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":68},"01M7E25EDX7W2ABHHAH212WDFQ","api-mock-generator",null,"Derive API mocks and contract tests from schemas or observed interfaces without inventing behavior.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fagent_skills\u002Fskills\u002Fmedia_and_utilities\u002Fapi-mock-generator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: api-mock-generator\ndescription: Derive API mocks and contract tests from schemas or observed interfaces without inventing behavior.\ncategory: media_and_utilities\naliases: [api, mock, test, contract, openapi, swagger]\ntriggers:\n  - Generate API mocks\n  - Create mock API\n  - API testing\n  - Mock endpoints\nkeywords: [api, mock, test, openapi, swagger, rest, contract]\nrequired_tools: [test-framework]\nrisk: low\nversion: 1.0.0\nsource: openclawskills.net\nenabled: true\nmetadata:\n  openclaw:\n    requires:\n      env: []\n      bins: []\n    primaryEnv: null\n---\n\n# API Mock & Contract Generator\n\n## Purpose\n\nGenerate API mocks and contract tests from OpenAPI schemas or observed interfaces.\nThe skill ensures mocks accurately reflect the API contract without inventing\nbehavior beyond the specification.\n\n## When to Use\n\n- Setting up local development environments\n- Writing contract tests\n- Mocking external APIs for testing\n- Generating API documentation examples\n\n## When NOT to Use\n\n- For production API implementations\n- When a real API is available and accessible\n- For security testing (use specialized tools)\n\n## Capabilities\n\n- OpenAPI\u002FSwagger schema parsing\n- JSON Schema to mock conversion\n- Request\u002Fresponse example generation\n- Contract test skeleton generation\n- Mock server configuration\n- Multi-format support (REST, GraphQL)\n- Header and authentication simulation\n\n## Inputs\n\n- `source` (required) â€” OpenAPI file, JSON Schema, or HAR file\n- `format` (optional) â€” mock-server, contract-tests, examples\n- `framework` (optional) â€” jest, pytest, etc.\n- `base_url` (optional) â€” for mock server\n\n## Workflow\n\n1. **Parse** â€” Load and analyze schema\n2. **Generate** â€” Create mocks from definitions\n3. **Validate** â€” Ensure mocks match schema\n4. **Package** â€” Generate config files and tests\n5. **Document** â€” Provide usage instructions\n\n## Tools\n\n- OpenAPI parsers\n- Mock server tools (Prism, Prism, Mockoon)\n- Test framework integration\n\n## Examples\n\n**User:** \"Generate mocks from this OpenAPI spec\"\n**Response:**\n```\nParsing openapi.yaml...\nFound 15 endpoints, 45 schemas\n\nGenerated:\n- mock-server.js (Prism mock server)\n- contracts.test.js (Jest contract tests)\n- examples.json (request\u002Fresponse examples)\n\nRun: npx prism mock openapi.yaml\n```\n\n## Safety\n\n- Never mock sensitive data\n- Clearly label generated code as mocks\n- Don't use mocks in place of real integration tests\n- Validate mocks against schema\n\n## Source\n\nAuto-generated from openclawskills.net description.\n\n## Pairs Well With\n\n- `testing` (integration with test suite)\n- `frontend-design` (frontend API development)\n- `db-inspector` (backend data structures)\n","# API Mock & Contract Generator\n\n## Purpose\n\nGenerate API mocks and contract tests from OpenAPI schemas or observed interfaces.\nThe skill ensures mocks accurately reflect the API contract without inventing\nbehavior beyond the specification.\n\n## When to Use\n\n- Setting up local development environments\n- Writing contract tests\n- Mocking external APIs for testing\n- Generating API documentation examples\n\n## When NOT to Use\n\n- For production API implementations\n- When a real API is available and accessible\n- For security testing (use specialized tools)\n\n## Capabilities\n\n- OpenAPI\u002FSwagger schema parsing\n- JSON Schema to mock conversion\n- Request\u002Fresponse example generation\n- Contract test skeleton generation\n- Mock server configuration\n- Multi-format support (REST, GraphQL)\n- Header and authentication simulation\n\n## Inputs\n\n- `source` (required) â€” OpenAPI file, JSON Schema, or HAR file\n- `format` (optional) â€” mock-server, contract-tests, examples\n- `framework` (optional) â€” jest, pytest, etc.\n- `base_url` (optional) â€” for mock server\n\n## Workflow\n\n1. **Parse** â€” Load and analyze schema\n2. **Generate** â€” Create mocks from definitions\n3. **Validate** â€” Ensure mocks match schema\n4. **Package** â€” Generate config files and tests\n5. **Document** â€” Provide usage instructions\n\n## Tools\n\n- OpenAPI parsers\n- Mock server tools (Prism, Prism, Mockoon)\n- Test framework integration\n\n## Examples\n\n**User:** \"Generate mocks from this OpenAPI spec\"\n**Response:**\n```\nParsing openapi.yaml...\nFound 15 endpoints, 45 schemas\n\nGenerated:\n- mock-server.js (Prism mock server)\n- contracts.test.js (Jest contract tests)\n- examples.json (request\u002Fresponse examples)\n\nRun: npx prism mock openapi.yaml\n```\n\n## Safety\n\n- Never mock sensitive data\n- Clearly label generated code as mocks\n- Don't use mocks in place of real integration tests\n- Validate mocks against schema\n\n## Source\n\nAuto-generated from openclawskills.net description.\n\n## Pairs Well With\n\n- `testing` (integration with test suite)\n- `frontend-design` (frontend API development)\n- `db-inspector` (backend data structures)\n",{"name":5,"risk":24,"source":25,"aliases":26,"enabled":33,"version":34,"category":35,"keywords":36,"metadata":38,"triggers":43,"description":7,"required_tools":48},"low","openclawskills.net",[27,28,29,30,31,32],"api","mock","test","contract","openapi","swagger",true,"1.0.0","media_and_utilities",[27,28,29,31,32,37,30],"rest",{"openclaw":39},{"requires":40,"primaryEnv":6},{"env":41,"bins":42},[],[],[44,45,46,47],"Generate API mocks","Create mock API","API testing","Mock endpoints",[49],"test-framework","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","agent_skills\u002Fskills\u002Fmedia_and_utilities\u002Fapi-mock-generator","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":33},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill api-mock-generator",{"tool":62,"command":63},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill api-mock-generator",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill api-mock-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fagent_skills\u002Fskills\u002Fmedia_and_utilities\u002Fapi-mock-generator\u002FSKILL.md",[],[70,78,85,92,99,106],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":77},"01M7EXRQF9GFM7D9BG6N5HAT34","oath","Auditing regulatory compliance (SOC2\u002FPCI-DSS\u002FHIPAA\u002FISO 27001): maps requirements, checks controls, designs audit trails, implements Policy as Code. Use when compliance auditing is needed.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdevsecops\u002Foath\u002FSKILL.md",[],[],"2026-11-15 14:25:24",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7EXRH7TYTNZJT0BQXEWAMW7","nexus","Orchestrating multi-specialist task chains and scope-adaptive product delivery: classifies intent, selects and executes the minimum viable chain, aggregates results, and verifies acceptance criteria. For multi-domain tasks, build-first delivery, and product lifecycle execution.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdevsecops\u002Fnexus\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7EXRCDPFWVEEEFR2ZQGJCYY","nest","Designing LLM-optimized folder structures: audits and restructures directories for context efficiency, progressive disclosure, and prompt cache performance. Not for general repo structure (Grove).","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdevsecops\u002Fnest\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7EXR7JEER60TH0HD0AH4EE9","native","Implementing production iOS\u002FAndroid\u002FmacOS native features (SwiftUI, Compose) and iterating a screen against a reference design. Not for cross-platform RN\u002FFlutter (Port) or web (Artisan).","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdevsecops\u002Fnative\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7EXR133J7DD5961R80QTRZY","muse","Defining and managing design tokens, applying token systems to existing codebases, building design system foundations. Use for spacing, color, typography, dark mode, cross-platform output.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdevsecops\u002Fmuse\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7EXQWWX7ECQN0J50B41YN5N","morph","Converting document formats (Markdown\u002FWord\u002FExcel\u002FPDF\u002FHTML) and generating reusable conversion scripts. Use for distributable specs, accessibility-compliant PDFs, or Pandoc\u002FLibreOffice pipelines.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fdevsecops\u002Fmorph\u002FSKILL.md",[],[]]