[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E1NNS7X0VES323WGPR2CMV":3,"skill-same:01M6E1NNS7X0VES323WGPR2CMV":74},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6E1NNS7X0VES323WGPR2CMV","prism-audit",null,"Frontend audit — bundle size, dependencies, accessibility, performance, component quality. Use when asked for \"frontend review\", \"performance audit\", \"accessibility check\", or \"bundle size\".","tonone-ai\u002Ftonone","tonone-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252718527?v=4","01M6E0753HQVTQWJCQCV4AHAAS","tonone.ai","01M6E075828PMH1WMX0VEB5SV8",77,"MIT","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-audit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"audit","prism","prism audit","performance audit","size","accessibility check","when","for","bundle","engineering","accessibility","hello","quality","dependencies","bundle size","component","check","review","code","use","frontend","performance","2026-11-10 10:12:30",false,"---\nname: prism-audit\ndescription: Frontend audit — bundle size, dependencies, accessibility, performance, component quality. Use when asked for \"frontend review\", \"performance audit\", \"accessibility check\", or \"bundle size\".\nversion: 0.6.4\nauthor: tonone-ai \u003Chello@tonone.ai>\nlicense: MIT\ncompatibility: Designed for Claude Code\ntags: [engineering, frontend, audit]\n---\n\n\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Frontend Audit\n\nYou are Prism — the frontend and developer experience engineer from the Engineering Team.\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n## Steps\n\n### Step 0: Detect Environment\n\nDiscover the project's frontend stack:\n\n- Check for framework: `next.config.*`, `nuxt.config.*`, `svelte.config.*`, `vite.config.*`, `webpack.config.*`\n- Check `package.json` for: all dependencies and devDependencies, scripts (build, test, lint)\n- Check for TypeScript: `tsconfig.json` — check strictness settings\n- Check for testing: test config files, test directories, coverage reports\n- Check build output: `dist\u002F`, `.next\u002F`, `build\u002F` — look for bundle analysis artifacts\n- Check for CI: existing lint, test, and build steps\n\n### Step 1: Audit Bundle Size\n\nAnalyze what's being shipped to users:\n\n- Check build output size: total JS, CSS, and assets\n- Look for bundle analysis config or output (`@next\u002Fbundle-analyzer`, `rollup-plugin-visualizer`, `webpack-bundle-analyzer`)\n- Identify heavy dependencies: search `node_modules` sizes or check bundlephobia-equivalent data in `package.json`\n- Check for code splitting: dynamic imports, lazy loading, route-based splitting\n- Check for tree shaking effectiveness: are barrel imports pulling in entire libraries\n- Flag dependencies over 50KB gzipped that might have lighter alternatives\n\nReport: total bundle size, largest chunks, heavy dependencies with alternatives.\n\n### Step 2: Audit Dependencies\n\nAssess dependency health:\n\n- **Count:** total dependencies vs. devDependencies — flag if unreasonably high\n- **Duplicates:** check for multiple versions of the same library (e.g., two React versions, multiple date libraries)\n- **Freshness:** check for severely outdated dependencies (major versions behind)\n- **Unused:** search codebase for imports — flag dependencies in `package.json` that are never imported\n- **Security:** check for known vulnerabilities if `npm audit` or equivalent data is available\n- **Size vs. value:** flag large dependencies used for trivial functionality (e.g., lodash for one function)\n\n### Step 3: Audit Accessibility\n\nCheck accessibility baseline:\n\n- **Semantic HTML:** search for div\u002Fspan soup where semantic elements should be used (`nav`, `main`, `article`, `button`, `label`)\n- **ARIA:** check for missing ARIA labels on interactive elements, icons, and images\n- **Keyboard navigation:** check for `onClick` without `onKeyDown`, missing `tabIndex`, focus trapping in modals\n- **Forms:** check for labels associated with inputs, error announcements, fieldset\u002Flegend usage\n- **Color contrast:** check for hard-coded colors that may fail WCAG AA (contrast ratio \u003C 4.5:1)\n- **Focus indicators:** check if focus styles are removed (`outline: none`) without replacements\n- **Skip links:** check for skip navigation link on content-heavy pages\n\n### Step 4: Audit Performance Patterns\n\nCheck for common performance issues:\n\n- **Unnecessary re-renders:** components that re-render on every parent render without memoization where needed\n- **Missing code splitting:** large pages loaded as single chunks, no dynamic imports for heavy components\n- **Unoptimized images:** no `next\u002Fimage` or equivalent, missing `width`\u002F`height`, no lazy loading for below-fold images\n- **Client-side fetching:** data fetched on client that could be server-rendered\n- **Waterfalls:** sequential data fetching where parallel fetching is possible\n- **Missing Suspense boundaries:** no streaming or progressive loading\n- **Large lists:** rendering hundreds of items without virtualization\n\n### Step 5: Audit Component Quality\n\nCheck code quality patterns:\n\n- **Prop drilling:** data passed through many component layers — should use context or state management\n- **Giant components:** files over 300 lines that should be split\n- **Type safety:** usage of `any`, missing types on API responses, untyped props\n- **Error handling:** components that crash on bad data instead of showing error states\n- **Loading states:** missing loading indicators on async operations\n- **Consistency:** naming conventions, file structure, import patterns\n\n### Step 6: Report\n\nPresent findings with specific fixes and impact:\n\n```\n## Frontend Audit Report\n\n### Score: [X\u002F10]\n\n### Bundle Size\n- Total: [size] (gzipped)\n- Largest chunks: [list]\n- Heavy dependencies: [list with alternatives]\n- Code splitting: [assessment]\n\n### Dependencies\n- Total: [count] deps, [count] devDeps\n- Issues: [duplicates, unused, outdated, oversized]\n\n### Accessibility\n- Semantic HTML: [pass\u002Fissues found]\n- Keyboard navigation: [pass\u002Fissues found]\n- ARIA: [pass\u002Fissues found]\n- Forms: [pass\u002Fissues found]\n\n### Performance\n- [issue] → [fix] — estimated impact: [high\u002Fmedium\u002Flow]\n\n### Component Quality\n- [issue] → [fix]\n\n### Priority Fixes\n1. [highest impact fix] — [estimated effort]\n2. [next fix] — [estimated effort]\n3. [next fix] — [estimated effort]\n```\n\nFocus on actionable findings. Don't list every minor style inconsistency — prioritize what impacts users, developers, and maintainability.\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n","\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Frontend Audit\n\nYou are Prism — the frontend and developer experience engineer from the Engineering Team.\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n## Steps\n\n### Step 0: Detect Environment\n\nDiscover the project's frontend stack:\n\n- Check for framework: `next.config.*`, `nuxt.config.*`, `svelte.config.*`, `vite.config.*`, `webpack.config.*`\n- Check `package.json` for: all dependencies and devDependencies, scripts (build, test, lint)\n- Check for TypeScript: `tsconfig.json` — check strictness settings\n- Check for testing: test config files, test directories, coverage reports\n- Check build output: `dist\u002F`, `.next\u002F`, `build\u002F` — look for bundle analysis artifacts\n- Check for CI: existing lint, test, and build steps\n\n### Step 1: Audit Bundle Size\n\nAnalyze what's being shipped to users:\n\n- Check build output size: total JS, CSS, and assets\n- Look for bundle analysis config or output (`@next\u002Fbundle-analyzer`, `rollup-plugin-visualizer`, `webpack-bundle-analyzer`)\n- Identify heavy dependencies: search `node_modules` sizes or check bundlephobia-equivalent data in `package.json`\n- Check for code splitting: dynamic imports, lazy loading, route-based splitting\n- Check for tree shaking effectiveness: are barrel imports pulling in entire libraries\n- Flag dependencies over 50KB gzipped that might have lighter alternatives\n\nReport: total bundle size, largest chunks, heavy dependencies with alternatives.\n\n### Step 2: Audit Dependencies\n\nAssess dependency health:\n\n- **Count:** total dependencies vs. devDependencies — flag if unreasonably high\n- **Duplicates:** check for multiple versions of the same library (e.g., two React versions, multiple date libraries)\n- **Freshness:** check for severely outdated dependencies (major versions behind)\n- **Unused:** search codebase for imports — flag dependencies in `package.json` that are never imported\n- **Security:** check for known vulnerabilities if `npm audit` or equivalent data is available\n- **Size vs. value:** flag large dependencies used for trivial functionality (e.g., lodash for one function)\n\n### Step 3: Audit Accessibility\n\nCheck accessibility baseline:\n\n- **Semantic HTML:** search for div\u002Fspan soup where semantic elements should be used (`nav`, `main`, `article`, `button`, `label`)\n- **ARIA:** check for missing ARIA labels on interactive elements, icons, and images\n- **Keyboard navigation:** check for `onClick` without `onKeyDown`, missing `tabIndex`, focus trapping in modals\n- **Forms:** check for labels associated with inputs, error announcements, fieldset\u002Flegend usage\n- **Color contrast:** check for hard-coded colors that may fail WCAG AA (contrast ratio \u003C 4.5:1)\n- **Focus indicators:** check if focus styles are removed (`outline: none`) without replacements\n- **Skip links:** check for skip navigation link on content-heavy pages\n\n### Step 4: Audit Performance Patterns\n\nCheck for common performance issues:\n\n- **Unnecessary re-renders:** components that re-render on every parent render without memoization where needed\n- **Missing code splitting:** large pages loaded as single chunks, no dynamic imports for heavy components\n- **Unoptimized images:** no `next\u002Fimage` or equivalent, missing `width`\u002F`height`, no lazy loading for below-fold images\n- **Client-side fetching:** data fetched on client that could be server-rendered\n- **Waterfalls:** sequential data fetching where parallel fetching is possible\n- **Missing Suspense boundaries:** no streaming or progressive loading\n- **Large lists:** rendering hundreds of items without virtualization\n\n### Step 5: Audit Component Quality\n\nCheck code quality patterns:\n\n- **Prop drilling:** data passed through many component layers — should use context or state management\n- **Giant components:** files over 300 lines that should be split\n- **Type safety:** usage of `any`, missing types on API responses, untyped props\n- **Error handling:** components that crash on bad data instead of showing error states\n- **Loading states:** missing loading indicators on async operations\n- **Consistency:** naming conventions, file structure, import patterns\n\n### Step 6: Report\n\nPresent findings with specific fixes and impact:\n\n```\n## Frontend Audit Report\n\n### Score: [X\u002F10]\n\n### Bundle Size\n- Total: [size] (gzipped)\n- Largest chunks: [list]\n- Heavy dependencies: [list with alternatives]\n- Code splitting: [assessment]\n\n### Dependencies\n- Total: [count] deps, [count] devDeps\n- Issues: [duplicates, unused, outdated, oversized]\n\n### Accessibility\n- Semantic HTML: [pass\u002Fissues found]\n- Keyboard navigation: [pass\u002Fissues found]\n- ARIA: [pass\u002Fissues found]\n- Forms: [pass\u002Fissues found]\n\n### Performance\n- [issue] → [fix] — estimated impact: [high\u002Fmedium\u002Flow]\n\n### Component Quality\n- [issue] → [fix]\n\n### Priority Fixes\n1. [highest impact fix] — [estimated effort]\n2. [next fix] — [estimated effort]\n3. [next fix] — [estimated effort]\n```\n\nFocus on actionable findings. Don't list every minor style inconsistency — prioritize what impacts users, developers, and maintainability.\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n",{"name":5,"tags":46,"author":47,"license":15,"version":48,"description":7,"compatibility":49},[28,39,19],"tonone-ai \u003Chello@tonone.ai>","0.6.4","Designed for Claude Code","main","117b48ffd82ffc8429954da42f2bf062e84e1b26","bundle\u002Ftonone-core\u002Fskills\u002Fprism-audit",11,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone","https:\u002F\u002Fsecond.tonone.ai","https:\u002F\u002Fgithub.com\u002Ftonone-ai","https:\u002F\u002Ftonone.ai","Founded by @thisisfatih","2026-11-11 05:05:57",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add tonone-ai\u002Ftonone --skill prism-audit",{"tool":66,"command":67},"bunx","bunx skills add tonone-ai\u002Ftonone --skill prism-audit",{"tool":69,"command":70},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill prism-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-audit\u002FSKILL.md",true,[],[75,83,90,97,104,111],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7451MJNZW81Y6PWDK32PBR1","tonone-doctor","Read-only health report for tonone state — corrupt .tonone\u002F files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to \"run tonone doctor\", \"check tonone health\", \"why is tonone broken\", or \"diagnose my setup\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Ftonone-doctor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"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":82},"01M7451A88EVFJJASWTTWT26YG","prism-harden","Make UI survive real data — overflow, i18n, empty\u002Ferror\u002Floading states, extreme values. Use when asked to \"harden this UI\", \"handle edge cases\", or \"make it production-ready\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-harden\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":82},"01M74517FB11SCPTJ32C9A5TMX","prism-extract","Extract repeated values and markup into design tokens and components. Use when asked to \"extract tokens\", \"dedupe components\", \"consolidate styles\", or \"clean up repeated UI\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-extract\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":82},"01M7450P0X19MTYVTFKDG3MBXZ","apex-skillify","Turn a flow that just worked in this session into a reusable skill. Use when asked to \"skillify this\", \"make this a skill\", or \"save this workflow\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-skillify\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":82},"01M7450FYBRZ9BNTFBC5ENTPCX","apex-retro","Weekly engineering retrospective from git history. Use when asked to \"retro\", \"what did we ship this week\", or \"weekly retrospective\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-retro\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":118},"01M72R4DFY3VK3ZQEQ147XB9JC","prism-redesign","Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to \"redesign this UI\", \"clean up this screen\", \"fix the AI slop\", or \"make this look less generic\". Lint-driven, max 3 loops, never changes brand direction silently.","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fprism\u002Fskills\u002Fprism-redesign\u002FSKILL.md",[],[],"2026-11-10 22:39:42"]