[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PQ9HKXK2N1N0FQBHVZNSZ1":3,"skill-same:01M6PQ9HKXK2N1N0FQBHVZNSZ1":82},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":14,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M6PQ9HKXK2N1N0FQBHVZNSZ1","mocha-skill",null,"Generates Mocha tests in JavaScript with Chai assertions and Sinon mocking. Use when user mentions \"Mocha\", \"Chai\", \"sinon\", \"describe\u002Fit (not Jest)\". Triggers on: \"Mocha\", \"Chai\", \"sinon\", \"mocha test\".","headmktlucca-ui\u002Fneuroads-lp","headmktlucca-ui","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F247379838?v=4","01M6PDVAV6M1W96D1SR1PDF8CS","NeuroAds","01M6PDVAZ4P281GNDKD45CYTF5",0,"MIT","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmocha-skill\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"mocha skill","mocha","unit","assertions","sinon mocking","chai assertions","with","unit-testing","mocking","it","testing","chai","triggers","tests","jest","use","user","test","javascript","typescript","2026-11-10 10:12:30",false,"---\nname: mocha-skill\ndescription: >\n  Generates Mocha tests in JavaScript with Chai assertions and Sinon mocking.\n  Use when user mentions \"Mocha\", \"Chai\", \"sinon\", \"describe\u002Fit (not Jest)\".\n  Triggers on: \"Mocha\", \"Chai\", \"sinon\", \"mocha test\".\nlanguages:\n  - JavaScript\n  - TypeScript\ncategory: unit-testing\nlicense: MIT\nmetadata:\n  author: TestMu AI\n  version: \"1.0\"\n---\n\n# Mocha Testing Skill\n\n## Core Patterns\n\n### Basic Test with Chai\n\n```javascript\nconst { expect } = require('chai');\n\ndescribe('Calculator', () => {\n  let calc;\n  beforeEach(() => { calc = new Calculator(); });\n\n  it('should add two numbers', () => {\n    expect(calc.add(2, 3)).to.equal(5);\n  });\n\n  it('should throw on divide by zero', () => {\n    expect(() => calc.divide(10, 0)).to.throw('Division by zero');\n  });\n});\n```\n\n### Chai Assertions\n\n```javascript\nexpect(value).to.equal(5);\nexpect(arr).to.have.lengthOf(3);\nexpect(obj).to.have.property('name');\nexpect(str).to.include('hello');\nexpect(fn).to.throw(Error);\nexpect(arr).to.deep.equal([1, 2, 3]);\nexpect(obj).to.deep.include({ name: 'Alice' });\n```\n\n### Sinon Mocking\n\n```javascript\nconst sinon = require('sinon');\n\ndescribe('UserService', () => {\n  let sandbox;\n  beforeEach(() => { sandbox = sinon.createSandbox(); });\n  afterEach(() => { sandbox.restore(); });\n\n  it('fetches user from API', async () => {\n    const stub = sandbox.stub(api, 'get').resolves({ name: 'Alice' });\n    const user = await userService.getUser(1);\n    expect(user.name).to.equal('Alice');\n    expect(stub.calledOnce).to.be.true;\n  });\n});\n```\n\n### Async Testing\n\n```javascript\nit('should fetch data', async () => {\n  const data = await fetchData();\n  expect(data).to.have.property('id');\n});\n\nit('callback style', (done) => {\n  fetchData((err, data) => {\n    expect(err).to.be.null;\n    done();\n  });\n});\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| Missing `done()` | Use async\u002Fawait | Hanging tests |\n| No sandbox | `sinon.createSandbox()` | Stubs leak |\n| Arrow in `describe` | Regular function for `this.timeout()` | Context |\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Run all | `npx mocha` |\n| Watch | `npx mocha --watch` |\n| Grep | `npx mocha --grep \"login\"` |\n| Timeout | `npx mocha --timeout 10000` |\n| Recursive | `npx mocha --recursive` |\n\n## Setup: `npm install mocha chai sinon --save-dev`\n\n## Deep Patterns → `reference\u002Fplaybook.md`\n\n| § | Section | Lines |\n|---|---------|-------|\n| 1 | Production Configuration | mocharc, NYC coverage, TypeScript |\n| 2 | Testing with Chai + Sinon | Stubs, spies, assertions |\n| 3 | Advanced Sinon Patterns | Fake timers, nock HTTP, sequential |\n| 4 | Async Patterns | Promise, await, callback, events |\n| 5 | Hooks & Test Organization | Lifecycle, nesting, grep tags |\n| 6 | Custom Reporters & Plugins | Reporter class, root hooks |\n| 7 | Express\u002FAPI Testing | Supertest integration |\n| 8 | CI\u002FCD Integration | GitHub Actions, services |\n| 9 | Debugging Quick-Reference | 10 common problems |\n| 10 | Best Practices Checklist | 13 items |\n","# Mocha Testing Skill\n\n## Core Patterns\n\n### Basic Test with Chai\n\n```javascript\nconst { expect } = require('chai');\n\ndescribe('Calculator', () => {\n  let calc;\n  beforeEach(() => { calc = new Calculator(); });\n\n  it('should add two numbers', () => {\n    expect(calc.add(2, 3)).to.equal(5);\n  });\n\n  it('should throw on divide by zero', () => {\n    expect(() => calc.divide(10, 0)).to.throw('Division by zero');\n  });\n});\n```\n\n### Chai Assertions\n\n```javascript\nexpect(value).to.equal(5);\nexpect(arr).to.have.lengthOf(3);\nexpect(obj).to.have.property('name');\nexpect(str).to.include('hello');\nexpect(fn).to.throw(Error);\nexpect(arr).to.deep.equal([1, 2, 3]);\nexpect(obj).to.deep.include({ name: 'Alice' });\n```\n\n### Sinon Mocking\n\n```javascript\nconst sinon = require('sinon');\n\ndescribe('UserService', () => {\n  let sandbox;\n  beforeEach(() => { sandbox = sinon.createSandbox(); });\n  afterEach(() => { sandbox.restore(); });\n\n  it('fetches user from API', async () => {\n    const stub = sandbox.stub(api, 'get').resolves({ name: 'Alice' });\n    const user = await userService.getUser(1);\n    expect(user.name).to.equal('Alice');\n    expect(stub.calledOnce).to.be.true;\n  });\n});\n```\n\n### Async Testing\n\n```javascript\nit('should fetch data', async () => {\n  const data = await fetchData();\n  expect(data).to.have.property('id');\n});\n\nit('callback style', (done) => {\n  fetchData((err, data) => {\n    expect(err).to.be.null;\n    done();\n  });\n});\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| Missing `done()` | Use async\u002Fawait | Hanging tests |\n| No sandbox | `sinon.createSandbox()` | Stubs leak |\n| Arrow in `describe` | Regular function for `this.timeout()` | Context |\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Run all | `npx mocha` |\n| Watch | `npx mocha --watch` |\n| Grep | `npx mocha --grep \"login\"` |\n| Timeout | `npx mocha --timeout 10000` |\n| Recursive | `npx mocha --recursive` |\n\n## Setup: `npm install mocha chai sinon --save-dev`\n\n## Deep Patterns → `reference\u002Fplaybook.md`\n\n| § | Section | Lines |\n|---|---------|-------|\n| 1 | Production Configuration | mocharc, NYC coverage, TypeScript |\n| 2 | Testing with Chai + Sinon | Stubs, spies, assertions |\n| 3 | Advanced Sinon Patterns | Fake timers, nock HTTP, sequential |\n| 4 | Async Patterns | Promise, await, callback, events |\n| 5 | Hooks & Test Organization | Lifecycle, nesting, grep tags |\n| 6 | Custom Reporters & Plugins | Reporter class, root hooks |\n| 7 | Express\u002FAPI Testing | Supertest integration |\n| 8 | CI\u002FCD Integration | GitHub Actions, services |\n| 9 | Debugging Quick-Reference | 10 common problems |\n| 10 | Best Practices Checklist | 13 items |\n",{"name":5,"license":15,"category":26,"metadata":44,"languages":47,"description":50},{"author":45,"version":46},"TestMu AI","1.0",[48,49],"JavaScript","TypeScript","Generates Mocha tests in JavaScript with Chai assertions and Sinon mocking. Use when user mentions \"Mocha\", \"Chai\", \"sinon\", \"describe\u002Fit (not Jest)\". Triggers on: \"Mocha\", \"Chai\", \"sinon\", \"mocha test\".\n","main","7a940b8e5af16c95e5c190a524421d32fc7445a9",".claude\u002Fskills\u002Fmocha-skill","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui","https:\u002F\u002Fneuroads.com.br","2026-08-12 00:42:44",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add headmktlucca-ui\u002Fneuroads-lp --skill mocha-skill",{"tool":64,"command":65},"bunx","bunx skills add headmktlucca-ui\u002Fneuroads-lp --skill mocha-skill",{"tool":67,"command":68},"pnpm","pnpm dlx skills add headmktlucca-ui\u002Fneuroads-lp --skill mocha-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmocha-skill\u002FSKILL.md",true,[72,78],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"reference\u002Fadvanced-patterns.md","REFERENCE","参考文档",5005,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmocha-skill\u002Freference\u002Fadvanced-patterns.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"reference\u002Fplaybook.md",11965,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmocha-skill\u002Freference\u002Fplaybook.md",[83,94,116,138,152,178],{"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":39},"01M6PTDCZTXTGSTX4RFK901YSZ","xunit-skill","Generates xUnit.net tests in C#. Covers Fact\u002FTheory, constructor injection, IClassFixture, and FluentAssertions. Use when user mentions \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal\", \"C# xUnit\". Triggers on: \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal C#\", \"xUnit.net\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxunit-skill\u002FSKILL.md",[],[90,91,29,92,35,34,32,31,21,26,93],"xunit","xunit skill","injection","C#",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6PTCB59ZTG5FTMWGPYEMMBP","xcuitest-skill","Generates XCUITest UI tests for iOS\u002FiPadOS apps in Swift. Apple's native testing framework for reliable, fast UI automation. Supports local simulators and TestMu AI cloud real devices. Use when user mentions \"XCUITest\", \"XCTest\", \"iOS UI test\", \"Swift test\", \"XCUIApplication\". Triggers on: \"XCUITest\", \"XCTest UI\", \"iOS UI test\", \"Swift UI test\", \"XCUIApplication\", \"TestMu\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxcuitest-skill\u002FSKILL.md",[],[101,102,29,103,36,104,105,106,34,107,108,109,110,111,32,31,112,113,114,115],"xcuitest","xcuitest skill","automation","testing framework","ios","devices","mobile","mobile-testing","ui test","local","apple","apps","native","for","objective",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":39},"01M6PTATMNTY9NF4J7KSR76YK6","world-builder","Create and manage generative game zones for Dorothy's Pokemon-style world. Use this skill when creating, updating, or designing game worlds via MCP tools.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fworld-builder\u002FSKILL.md",[],[123,124,125,126,127,128,129,130,34,131,132,133,134,135,136,114,137],"builder","world","world builder","MCP","create","mcp tools","Tools","game","pokemon","manage","style","via","theme","zone","generative",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":39},"01M6PT9Z92JTSQEHE1QR0NNW5F","webdriverio-skill","Generates WebdriverIO (WDIO) automation tests in JavaScript or TypeScript. Supports local and TestMu AI cloud. Use when user mentions \"WebdriverIO\", \"WDIO\", \"wdio.conf\", \"browser.url\", \"$\", \"$$\". Triggers on: \"WebdriverIO\", \"WDIO\", \"wdio\", \"browser.$\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwebdriverio-skill\u002FSKILL.md",[],[145,29,38,103,37,146,147,148,35,34,149,110,32,31,150,151],"webdriverio skill","browser","cloud","e2e","e2e-testing","URL","conf",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":39},"01M6PT9NVK36ZWCQ69YXK3FR4K","web-design-guidelines","Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fweb\u002FSKILL.md",[],[159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,31,177],"design","web","guidelines","web design guidelines","web design","css","performance","components","web components","tasks","code","web performance","ui","platform design","html","responsive design","responsive","platform","implementing",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":39},"01M6PT9A3JKRE3X34276F2FW5R","watchos-design-guidelines","Apple Human Interface Guidelines for Apple Watch. Use when building watchOS apps, complications, or workout features. Triggers on tasks involving Watch UI, Digital Crown, glanceable interfaces, or wrist-based interactions.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwatchos\u002FSKILL.md",[],[159,161,185,168,171,34,186,187,111,176,188,31,112,189,114,190,191],"watchos design guidelines","workout","human","watch","interface","platform-design","features"]