[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BV0F3J2QT3ZFV94BTDW84B":3,"skill-same:01M7BV0F3J2QT3ZFV94BTDW84B":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BV0F3J2QT3ZFV94BTDW84B","a11y-debugging",null,"Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.","nguyenhungtran18\u002Fskill-and-tool-tracker","nguyenhungtran18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F297063550?v=4","01M7BV0BFPRRFP84F2ME0FYZ9D","01M7BV0BG83FA5P22NJV0GR0A5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fa11y-debugging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: a11y-debugging\ndescription: Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.\n---\n\n## Core Concepts\n\n**Accessibility Tree vs DOM**: Visually hiding an element (e.g., `CSS opacity: 0`) behaves differently for screen readers than `display: none` or `aria-hidden=\"true\"`. The `take_snapshot` tool returns the accessibility tree of the page, which represents what assistive technologies \"see\", making it the most reliable source of truth for semantic structure.\n\n**Reading web.dev documentation**: If you need to research specific accessibility guidelines (like `https:\u002F\u002Fweb.dev\u002Farticles\u002Faccessible-tap-targets`), you can append `.md.txt` to the URL (e.g., `https:\u002F\u002Fweb.dev\u002Farticles\u002Faccessible-tap-targets.md.txt`) to fetch the clean, raw markdown version. This is much easier to read!\n\n## Workflow Patterns\n\n### 1. Automated Audit (Lighthouse)\n\nStart by running a Lighthouse accessibility audit to get a comprehensive baseline. This tool provides a high-level score and lists specific failing elements with remediation advice.\n\n1.  Run the audit:\n    - Set `mode` to `\"navigation\"` to refresh the page and capture load issues.\n    - Set `outputDirPath` (e.g., `\u002Ftmp\u002Flh-report`) to save the full JSON report.\n2.  **Analyze the Summary**:\n    - Check `scores` (0-1 scale). A score \u003C 1 indicates violations.\n    - Review `audits.failed` count.\n3.  **Review the Report (CRITICAL)**:\n    - **Parsing**: Do not read the entire file line-by-line. Use a CLI tool like `jq` or a Node.js one-liner to filter for failures:\n      ```bash\n      # Extract failing audits with their details\n      node -e \"const r=require('.\u002Freport.json'); Object.values(r.audits).filter(a=>a.score!==null && a.score\u003C1).forEach(a=>console.log(JSON.stringify({id:a.id, title:a.title, items:a.details?.items})))\"\n      ```\n    - This efficiently extracts the `selector` and `snippet` of failing elements without loading the full report into context.\n\n### 2. Browser Issues & Audits\n\nChrome automatically checks for common accessibility problems. Use `list_console_messages` to check for these native audits:\n\n- `types`: `[\"issue\"]`\n- `includePreservedMessages`: `true` (to catch issues that occurred during page load)\n\nThis often reveals missing labels, invalid ARIA attributes, and other critical errors without manual investigation.\n\n### 3. Semantics & Structure\n\nThe accessibility tree exposes the heading hierarchy and semantic landmarks.\n\n1.  Navigate to the page.\n2.  Use `take_snapshot` to capture the accessibility tree.\n3.  **Check Heading Levels**: Ensure heading levels (`h1`, `h2`, `h3`, etc.) are logical and do not skip levels. The snapshot will include heading roles.\n4.  **Content Reordering**: Verify that the DOM order (which drives the accessibility tree) matches the visual reading order. Use `take_screenshot` to inspect the visual layout and compare it against the snapshot structure to catch CSS floats or absolute positioning that jumbles the logical flow.\n\n### 4. Labels, Forms & Text Alternatives\n\n1.  Locate buttons, inputs, and images in the `take_snapshot` output.\n2.  Ensure interactive elements have an accessible name (e.g., a button should not just say `\"\"` if it only contains an icon).\n3.  **Orphaned Inputs**: Verify that all form inputs have associated labels. Use `evaluate_script` with the **\"Find Orphaned Form Inputs\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n4.  Check images for `alt` text.\n\n### 5. Focus & Keyboard Navigation\n\nTesting \"keyboard traps\" and proper focus management without visual feedback relies on tracking the focused element.\n\n1.  Use the `press_key` tool with `\"Tab\"` or `\"Shift+Tab\"` to move focus.\n2.  Use `take_snapshot` to capture the updated accessibility tree.\n3.  Locate the element marked as focused in the snapshot to verify focus moved to the expected interactive element.\n4.  If a modal opens, focus must move into the modal and \"trap\" within it until closed.\n\n### 6. Tap Targets and Visuals\n\nAccording to web.dev, tap targets should be at least 48x48 pixels with sufficient spacing. Since the accessibility tree doesn't show sizes, use `evaluate_script` with the **\"Measure Tap Target Size\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n\n_Pass the element's `uid` from the snapshot as an argument to `evaluate_script`._\n\n### 7. Color Contrast\n\nTo verify color contrast ratios, start by checking for native accessibility issues:\n\n1.  Call `list_console_messages` with `types: [\"issue\"]`.\n2.  Look for \"Low Contrast\" issues in the output.\n\nIf native audits do not report issues (which may happen in some headless environments) or if you need to check a specific element manually, use `evaluate_script` with the **\"Check Color Contrast\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n\n### 8. Global Page Checks\n\nVerify document-level accessibility settings often missed in component testing using the **\"Global Page Checks\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n\n## Troubleshooting\n\nIf standard a11y queries fail or the `evaluate_script` snippets return unexpected results:\n\n- **Visual Inspection**: If automated scripts cannot determine contrast (e.g., text over gradient images or complex backgrounds), use `take_screenshot` to capture the element. While models cannot measure exact contrast ratios from images, they can visually assess legibility and identify obvious issues.\n","## Core Concepts\n\n**Accessibility Tree vs DOM**: Visually hiding an element (e.g., `CSS opacity: 0`) behaves differently for screen readers than `display: none` or `aria-hidden=\"true\"`. The `take_snapshot` tool returns the accessibility tree of the page, which represents what assistive technologies \"see\", making it the most reliable source of truth for semantic structure.\n\n**Reading web.dev documentation**: If you need to research specific accessibility guidelines (like `https:\u002F\u002Fweb.dev\u002Farticles\u002Faccessible-tap-targets`), you can append `.md.txt` to the URL (e.g., `https:\u002F\u002Fweb.dev\u002Farticles\u002Faccessible-tap-targets.md.txt`) to fetch the clean, raw markdown version. This is much easier to read!\n\n## Workflow Patterns\n\n### 1. Automated Audit (Lighthouse)\n\nStart by running a Lighthouse accessibility audit to get a comprehensive baseline. This tool provides a high-level score and lists specific failing elements with remediation advice.\n\n1.  Run the audit:\n    - Set `mode` to `\"navigation\"` to refresh the page and capture load issues.\n    - Set `outputDirPath` (e.g., `\u002Ftmp\u002Flh-report`) to save the full JSON report.\n2.  **Analyze the Summary**:\n    - Check `scores` (0-1 scale). A score \u003C 1 indicates violations.\n    - Review `audits.failed` count.\n3.  **Review the Report (CRITICAL)**:\n    - **Parsing**: Do not read the entire file line-by-line. Use a CLI tool like `jq` or a Node.js one-liner to filter for failures:\n      ```bash\n      # Extract failing audits with their details\n      node -e \"const r=require('.\u002Freport.json'); Object.values(r.audits).filter(a=>a.score!==null && a.score\u003C1).forEach(a=>console.log(JSON.stringify({id:a.id, title:a.title, items:a.details?.items})))\"\n      ```\n    - This efficiently extracts the `selector` and `snippet` of failing elements without loading the full report into context.\n\n### 2. Browser Issues & Audits\n\nChrome automatically checks for common accessibility problems. Use `list_console_messages` to check for these native audits:\n\n- `types`: `[\"issue\"]`\n- `includePreservedMessages`: `true` (to catch issues that occurred during page load)\n\nThis often reveals missing labels, invalid ARIA attributes, and other critical errors without manual investigation.\n\n### 3. Semantics & Structure\n\nThe accessibility tree exposes the heading hierarchy and semantic landmarks.\n\n1.  Navigate to the page.\n2.  Use `take_snapshot` to capture the accessibility tree.\n3.  **Check Heading Levels**: Ensure heading levels (`h1`, `h2`, `h3`, etc.) are logical and do not skip levels. The snapshot will include heading roles.\n4.  **Content Reordering**: Verify that the DOM order (which drives the accessibility tree) matches the visual reading order. Use `take_screenshot` to inspect the visual layout and compare it against the snapshot structure to catch CSS floats or absolute positioning that jumbles the logical flow.\n\n### 4. Labels, Forms & Text Alternatives\n\n1.  Locate buttons, inputs, and images in the `take_snapshot` output.\n2.  Ensure interactive elements have an accessible name (e.g., a button should not just say `\"\"` if it only contains an icon).\n3.  **Orphaned Inputs**: Verify that all form inputs have associated labels. Use `evaluate_script` with the **\"Find Orphaned Form Inputs\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n4.  Check images for `alt` text.\n\n### 5. Focus & Keyboard Navigation\n\nTesting \"keyboard traps\" and proper focus management without visual feedback relies on tracking the focused element.\n\n1.  Use the `press_key` tool with `\"Tab\"` or `\"Shift+Tab\"` to move focus.\n2.  Use `take_snapshot` to capture the updated accessibility tree.\n3.  Locate the element marked as focused in the snapshot to verify focus moved to the expected interactive element.\n4.  If a modal opens, focus must move into the modal and \"trap\" within it until closed.\n\n### 6. Tap Targets and Visuals\n\nAccording to web.dev, tap targets should be at least 48x48 pixels with sufficient spacing. Since the accessibility tree doesn't show sizes, use `evaluate_script` with the **\"Measure Tap Target Size\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n\n_Pass the element's `uid` from the snapshot as an argument to `evaluate_script`._\n\n### 7. Color Contrast\n\nTo verify color contrast ratios, start by checking for native accessibility issues:\n\n1.  Call `list_console_messages` with `types: [\"issue\"]`.\n2.  Look for \"Low Contrast\" issues in the output.\n\nIf native audits do not report issues (which may happen in some headless environments) or if you need to check a specific element manually, use `evaluate_script` with the **\"Check Color Contrast\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n\n### 8. Global Page Checks\n\nVerify document-level accessibility settings often missed in component testing using the **\"Global Page Checks\" snippet** found in [references\u002Fa11y-snippets.md](references\u002Fa11y-snippets.md).\n\n## Troubleshooting\n\nIf standard a11y queries fail or the `evaluate_script` snippets return unexpected results:\n\n- **Visual Inspection**: If automated scripts cannot determine contrast (e.g., text over gradient images or complex backgrounds), use `take_screenshot` to capture the element. While models cannot measure exact contrast ratios from images, they can visually assess legibility and identify obvious issues.\n",{"name":5,"description":7},"main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Fa11y-debugging",0,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker","https:\u002F\u002Fnguyenhungtran18.github.io\u002Fskill-and-tool-tracker\u002F","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18","2026-08-31 18:36:09",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill a11y-debugging",{"tool":37,"command":38},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill a11y-debugging",{"tool":40,"command":41},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill a11y-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fa11y-debugging\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fa11y-snippets.md","REFERENCE","参考文档",2788,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fa11y-debugging\u002Freferences\u002Fa11y-snippets.md",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7BVP4P83TK60JZ4P8RP9VP7","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fxcode_project_setup\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7BVP01K4CSJJ8G90FT8S2D5","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7BVNY22GXD871GYTSH599F1","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7BVNQWF24RNKA8A4KM2HJ3T","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7BVNNY67XPCQAQHY3FBKDGC","verify-and-stop","Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverify-and-stop\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7BVNKB4Z7SZT85B73ZZ90Y6","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[]]