[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70FZ75HJFASBK0EBF5CPMQV":3,"skill-same:01M70FZ75HJFASBK0EBF5CPMQV":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M70FZ75HJFASBK0EBF5CPMQV","test-contract",null,"Verify API schemas and contracts match expected format. Validate request\u002Fresponse structures. Use when testing APIs, before integration, or after schema changes.","dhaupin\u002Fvant","dhaupin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6352930?v=4","01M70FR23MK9RWZMWEQCWXMJ5Y","01M70FR24ETCQQSC3TGH374C6A",16,"MIT","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-contract\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"test","test contract","contract","contracts","match","validate","integration","format","request","verify","changes","api","expected","when","use","schema","testing","2026-11-10 10:12:30",false,"---\nname: test-contract\ndescription: Verify API schemas and contracts match expected format. Validate request\u002Fresponse structures. Use when testing APIs, before integration, or after schema changes.\nlicense: MIT\nmetadata:\n  author: vant\n  version: \"1.0\"\n---\n\n# Test Contract\n\n> API schema validation.\n\n## When To Use\n\n- API testing\n- Before integration\n- After schema changes\n\n## What To Test\n\n### 1. Request Schema\n\n```javascript\nconst requestSchema = {\n  type: 'object',\n  required: ['email', 'password'],\n  properties: {\n    email: { type: 'string', format: 'email' },\n    password: { type: 'string', minLength: 8 }\n  }\n}\n```\n\n### 2. Response Schema\n\n```javascript\nconst responseSchema = {\n  type: 'object',\n  required: ['id', 'email'],\n  properties: {\n    id: { type: 'string' },\n    email: { type: 'string' }\n  }\n}\n```\n\n### 3. Validate\n\n```javascript\nconst Ajv = require('ajv')\nconst ajv = new Ajv()\nconst validate = ajv.compile(requestSchema)\nconst valid = validate(requestBody)\n```\n\n## Tools\n\n| Tool | Use |\n|------|-----|\n| ajv | JSON Schema validation |\n| json-schema-validator | Node validation |\n| Swagger\u002FOpenAPI | API spec validation |\n\n---\n\n## Output\n\n```\n## Contract Tests\n\n| Schema | Valid |\n|--------|-------|\n| Request | [PASS\u002FFAIL] |\n| Response | [PASS\u002FFAIL] |\n\n### Errors\n- [n] violations\n```\n\n**Role**: Contract Tester **Input**: Schema + Data **Output**: Validation results","# Test Contract\n\n> API schema validation.\n\n## When To Use\n\n- API testing\n- Before integration\n- After schema changes\n\n## What To Test\n\n### 1. Request Schema\n\n```javascript\nconst requestSchema = {\n  type: 'object',\n  required: ['email', 'password'],\n  properties: {\n    email: { type: 'string', format: 'email' },\n    password: { type: 'string', minLength: 8 }\n  }\n}\n```\n\n### 2. Response Schema\n\n```javascript\nconst responseSchema = {\n  type: 'object',\n  required: ['id', 'email'],\n  properties: {\n    id: { type: 'string' },\n    email: { type: 'string' }\n  }\n}\n```\n\n### 3. Validate\n\n```javascript\nconst Ajv = require('ajv')\nconst ajv = new Ajv()\nconst validate = ajv.compile(requestSchema)\nconst valid = validate(requestBody)\n```\n\n## Tools\n\n| Tool | Use |\n|------|-----|\n| ajv | JSON Schema validation |\n| json-schema-validator | Node validation |\n| Swagger\u002FOpenAPI | API spec validation |\n\n---\n\n## Output\n\n```\n## Contract Tests\n\n| Schema | Valid |\n|--------|-------|\n| Request | [PASS\u002FFAIL] |\n| Response | [PASS\u002FFAIL] |\n\n### Errors\n- [n] violations\n```\n\n**Role**: Contract Tester **Input**: Schema + Data **Output**: Validation results",{"name":5,"license":14,"metadata":40,"description":7},{"author":41,"version":42},"vant","1.0","main","8b503d1512c76e22a20a6ec9300fa670b37a79be","models\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-contract",1,"https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant","https:\u002F\u002Fvant.creadev.org","https:\u002F\u002Fgithub.com\u002Fdhaupin","https:\u002F\u002Fcreadev.org\u002F","Hi. I make web, app, ecom, enterprise, agent, and orchestration things. Let me know if I can help with your next project. 🤝 Part of the Creadev.org team.","2026-11-13 16:43:16",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add dhaupin\u002Fvant --skill test-contract",{"tool":59,"command":60},"bunx","bunx skills add dhaupin\u002Fvant --skill test-contract",{"tool":62,"command":63},"pnpm","pnpm dlx skills add dhaupin\u002Fvant --skill test-contract","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-contract\u002FSKILL.md",true,[],[68,77,88,96,115,137],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":35},"01M70G0NZMN2E0RPCAH59497C3","yaml","Data serialization.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-yaml\u002FSKILL.md",[],[70,75,76],"serialization","data",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":35},"01M70G0MV7JGRXJ60VZZ692ZTM","vite","Frontend build tool.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-vite\u002FSKILL.md",[],[79,84,85,86,87],"tool","build tool","build","frontend",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":35},"01M70G0HAFQC4K6N14B5CWPMQ2","typescript","Typed JavaScript.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-typescript\u002FSKILL.md",[],[90,95],"javascript",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":35},"01M70G0CH5E4PVJ62YBP7WKV44","test-unit","Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-unit\u002FSKILL.md",[],[103,18,104,31,105,106,107,108,109,32,110,111,112,113,114],"unit","test unit","error","commits","fixes","methods","edge","error handling","functions","bug","isolation","path",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":35},"01M70G08P5CPCX3B3RJFF9VJC2","test-snapshot","Capture and compare UI\u002Fcomponent snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-snapshot\u002FSKILL.md",[],[122,123,18,124,125,126,127,34,128,32,129,130,31,131,132,133,28,134,135,136],"test snapshot","snapshot","capture","ui","for","testing ui","design","design systems","snapshots","visual","compare","component","detect","rendering","systems",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":35},"01M70G03WAR8HYBH7R2AZJRPCZ","test-smoke","Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-smoke\u002FSKILL.md",[],[18,144,145,146,147,148,34,149,32,31,150,151,152,153,27,154],"test smoke","smoke","quick","deeper","basic","tests","check","sanity","verification","first","run"]