[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BX9QWNATVKD88BNQHVZ92A":3,"skill-same:01M6BX9QWNATVKD88BNQHVZ92A":84},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6BX9QWNATVKD88BNQHVZ92A","Testing Blocks",null,"Guide for testing code changes in AEM Edge Delivery projects including blocks, scripts, and styles. Use this skill after making code changes and before opening a pull request to validate functionality. Covers unit testing for utilities and logic, browser testing with Playwright\u002FPuppeteer, linting, performance validation, and guidance on which tests to maintain vs use as throwaway validation.","ddttom\u002Fallaboutv2","ddttom","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1929848?v=4","01M6BX6X3SP9HFP5NVP5148SG2","Tom Cranstoun","01M6BX6X8H7Y9RE377QF088DYG",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002FSKILL.md",[],[19,5,20,21,22,23,24,25,26,27,28,29,30,31,32],"testing","performance","playwright","validate","pull request","code","validation","browser","puppeteer","pull","browser testing","https","edge","projects","2026-11-10 10:12:30",false,"---\nname: Testing Blocks\ndescription: Guide for testing code changes in AEM Edge Delivery projects including blocks, scripts, and styles. Use this skill after making code changes and before opening a pull request to validate functionality. Covers unit testing for utilities and logic, browser testing with Playwright\u002FPuppeteer, linting, performance validation, and guidance on which tests to maintain vs use as throwaway validation.\n\nmx:\n  canonicalUri: https:\u002F\u002Fraw.githubusercontent.com\u002Fddttom\u002Fallaboutv2\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002FSKILL.md\n---\n\n# Testing Blocks\n\nThis skill guides you through testing code changes in AEM Edge Delivery Services projects. Testing follows a value-versus-cost philosophy: create and maintain tests when the value they bring exceeds the cost of creation and maintenance.\n\n## Related Skills\n\n- **content-driven-development**: Test content created during CDD serves as the basis for testing\n- **building-blocks**: This skill is automatically invoked after block implementation\n- **block-collection-and-party**: May provide reference test patterns from similar blocks\n\n## When to Use This Skill\n\nUse this skill:\n\n- ✅ After implementing or modifying blocks\n- ✅ After changes to core scripts (scripts.js, delayed.js, aem.js)\n- ✅ After style changes (styles.css, lazy-styles.css)\n- ✅ After configuration changes that affect functionality\n- ✅ Before opening any pull request with code changes\n\nThis skill should be automatically invoked by the **building-blocks** skill after implementation is complete.\n\n## Testing Philosophy: Value vs Cost\n\n**The Principle:** Create and maintain tests when the value they bring exceeds the cost of creation and maintenance.\n\n### Keeper Tests (High Value, Worth Maintaining)\n\n✅ **Write unit tests for:**\n\n- Logic-heavy utility functions used across multiple blocks\n- Data processing and transformation logic\n- API integrations and external service interactions\n- Complex algorithms or business logic\n- Shared libraries and helper functions\n\nThese tests provide lasting value because they catch regressions in reused code, serve as living documentation, and are fast and easy to maintain.\n\n### Throwaway Tests (Lower Value, Use Once)\n\n⚠️ **Use browser tests for:**\n\n- Block decoration logic (DOM transformations)\n- Specific DOM structures or UI layouts\n- Visual appearance validation\n- Block-specific rendering behavior\n\nThese tests are better done in a browser because DOM structures change frequently, visual validation requires human judgment, and maintaining UI tests is expensive relative to their value.\n\n**Important:** Even throwaway tests have value! Use them to:\n\n1. Validate your implementation works correctly\n2. Take screenshots to evaluate visual correctness\n3. Show screenshots to humans for feedback\n4. Include screenshots in PRs to aid review\n\n**Organization:** Keep throwaway tests in `test\u002Ftmp\u002F` and test content in `drafts\u002Ftmp\u002F`. Both directories should be gitignored so temporary test artifacts aren't committed.\n\n## Testing Checklist\n\nBefore opening a pull request, complete ALL of the following:\n\n- [ ] **Existing tests pass** - All keeper tests still pass with your changes\n- [ ] **Unit tests written** - New keeper tests for any logic-heavy utilities or data processing\n- [ ] **Browser validation** - Feature tested in local dev server, screenshots captured\n- [ ] **All variants tested** - Each variant\u002Fconfiguration of blocks validated\n- [ ] **Responsive behavior** - Tested on mobile, tablet, desktop viewports\n- [ ] **Linting passes** - `npm run lint` completes without errors\n- [ ] **Branch pushed** - Code committed and pushed to feature branch\n- [ ] **GitHub checks verified** - Use `gh checks` to confirm all CI checks pass\n\n## Testing Methods Overview\n\n### 1. Unit Tests (KEEPER TESTS)\n\n**When to use:** Logic-heavy functions, utilities, data processing, API integrations\n\n**Quick start:**\n\n```bash\n# Verify test setup (see resources\u002Fvitest-setup.md if not configured)\nnpm test\n\n# Write test for utility function\n# test\u002Futils\u002Fmy-utility.test.js\nimport { describe, it, expect } from 'vitest';\nimport { myUtility } from '..\u002F..\u002Fscripts\u002Futils\u002Fmy-utility.js';\n\ndescribe('myUtility', () => {\n  it('should transform input correctly', () => {\n    expect(myUtility('input')).toBe('OUTPUT');\n  });\n});\n\n# Run tests during development\nnpm run test:watch\n```\n\n**Detailed guide:** See `resources\u002Funit-testing.md`\n\n### 2. Browser Testing (THROWAWAY TESTS)\n\n**When to use:** Block decoration, visual validation, DOM structure, responsive design\n\n**Organization:**\n\n- Test scripts: `test\u002Ftmp\u002Ftest-{block}-browser.js`\n- Test content: `drafts\u002Ftmp\u002F{block}.html`\n- Screenshots: `test\u002Ftmp\u002Fscreenshots\u002F`\n- Both `test\u002Ftmp\u002F` and `drafts\u002Ftmp\u002F` should be gitignored\n\n**Quick start:**\n\n```bash\n# Install Playwright\nnpm install --save-dev playwright\nnpx playwright install chromium\n\n# Create test content\n# drafts\u002Ftmp\u002Fmy-block.html (copy head.html content, add test markup)\n\n# Start dev server with drafts folder\naem up --html-folder drafts\n\n# Create throwaway test script in test\u002Ftmp\u002F\n# test\u002Ftmp\u002Ftest-my-block.js\nimport { chromium } from 'playwright';\nimport { mkdir } from 'fs\u002Fpromises';\n\nasync function test() {\n  await mkdir('.\u002Ftest\u002Ftmp\u002Fscreenshots', { recursive: true });\n  const browser = await chromium.launch({ headless: false });\n  const page = await browser.newPage();\n\n  await page.goto('http:\u002F\u002Flocalhost:3000\u002Fdrafts\u002Ftmp\u002Fmy-block');\n  await page.waitForSelector('.my-block');\n  await page.screenshot({ \n    path: '.\u002Ftest\u002Ftmp\u002Fscreenshots\u002Fmy-block.png',\n    fullPage: true \n  });\n\n  await browser.close();\n}\n\ntest().catch(console.error);\n\n# Run the test\nnode test\u002Ftmp\u002Ftest-my-block.js\n\n# Clean up when done (optional - gitignored either way)\nrm -rf test\u002Ftmp\u002F*\n```\n\n**Detailed guide:** See `resources\u002Fbrowser-testing.md`\n\n### 3. Linting (ALWAYS)\n\n**When to use:** Before every commit\n\n**Quick start:**\n\n```bash\n# Run linting\nnpm run lint\n\n# Auto-fix issues\nnpm run lint:fix\n```\n\n**Linting MUST pass before opening a PR.** Non-negotiable.\n\n### 4. Performance Testing (AUTOMATED)\n\n**When to use:** After pushing branch, automatically via GitHub checks\n\n**Quick start:**\n\n```bash\n# Push branch\ngit push -u origin your-branch\n\n# Create PR with test link\n# PR description MUST include:\n# Preview: https:\u002F\u002Fbranch--repo--owner.aem.page\u002Fpath\u002Fto\u002Ftest\n\n# Monitor checks\ngh pr checks --watch\n```\n\nPerformance tests run automatically when you include a test link in your PR description.\n\n## Complete Workflow\n\nFor detailed step-by-step workflow, see `resources\u002Ftesting-workflow.md`.\n\n**Quick summary:**\n\n### During Development\n\n1. Write unit tests for new utilities\n2. Run `npm run test:watch`\n3. Manually test in browser\n\n### Before Committing\n\n1. Run `npm test` - all tests pass\n2. Run `npm run lint` - linting passes\n3. Write throwaway browser test in `test\u002Ftmp\u002F`\n4. Create test content in `drafts\u002Ftmp\u002F`\n5. Review screenshots from `test\u002Ftmp\u002Fscreenshots\u002F`\n6. Manual validation in browser\n\n### Before Opening PR\n\n1. Commit and push to feature branch (test\u002Ftmp\u002F won't be included)\n2. Verify branch preview loads\n3. Run `gh checks`\n4. Create PR with test link\n5. Monitor `gh pr checks`\n\n### After PR Review\n\n1. Address feedback\n2. Re-test\n3. Verify checks pass\n\n## Troubleshooting\n\nFor detailed troubleshooting guide, see `resources\u002Ftroubleshooting.md`.\n\n**Common issues:**\n\n### Tests fail\n\n- Read error message carefully\n- Run single test: `npm test -- path\u002Fto\u002Ftest.js`\n- Fix code or update test\n\n### Linting fails\n\n- Run `npm run lint:fix`\n- Manually fix remaining issues\n\n### GitHub checks fail\n\n- Ensure PR has test link\n- Check `gh pr checks` for details\n- Fix performance issues if PSI fails\n\n### Browser tests fail\n\n- Verify dev server running: `aem up --html-folder drafts`\n- Check test content exists in `drafts\u002Ftmp\u002F`\n- Verify URL uses `\u002Ftmp\u002F` path: `http:\u002F\u002Flocalhost:3000\u002Fdrafts\u002Ftmp\u002Fmy-block`\n- Add waits: `await page.waitForSelector('.block')`\n\n## Resources\n\n- **Unit Testing:** `resources\u002Funit-testing.md` - Complete guide to writing and maintaining unit tests\n- **Browser Testing:** `resources\u002Fbrowser-testing.md` - Playwright\u002FPuppeteer workflows and best practices\n- **Testing Workflow:** `resources\u002Ftesting-workflow.md` - Step-by-step workflow from dev to PR\n- **Troubleshooting:** `resources\u002Ftroubleshooting.md` - Solutions to common testing issues\n- **Vitest Setup:** `resources\u002Fvitest-setup.md` - One-time configuration guide\n\n## Integration with Building Blocks Skill\n\nThe **building-blocks** skill automatically invokes this skill after implementation.\n\n**Expected flow:**\n\n1. Building blocks completes implementation\n2. Invokes **testing-blocks** skill\n3. This skill guides testing process\n4. Returns control when testing complete\n\n**Building blocks provides:**\n\n- Block name being tested\n- Test content URL from CDD process\n- Any variants that need testing\n\n**This skill returns:**\n\n- Confirmation all tests pass\n- Screenshots from browser testing (if requested)\n- Any issues discovered during testing\n\n## Summary\n\nTesting in AEM Edge Delivery follows a pragmatic value-versus-cost approach:\n\n**Create keeper tests for:**\n\n- Logic-heavy utilities\n- Data processing and transformations\n- API integrations\n- Shared libraries\n\n**Use throwaway browser tests for:**\n\n- Block decoration validation\n- Visual appearance\n- DOM structure\n- Interactive behavior\n\n**Always do:**\n\n- Run linting before commits\n- Test manually in browser\n- Verify GitHub checks pass\n- Include test links in PRs\n\n**Remember:** The goal is confidence that your code works correctly, not achieving 100% test coverage. Write tests that provide value, and validate everything else in a browser.\n","# Testing Blocks\n\nThis skill guides you through testing code changes in AEM Edge Delivery Services projects. Testing follows a value-versus-cost philosophy: create and maintain tests when the value they bring exceeds the cost of creation and maintenance.\n\n## Related Skills\n\n- **content-driven-development**: Test content created during CDD serves as the basis for testing\n- **building-blocks**: This skill is automatically invoked after block implementation\n- **block-collection-and-party**: May provide reference test patterns from similar blocks\n\n## When to Use This Skill\n\nUse this skill:\n\n- ✅ After implementing or modifying blocks\n- ✅ After changes to core scripts (scripts.js, delayed.js, aem.js)\n- ✅ After style changes (styles.css, lazy-styles.css)\n- ✅ After configuration changes that affect functionality\n- ✅ Before opening any pull request with code changes\n\nThis skill should be automatically invoked by the **building-blocks** skill after implementation is complete.\n\n## Testing Philosophy: Value vs Cost\n\n**The Principle:** Create and maintain tests when the value they bring exceeds the cost of creation and maintenance.\n\n### Keeper Tests (High Value, Worth Maintaining)\n\n✅ **Write unit tests for:**\n\n- Logic-heavy utility functions used across multiple blocks\n- Data processing and transformation logic\n- API integrations and external service interactions\n- Complex algorithms or business logic\n- Shared libraries and helper functions\n\nThese tests provide lasting value because they catch regressions in reused code, serve as living documentation, and are fast and easy to maintain.\n\n### Throwaway Tests (Lower Value, Use Once)\n\n⚠️ **Use browser tests for:**\n\n- Block decoration logic (DOM transformations)\n- Specific DOM structures or UI layouts\n- Visual appearance validation\n- Block-specific rendering behavior\n\nThese tests are better done in a browser because DOM structures change frequently, visual validation requires human judgment, and maintaining UI tests is expensive relative to their value.\n\n**Important:** Even throwaway tests have value! Use them to:\n\n1. Validate your implementation works correctly\n2. Take screenshots to evaluate visual correctness\n3. Show screenshots to humans for feedback\n4. Include screenshots in PRs to aid review\n\n**Organization:** Keep throwaway tests in `test\u002Ftmp\u002F` and test content in `drafts\u002Ftmp\u002F`. Both directories should be gitignored so temporary test artifacts aren't committed.\n\n## Testing Checklist\n\nBefore opening a pull request, complete ALL of the following:\n\n- [ ] **Existing tests pass** - All keeper tests still pass with your changes\n- [ ] **Unit tests written** - New keeper tests for any logic-heavy utilities or data processing\n- [ ] **Browser validation** - Feature tested in local dev server, screenshots captured\n- [ ] **All variants tested** - Each variant\u002Fconfiguration of blocks validated\n- [ ] **Responsive behavior** - Tested on mobile, tablet, desktop viewports\n- [ ] **Linting passes** - `npm run lint` completes without errors\n- [ ] **Branch pushed** - Code committed and pushed to feature branch\n- [ ] **GitHub checks verified** - Use `gh checks` to confirm all CI checks pass\n\n## Testing Methods Overview\n\n### 1. Unit Tests (KEEPER TESTS)\n\n**When to use:** Logic-heavy functions, utilities, data processing, API integrations\n\n**Quick start:**\n\n```bash\n# Verify test setup (see resources\u002Fvitest-setup.md if not configured)\nnpm test\n\n# Write test for utility function\n# test\u002Futils\u002Fmy-utility.test.js\nimport { describe, it, expect } from 'vitest';\nimport { myUtility } from '..\u002F..\u002Fscripts\u002Futils\u002Fmy-utility.js';\n\ndescribe('myUtility', () => {\n  it('should transform input correctly', () => {\n    expect(myUtility('input')).toBe('OUTPUT');\n  });\n});\n\n# Run tests during development\nnpm run test:watch\n```\n\n**Detailed guide:** See `resources\u002Funit-testing.md`\n\n### 2. Browser Testing (THROWAWAY TESTS)\n\n**When to use:** Block decoration, visual validation, DOM structure, responsive design\n\n**Organization:**\n\n- Test scripts: `test\u002Ftmp\u002Ftest-{block}-browser.js`\n- Test content: `drafts\u002Ftmp\u002F{block}.html`\n- Screenshots: `test\u002Ftmp\u002Fscreenshots\u002F`\n- Both `test\u002Ftmp\u002F` and `drafts\u002Ftmp\u002F` should be gitignored\n\n**Quick start:**\n\n```bash\n# Install Playwright\nnpm install --save-dev playwright\nnpx playwright install chromium\n\n# Create test content\n# drafts\u002Ftmp\u002Fmy-block.html (copy head.html content, add test markup)\n\n# Start dev server with drafts folder\naem up --html-folder drafts\n\n# Create throwaway test script in test\u002Ftmp\u002F\n# test\u002Ftmp\u002Ftest-my-block.js\nimport { chromium } from 'playwright';\nimport { mkdir } from 'fs\u002Fpromises';\n\nasync function test() {\n  await mkdir('.\u002Ftest\u002Ftmp\u002Fscreenshots', { recursive: true });\n  const browser = await chromium.launch({ headless: false });\n  const page = await browser.newPage();\n\n  await page.goto('http:\u002F\u002Flocalhost:3000\u002Fdrafts\u002Ftmp\u002Fmy-block');\n  await page.waitForSelector('.my-block');\n  await page.screenshot({ \n    path: '.\u002Ftest\u002Ftmp\u002Fscreenshots\u002Fmy-block.png',\n    fullPage: true \n  });\n\n  await browser.close();\n}\n\ntest().catch(console.error);\n\n# Run the test\nnode test\u002Ftmp\u002Ftest-my-block.js\n\n# Clean up when done (optional - gitignored either way)\nrm -rf test\u002Ftmp\u002F*\n```\n\n**Detailed guide:** See `resources\u002Fbrowser-testing.md`\n\n### 3. Linting (ALWAYS)\n\n**When to use:** Before every commit\n\n**Quick start:**\n\n```bash\n# Run linting\nnpm run lint\n\n# Auto-fix issues\nnpm run lint:fix\n```\n\n**Linting MUST pass before opening a PR.** Non-negotiable.\n\n### 4. Performance Testing (AUTOMATED)\n\n**When to use:** After pushing branch, automatically via GitHub checks\n\n**Quick start:**\n\n```bash\n# Push branch\ngit push -u origin your-branch\n\n# Create PR with test link\n# PR description MUST include:\n# Preview: https:\u002F\u002Fbranch--repo--owner.aem.page\u002Fpath\u002Fto\u002Ftest\n\n# Monitor checks\ngh pr checks --watch\n```\n\nPerformance tests run automatically when you include a test link in your PR description.\n\n## Complete Workflow\n\nFor detailed step-by-step workflow, see `resources\u002Ftesting-workflow.md`.\n\n**Quick summary:**\n\n### During Development\n\n1. Write unit tests for new utilities\n2. Run `npm run test:watch`\n3. Manually test in browser\n\n### Before Committing\n\n1. Run `npm test` - all tests pass\n2. Run `npm run lint` - linting passes\n3. Write throwaway browser test in `test\u002Ftmp\u002F`\n4. Create test content in `drafts\u002Ftmp\u002F`\n5. Review screenshots from `test\u002Ftmp\u002Fscreenshots\u002F`\n6. Manual validation in browser\n\n### Before Opening PR\n\n1. Commit and push to feature branch (test\u002Ftmp\u002F won't be included)\n2. Verify branch preview loads\n3. Run `gh checks`\n4. Create PR with test link\n5. Monitor `gh pr checks`\n\n### After PR Review\n\n1. Address feedback\n2. Re-test\n3. Verify checks pass\n\n## Troubleshooting\n\nFor detailed troubleshooting guide, see `resources\u002Ftroubleshooting.md`.\n\n**Common issues:**\n\n### Tests fail\n\n- Read error message carefully\n- Run single test: `npm test -- path\u002Fto\u002Ftest.js`\n- Fix code or update test\n\n### Linting fails\n\n- Run `npm run lint:fix`\n- Manually fix remaining issues\n\n### GitHub checks fail\n\n- Ensure PR has test link\n- Check `gh pr checks` for details\n- Fix performance issues if PSI fails\n\n### Browser tests fail\n\n- Verify dev server running: `aem up --html-folder drafts`\n- Check test content exists in `drafts\u002Ftmp\u002F`\n- Verify URL uses `\u002Ftmp\u002F` path: `http:\u002F\u002Flocalhost:3000\u002Fdrafts\u002Ftmp\u002Fmy-block`\n- Add waits: `await page.waitForSelector('.block')`\n\n## Resources\n\n- **Unit Testing:** `resources\u002Funit-testing.md` - Complete guide to writing and maintaining unit tests\n- **Browser Testing:** `resources\u002Fbrowser-testing.md` - Playwright\u002FPuppeteer workflows and best practices\n- **Testing Workflow:** `resources\u002Ftesting-workflow.md` - Step-by-step workflow from dev to PR\n- **Troubleshooting:** `resources\u002Ftroubleshooting.md` - Solutions to common testing issues\n- **Vitest Setup:** `resources\u002Fvitest-setup.md` - One-time configuration guide\n\n## Integration with Building Blocks Skill\n\nThe **building-blocks** skill automatically invokes this skill after implementation.\n\n**Expected flow:**\n\n1. Building blocks completes implementation\n2. Invokes **testing-blocks** skill\n3. This skill guides testing process\n4. Returns control when testing complete\n\n**Building blocks provides:**\n\n- Block name being tested\n- Test content URL from CDD process\n- Any variants that need testing\n\n**This skill returns:**\n\n- Confirmation all tests pass\n- Screenshots from browser testing (if requested)\n- Any issues discovered during testing\n\n## Summary\n\nTesting in AEM Edge Delivery follows a pragmatic value-versus-cost approach:\n\n**Create keeper tests for:**\n\n- Logic-heavy utilities\n- Data processing and transformations\n- API integrations\n- Shared libraries\n\n**Use throwaway browser tests for:**\n\n- Block decoration validation\n- Visual appearance\n- DOM structure\n- Interactive behavior\n\n**Always do:**\n\n- Run linting before commits\n- Test manually in browser\n- Verify GitHub checks pass\n- Include test links in PRs\n\n**Remember:** The goal is confidence that your code works correctly, not achieving 100% test coverage. Write tests that provide value, and validate everything else in a browser.\n",{"mx":38,"name":5,"description":7},{"canonicalUri":39},"https:\u002F\u002Fraw.githubusercontent.com\u002Fddttom\u002Fallaboutv2\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002FSKILL.md","main","94cac13323e3a1686d255ad6a4455bc0d2272b8c",".claude\u002Fskills\u002Ftesting-blocks",0,"https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2","https:\u002F\u002Fgithub.com\u002Fddttom","Independent Technology Consultant at DIGITAL DOMAIN TECHNOLOGIES LIMITED","2026-11-14 16:27:17",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add ddttom\u002Fallaboutv2 --skill \"Testing Blocks\"",{"tool":54,"command":55},"bunx","bunx skills add ddttom\u002Fallaboutv2 --skill \"Testing Blocks\"",{"tool":57,"command":58},"pnpm","pnpm dlx skills add ddttom\u002Fallaboutv2 --skill \"Testing Blocks\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002FSKILL.md",true,[62,68,72,76,80],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"resources\u002Fbrowser-testing.md","REFERENCE","参考文档",9129,"https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002Fresources\u002Fbrowser-testing.md",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"resources\u002Ftesting-workflow.md",6729,"https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002Fresources\u002Ftesting-workflow.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"resources\u002Ftroubleshooting.md",8830,"https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002Fresources\u002Ftroubleshooting.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"resources\u002Funit-testing.md",7885,"https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002Fresources\u002Funit-testing.md",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"resources\u002Fvitest-setup.md",4407,"https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting-blocks\u002Fresources\u002Fvitest-setup.md",[85,103,118,127,152,176],{"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":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":33},"01M6BX9XTV2PTCX7CC2DS4NC9N","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[93,19,94,95,21,96,97,98,26,99,100,101,102],"webapp testing","frontend","screenshots","web","debugging","toolkit","license","ui","logs","applications",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":33},"01M6BX9V12H31MGZ0YYXZJ6R05","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftheme-factory\u002FSKILL.md",[],[111,112,113,98,114,115,99,116,117],"theme factory","fly","docs","generate","artifacts","SET","slides",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":33},"01M6BX9PFJ1F4QSAXHGVPB4MB0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftemplate-skill\u002FSKILL.md",[],[125,126,30],"template","template skill",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":146,"publishedAt":33},"01M6BX9K7A0AJM3RQJ70G3XNX9","slack-gif-creator","Slack 动图 GIF 制作","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","用于创建针对 Slack 优化的动图 GIF 的工具包，包含大小限制校验器和可组合的动画原语。当用户请求制作 Slack 用的动图 GIF 或表情动画时适用，例如“帮我做一个 X 做 Y 的 Slack GIF”。","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fslack-gif-creator\u002FSKILL.md",[136,141],{"categoryNo":137,"categoryName":138,"taxonomyType":139,"taxonomyTypeDesc":140},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者","PROFESSION","适用职业",{"categoryNo":142,"categoryName":143,"taxonomyType":144,"taxonomyTypeDesc":145},"01M8C8DBWTZ7VT76QWWE5JQN8D","动图 GIF 制作","SCENARIO","使用场景",[147,148,149,150,98,99,151],"slack","slack gif creator","Animation","composable","constraints",{"skillNo":153,"name":154,"nameZh":155,"description":156,"descriptionZh":157,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":166,"publishedAt":33},"01M6BX9G4PJA81VK9ZNQENT3B2","skill-developer","Claude Code 技能开发与管理","Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.","遵循 Anthropic 最佳实践创建和管理 Claude Code 技能。在创建新技能、修改 skill-rules.json、理解触发模式、使用 hooks、调试技能激活，或实现渐进式披露时使用。涵盖技能结构、YAML frontmatter、触发类型（关键词、意图模式、文件路径、内容模式）、强制级别（block、suggest、warn）、hook 机制（UserPromptSubmit、PreToolUse）、会话跟踪以及 500 行规则。","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-developer\u002FSKILL.md",[160,163],{"categoryNo":161,"categoryName":162,"taxonomyType":144,"taxonomyTypeDesc":145},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":164,"categoryName":165,"taxonomyType":139,"taxonomyTypeDesc":140},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[167,168,24,169,97,170,171,172,30,173,174,175],"skill developer","developer","claude code skills","create","best practices","content","file","yaml","json",{"skillNo":177,"name":178,"nameZh":179,"description":180,"descriptionZh":181,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":182,"sourceHtmlUrl":183,"categories":184,"keywords":187,"publishedAt":33},"01M6BX9DXE674Q8B9DFKTW7XAT","skill-creator","Claude 技能创建指南","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","创建高效技能的指南。当用户想要创建新技能（或更新现有技能），以通过专业知识、工作流或工具集成扩展 Claude 的能力时使用。","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fddttom\u002Fallaboutv2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-creator\u002FSKILL.md",[185,186],{"categoryNo":161,"categoryName":162,"taxonomyType":144,"taxonomyTypeDesc":145},{"categoryNo":164,"categoryName":165,"taxonomyType":139,"taxonomyTypeDesc":140},[188,189,170,190,191,99,192,193],"skill creator","workflows","update","capabilities","knowledge","tool"]