@kensaurus/skills 0.0.0-stage → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/.claude-plugin/marketplace.json +53 -0
  2. package/.claude-plugin/plugin.json +40 -0
  3. package/.cursor-plugin/plugin.json +38 -0
  4. package/.mcp.json +28 -0
  5. package/CHANGELOG.md +1761 -0
  6. package/LICENSE +21 -0
  7. package/NOTICE +13 -0
  8. package/README.md +820 -2
  9. package/SECURITY.md +55 -0
  10. package/agents/code-reviewer.md +60 -0
  11. package/agents/completion-judge.md +89 -0
  12. package/agents/db-migrator.md +125 -0
  13. package/agents/debugger.md +47 -0
  14. package/agents/deploy-checker.md +100 -0
  15. package/agents/perf-monitor.md +74 -0
  16. package/assets/favicon.png +0 -0
  17. package/assets/logo-light.png +0 -0
  18. package/assets/logo.png +0 -0
  19. package/assets/logo.svg +6 -0
  20. package/assets/og.png +0 -0
  21. package/bin/install.mjs +1127 -0
  22. package/bin/kenji.js +2 -0
  23. package/commands/adr.md +17 -0
  24. package/commands/aeo-plan.md +18 -0
  25. package/commands/arch-boundaries.md +17 -0
  26. package/commands/aso-plan.md +18 -0
  27. package/commands/auth-flows.md +19 -0
  28. package/commands/backup-plan.md +17 -0
  29. package/commands/burndown-full.md +25 -0
  30. package/commands/capacitor-plan.md +18 -0
  31. package/commands/codemod-safety.md +22 -0
  32. package/commands/commit.md +18 -0
  33. package/commands/complete-everything.md +40 -0
  34. package/commands/cost-plan.md +19 -0
  35. package/commands/deadcode-plan.md +26 -0
  36. package/commands/deadcode.md +32 -0
  37. package/commands/debug-issue.md +17 -0
  38. package/commands/deps-plan.md +18 -0
  39. package/commands/docs-plan.md +17 -0
  40. package/commands/doctrine.md +19 -0
  41. package/commands/error-plan.md +19 -0
  42. package/commands/feedback-to-closure.md +36 -0
  43. package/commands/fix-issue.md +76 -0
  44. package/commands/gate-logic.md +26 -0
  45. package/commands/green-repo.md +36 -0
  46. package/commands/grill-me.md +19 -0
  47. package/commands/gtm-plan.md +21 -0
  48. package/commands/gtm-weekly.md +17 -0
  49. package/commands/gtm.md +22 -0
  50. package/commands/handoff.md +15 -0
  51. package/commands/housekeep-backlog.md +18 -0
  52. package/commands/housekeep-files.md +22 -0
  53. package/commands/housekeep-gates.md +18 -0
  54. package/commands/instant-nav.md +11 -0
  55. package/commands/integrity-plan.md +19 -0
  56. package/commands/launch-kit.md +16 -0
  57. package/commands/mcp-guide.md +40 -0
  58. package/commands/mobile-plan.md +19 -0
  59. package/commands/native-rn-monorepo/README.md +78 -0
  60. package/commands/native-rn-monorepo/android-build.md +26 -0
  61. package/commands/native-rn-monorepo/android-install.md +32 -0
  62. package/commands/native-rn-monorepo/android-logcat.md +37 -0
  63. package/commands/native-rn-monorepo/ios-ci-logs.md +56 -0
  64. package/commands/native-rn-monorepo/ios-ci-status.md +52 -0
  65. package/commands/native-rn-monorepo/ios-ci-trigger.md +59 -0
  66. package/commands/native-rn-monorepo/rn-reset.md +50 -0
  67. package/commands/native-rn-monorepo/rn-ship-ios.md +67 -0
  68. package/commands/native-rn-monorepo/rn-verify.md +53 -0
  69. package/commands/perf-plan.md +18 -0
  70. package/commands/plan-mode.md +74 -0
  71. package/commands/pr.md +16 -0
  72. package/commands/pricing-plan.md +20 -0
  73. package/commands/privacy-plan.md +18 -0
  74. package/commands/readability.md +12 -0
  75. package/commands/readme.md +15 -0
  76. package/commands/refactor.md +15 -0
  77. package/commands/release-prep.md +17 -0
  78. package/commands/research.md +25 -0
  79. package/commands/responsive-audit.md +21 -0
  80. package/commands/review-code.md +18 -0
  81. package/commands/rls-plan.md +18 -0
  82. package/commands/secrets-plan.md +18 -0
  83. package/commands/security-plan.md +19 -0
  84. package/commands/ship-and-observe.md +36 -0
  85. package/commands/skill-conflicts.md +19 -0
  86. package/commands/slop-plan.md +18 -0
  87. package/commands/stub-plan.md +18 -0
  88. package/commands/test-mutation.md +16 -0
  89. package/commands/test-plan.md +17 -0
  90. package/commands/test.md +29 -0
  91. package/commands/thirdparty-web-interface-guidelines.md +185 -0
  92. package/commands/uiux-plan.md +18 -0
  93. package/commands/uiux.md +45 -0
  94. package/commands/update-deps.md +21 -0
  95. package/commands/validation-plan.md +19 -0
  96. package/commands-portable/fix-issue.md +72 -0
  97. package/commands-portable/plan-mode.md +92 -0
  98. package/commands-portable/research.md +91 -0
  99. package/docs/screenshots/README.md +5 -0
  100. package/docs/screenshots/audit-dark.png +0 -0
  101. package/docs/screenshots/build-dark.png +0 -0
  102. package/docs/screenshots/grill-dark.png +0 -0
  103. package/docs/screenshots/hero-dark.png +0 -0
  104. package/docs/screenshots/hero-light.png +0 -0
  105. package/docs/screenshots/ship-dark.png +0 -0
  106. package/docs/screenshots/src/showcase.html +320 -0
  107. package/hooks/completion-gate.mjs +258 -0
  108. package/hooks/cursor-hooks.json +13 -0
  109. package/hooks/hooks.json +15 -0
  110. package/install.sh +21 -0
  111. package/llms.txt +40 -0
  112. package/mcp/README.md +266 -0
  113. package/mcp/VERSIONS.md +41 -0
  114. package/mcp/mcp-full.json.template +124 -0
  115. package/mcp/mcp.json.template +29 -0
  116. package/mcp/pinned-versions.json +27 -0
  117. package/package.json +93 -4
  118. package/rules/approved-plan-execution.mdc +65 -0
  119. package/rules/full-stack-ship-discipline.mdc +37 -0
  120. package/rules/native-rn-monorepo/README.md +63 -0
  121. package/rules/native-rn-monorepo/_project.mdc +69 -0
  122. package/rules/native-rn-monorepo/native-android.mdc +72 -0
  123. package/rules/native-rn-monorepo/native-ios.mdc +61 -0
  124. package/rules/native-rn-monorepo/react-native-js.mdc +78 -0
  125. package/rules/native-rn-monorepo/web.mdc +60 -0
  126. package/rules/project-starter/components.mdc +54 -0
  127. package/rules/project-starter/data-fetching.mdc +77 -0
  128. package/rules/project-starter/git.mdc +41 -0
  129. package/rules/project-starter/supabase.mdc +37 -0
  130. package/rules/project-starter/tailwind.mdc +48 -0
  131. package/rules/project-starter/typescript.mdc +36 -0
  132. package/rules/project-starter/web-performance.mdc +42 -0
  133. package/rules/senior-engineer.mdc +30 -0
  134. package/rules/shell-first-search.mdc +19 -0
  135. package/rules/skill-workflows.mdc +35 -0
  136. package/rules/verification-before-completion.mdc +57 -0
  137. package/skills/audit-accessibility/SKILL.md +441 -0
  138. package/skills/audit-agent-speed/SKILL.md +181 -0
  139. package/skills/audit-agent-speed/scripts/stop-typecheck.mjs +151 -0
  140. package/skills/audit-analytics/SKILL.md +138 -0
  141. package/skills/audit-auth-flows/SKILL.md +267 -0
  142. package/skills/audit-backend-architecture/SKILL.md +266 -0
  143. package/skills/audit-backend-architecture/references/patterns.md +386 -0
  144. package/skills/audit-bundle-size/SKILL.md +296 -0
  145. package/skills/audit-cicd/SKILL.md +218 -0
  146. package/skills/audit-code-quality/SKILL.md +314 -0
  147. package/skills/audit-code-review/SKILL.md +289 -0
  148. package/skills/audit-codemod-safety/SKILL.md +159 -0
  149. package/skills/audit-db-schema/SKILL.md +465 -0
  150. package/skills/audit-db-schema/references/details.md +110 -0
  151. package/skills/audit-doctrine/SKILL.md +189 -0
  152. package/skills/audit-env-parity/SKILL.md +133 -0
  153. package/skills/audit-fe-api/SKILL.md +458 -0
  154. package/skills/audit-gate-logic/SKILL.md +219 -0
  155. package/skills/audit-i18n/SKILL.md +339 -0
  156. package/skills/audit-infra-cost/SKILL.md +142 -0
  157. package/skills/audit-langfuse-llm/SKILL.md +468 -0
  158. package/skills/audit-langfuse-llm/references/details.md +226 -0
  159. package/skills/audit-llm-security/SKILL.md +147 -0
  160. package/skills/audit-monetization-iap/SKILL.md +137 -0
  161. package/skills/audit-payment-system/SKILL.md +268 -0
  162. package/skills/audit-payment-system/references/checklist.md +283 -0
  163. package/skills/audit-performance/SKILL.md +383 -0
  164. package/skills/audit-performance/references/loading-priority-2026.md +81 -0
  165. package/skills/audit-realworld/SKILL.md +287 -0
  166. package/skills/audit-registry-listing/SKILL.md +122 -0
  167. package/skills/audit-resilience/SKILL.md +154 -0
  168. package/skills/audit-responsive/SKILL.md +221 -0
  169. package/skills/audit-responsive/references/checklist.md +166 -0
  170. package/skills/audit-security/SKILL.md +289 -0
  171. package/skills/audit-skill-conflicts/SKILL.md +178 -0
  172. package/skills/audit-ui-states/SKILL.md +146 -0
  173. package/skills/audit-uiux-design-system/SKILL.md +475 -0
  174. package/skills/audit-uiux-design-system/references/details.md +71 -0
  175. package/skills/audit-ux/SKILL.md +379 -0
  176. package/skills/audit-ux/references/details.md +245 -0
  177. package/skills/audit-ux-journeys/SKILL.md +215 -0
  178. package/skills/audit-ux-journeys/references/checklist.md +179 -0
  179. package/skills/backend-db-performance/SKILL.md +441 -0
  180. package/skills/backend-error-handling/SKILL.md +489 -0
  181. package/skills/backend-error-handling/references/details.md +58 -0
  182. package/skills/backend-observability/SKILL.md +88 -0
  183. package/skills/backend-patterns/SKILL.md +499 -0
  184. package/skills/backend-patterns/references/architecture-patterns.md +298 -0
  185. package/skills/backend-realtime/SKILL.md +403 -0
  186. package/skills/backend-realtime/references/patterns.md +74 -0
  187. package/skills/burndown-full/SKILL.md +174 -0
  188. package/skills/complete-everything/SKILL.md +295 -0
  189. package/skills/data-pipeline/SKILL.md +109 -0
  190. package/skills/data-visualization/SKILL.md +488 -0
  191. package/skills/debug-error/SKILL.md +322 -0
  192. package/skills/debug-fe-be-integration/SKILL.md +459 -0
  193. package/skills/debug-sentry-monitor/SKILL.md +497 -0
  194. package/skills/debug-sentry-monitor/references/details.md +165 -0
  195. package/skills/deploy-npm/SKILL.md +394 -0
  196. package/skills/deploy-npm/references/example-mushi-mushi.md +52 -0
  197. package/skills/deploy-verify/SKILL.md +489 -0
  198. package/skills/design-api/SKILL.md +379 -0
  199. package/skills/design-canvas/SKILL.md +155 -0
  200. package/skills/design-email/SKILL.md +370 -0
  201. package/skills/design-frontend/SKILL.md +143 -0
  202. package/skills/design-generative-art/SKILL.md +474 -0
  203. package/skills/design-mobile-first/SKILL.md +506 -0
  204. package/skills/design-motion/SKILL.md +333 -0
  205. package/skills/design-motion/references/delight-interactions.md +191 -0
  206. package/skills/design-prd/SKILL.md +443 -0
  207. package/skills/design-system/SKILL.md +457 -0
  208. package/skills/design-theme/SKILL.md +226 -0
  209. package/skills/design-theme/themes/tsumagoi-ranch.md +150 -0
  210. package/skills/docs-adr/SKILL.md +168 -0
  211. package/skills/docs-coauthor/SKILL.md +368 -0
  212. package/skills/docs-comparison-pages/SKILL.md +117 -0
  213. package/skills/docs-domain-modeling/SKILL.md +97 -0
  214. package/skills/docs-launch-kit/SKILL.md +139 -0
  215. package/skills/docs-writer/SKILL.md +469 -0
  216. package/skills/enhance-agent-guardrails/SKILL.md +164 -0
  217. package/skills/enhance-arch-boundaries/SKILL.md +154 -0
  218. package/skills/enhance-capacitor-ui/SKILL.md +463 -0
  219. package/skills/enhance-capacitor-ui/references/details.md +750 -0
  220. package/skills/enhance-email-deliverability/SKILL.md +143 -0
  221. package/skills/enhance-growth-loops/SKILL.md +122 -0
  222. package/skills/enhance-lifecycle-email/SKILL.md +130 -0
  223. package/skills/enhance-motion/SKILL.md +193 -0
  224. package/skills/enhance-onboarding/SKILL.md +148 -0
  225. package/skills/enhance-pwa/SKILL.md +304 -0
  226. package/skills/enhance-readability/SKILL.md +146 -0
  227. package/skills/enhance-readme/SKILL.md +496 -0
  228. package/skills/enhance-readme/package-lock.json +187 -0
  229. package/skills/enhance-readme/package.json +17 -0
  230. package/skills/enhance-readme/scripts/generate-readme-blocks.mjs +199 -0
  231. package/skills/enhance-readme/scripts/record-readme-tour.mjs +442 -0
  232. package/skills/enhance-skill-prompts/SKILL.md +167 -0
  233. package/skills/enhance-skill-prompts/references/exemplar-audit-auth-flows.md +311 -0
  234. package/skills/enhance-web-conversion/SKILL.md +155 -0
  235. package/skills/enhance-web-forms/SKILL.md +154 -0
  236. package/skills/enhance-web-instant-nav/SKILL.md +138 -0
  237. package/skills/enhance-web-instant-nav/references/bfcache-blockers.md +23 -0
  238. package/skills/enhance-web-instant-nav/references/early-hints.md +33 -0
  239. package/skills/enhance-web-instant-nav/references/speculation-rules.md +44 -0
  240. package/skills/enhance-web-landing/SKILL.md +459 -0
  241. package/skills/enhance-web-landing/references/details.md +773 -0
  242. package/skills/enhance-web-redesign/SKILL.md +228 -0
  243. package/skills/enhance-web-seo/SKILL.md +276 -0
  244. package/skills/enhance-web-ui/SKILL.md +473 -0
  245. package/skills/enhance-web-ui/references/details.md +674 -0
  246. package/skills/enhance-web-ux/HEURISTICS.md +242 -0
  247. package/skills/enhance-web-ux/PATTERNS.md +375 -0
  248. package/skills/enhance-web-ux/SKILL.md +464 -0
  249. package/skills/enhance-web-ux/examples.md +222 -0
  250. package/skills/enhance-web-ux/references/details.md +406 -0
  251. package/skills/enhance-web-web3d/SKILL.md +397 -0
  252. package/skills/enhance-web-web3d/references/css-canvas-effects.md +180 -0
  253. package/skills/handoff/SKILL.md +66 -0
  254. package/skills/housekeep-backlog/SKILL.md +149 -0
  255. package/skills/housekeep-dead-code/SKILL.md +387 -0
  256. package/skills/housekeep-dead-code/references/ratchet-ci.md +205 -0
  257. package/skills/housekeep-dead-code/references/supabase-hygiene.md +152 -0
  258. package/skills/housekeep-design/SKILL.md +207 -0
  259. package/skills/housekeep-files/SKILL.md +220 -0
  260. package/skills/housekeep-files/references/naming-and-catalog.md +86 -0
  261. package/skills/housekeep-files/scripts/housekeep-files.ps1 +360 -0
  262. package/skills/housekeep-files/scripts/housekeep-files.sh +238 -0
  263. package/skills/housekeep-gates/SKILL.md +174 -0
  264. package/skills/iterate-agent-harness/SKILL.md +137 -0
  265. package/skills/iterate-gtm-weekly/SKILL.md +103 -0
  266. package/skills/iterate-post-launch/SKILL.md +292 -0
  267. package/skills/meta-mcp-builder/SKILL.md +313 -0
  268. package/skills/meta-skill-creator/SKILL.md +304 -0
  269. package/skills/mobile-capacitor-platform/SKILL.md +104 -0
  270. package/skills/mobile-emulator-start/SKILL.md +296 -0
  271. package/skills/mobile-emulator-test/SKILL.md +491 -0
  272. package/skills/mobile-emulator-test/references/details.md +478 -0
  273. package/skills/mobile-rn-performance/SKILL.md +107 -0
  274. package/skills/mobile-rn-screen/SKILL.md +476 -0
  275. package/skills/mobile-rn-screen/references/details.md +785 -0
  276. package/skills/mushi-health/SKILL.md +206 -0
  277. package/skills/mushi-integration/SKILL.md +257 -0
  278. package/skills/plan-aeo-readiness/SKILL.md +166 -0
  279. package/skills/plan-antislop/SKILL.md +281 -0
  280. package/skills/plan-aso/SKILL.md +149 -0
  281. package/skills/plan-backup-dr/SKILL.md +131 -0
  282. package/skills/plan-capacitor-hardening/SKILL.md +217 -0
  283. package/skills/plan-data-integrity/SKILL.md +187 -0
  284. package/skills/plan-dead-code/SKILL.md +386 -0
  285. package/skills/plan-dead-code/references/knip-config.md +214 -0
  286. package/skills/plan-dead-code/references/output-templates.md +133 -0
  287. package/skills/plan-dead-code/references/preservation-contract.md +50 -0
  288. package/skills/plan-dead-code/references/residue-greps.md +84 -0
  289. package/skills/plan-dependency-provenance/SKILL.md +200 -0
  290. package/skills/plan-docs-sync/SKILL.md +143 -0
  291. package/skills/plan-docs-sync/references/drift-taxonomy.md +43 -0
  292. package/skills/plan-docs-sync/references/output-templates.md +33 -0
  293. package/skills/plan-docs-sync/references/preservation-contract.md +17 -0
  294. package/skills/plan-error-handling/SKILL.md +205 -0
  295. package/skills/plan-gtm/SKILL.md +276 -0
  296. package/skills/plan-gtm/references/benchmarks-2026.md +183 -0
  297. package/skills/plan-input-validation/SKILL.md +179 -0
  298. package/skills/plan-llm-cost-guardrails/SKILL.md +176 -0
  299. package/skills/plan-mobile-readiness/SKILL.md +171 -0
  300. package/skills/plan-perf-audit/SKILL.md +145 -0
  301. package/skills/plan-perf-audit/references/audit-scope.md +51 -0
  302. package/skills/plan-perf-audit/references/output-templates.md +33 -0
  303. package/skills/plan-perf-audit/references/preservation-contract.md +13 -0
  304. package/skills/plan-pricing/SKILL.md +173 -0
  305. package/skills/plan-privacy-compliance/SKILL.md +148 -0
  306. package/skills/plan-rls-audit/SKILL.md +231 -0
  307. package/skills/plan-secrets-audit/SKILL.md +181 -0
  308. package/skills/plan-security-audit/SKILL.md +168 -0
  309. package/skills/plan-security-audit/references/output-templates.md +36 -0
  310. package/skills/plan-security-audit/references/owasp-supabase-scope.md +55 -0
  311. package/skills/plan-security-audit/references/preservation-contract.md +18 -0
  312. package/skills/plan-stub-checker/SKILL.md +216 -0
  313. package/skills/plan-stub-checker/references/detection-methodology.md +75 -0
  314. package/skills/plan-stub-checker/references/detection-taxonomy.md +34 -0
  315. package/skills/plan-stub-checker/references/output-templates.md +63 -0
  316. package/skills/plan-stub-checker/references/preservation-contract.md +24 -0
  317. package/skills/plan-test-coverage/SKILL.md +170 -0
  318. package/skills/plan-test-coverage/references/methodology.md +54 -0
  319. package/skills/plan-test-coverage/references/output-templates.md +34 -0
  320. package/skills/plan-test-coverage/references/preservation-contract.md +15 -0
  321. package/skills/plan-uiux-unification/SKILL.md +230 -0
  322. package/skills/plan-uiux-unification/references/output-templates.md +67 -0
  323. package/skills/plan-uiux-unification/references/phase-workbook.md +85 -0
  324. package/skills/plan-uiux-unification/references/preservation-contract.md +24 -0
  325. package/skills/protocol-browser-anti-stall/SKILL.md +211 -0
  326. package/skills/protocol-browser-anti-stall/references/mcp-to-cli-map.md +113 -0
  327. package/skills/protocol-browser-anti-stall/references/playwright-session-coordination.md +170 -0
  328. package/skills/research/SKILL.md +422 -0
  329. package/skills/test-exploratory/SKILL.md +165 -0
  330. package/skills/test-exploratory/references/charter-template.md +29 -0
  331. package/skills/test-load/SKILL.md +126 -0
  332. package/skills/test-mutation/SKILL.md +160 -0
  333. package/skills/test-playwright/SKILL.md +354 -0
  334. package/skills/test-qa/SKILL.md +364 -0
  335. package/skills/test-qa/references/details.md +268 -0
  336. package/skills/test-red-team/SKILL.md +387 -0
  337. package/skills/test-red-team/references/owasp-attack-checklist.md +193 -0
  338. package/skills/test-unit/SKILL.md +259 -0
  339. package/skills/test-unit/references/details.md +267 -0
  340. package/skills/test-visual-regression/SKILL.md +132 -0
  341. package/skills/thirdparty-emil-design-eng/ATTRIBUTION.md +20 -0
  342. package/skills/thirdparty-emil-design-eng/SKILL.md +21 -0
  343. package/skills/thirdparty-emil-design-eng/references/emil-design-eng.md +676 -0
  344. package/skills/thirdparty-ui-ux-pro-max/ATTRIBUTION.md +22 -0
  345. package/skills/thirdparty-ui-ux-pro-max/SKILL.md +304 -0
  346. package/skills/thirdparty-ui-ux-pro-max/data/charts.csv +26 -0
  347. package/skills/thirdparty-ui-ux-pro-max/data/colors.csv +97 -0
  348. package/skills/thirdparty-ui-ux-pro-max/data/icons.csv +101 -0
  349. package/skills/thirdparty-ui-ux-pro-max/data/landing.csv +31 -0
  350. package/skills/thirdparty-ui-ux-pro-max/data/products.csv +97 -0
  351. package/skills/thirdparty-ui-ux-pro-max/data/react-performance.csv +45 -0
  352. package/skills/thirdparty-ui-ux-pro-max/data/stacks/astro.csv +54 -0
  353. package/skills/thirdparty-ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  354. package/skills/thirdparty-ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  355. package/skills/thirdparty-ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  356. package/skills/thirdparty-ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  357. package/skills/thirdparty-ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  358. package/skills/thirdparty-ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  359. package/skills/thirdparty-ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  360. package/skills/thirdparty-ui-ux-pro-max/data/stacks/react.csv +54 -0
  361. package/skills/thirdparty-ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  362. package/skills/thirdparty-ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  363. package/skills/thirdparty-ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  364. package/skills/thirdparty-ui-ux-pro-max/data/stacks/vue.csv +50 -0
  365. package/skills/thirdparty-ui-ux-pro-max/data/styles.csv +68 -0
  366. package/skills/thirdparty-ui-ux-pro-max/data/typography.csv +58 -0
  367. package/skills/thirdparty-ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  368. package/skills/thirdparty-ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  369. package/skills/thirdparty-ui-ux-pro-max/data/web-interface.csv +31 -0
  370. package/skills/thirdparty-ui-ux-pro-max/scripts/core.py +253 -0
  371. package/skills/thirdparty-ui-ux-pro-max/scripts/design_system.py +1067 -0
  372. package/skills/thirdparty-ui-ux-pro-max/scripts/search.py +114 -0
  373. package/skills/thirdparty-web-interface-guidelines/ATTRIBUTION.md +23 -0
  374. package/skills/thirdparty-web-interface-guidelines/SKILL.md +190 -0
  375. package/skills/workflow-build-feature/SKILL.md +118 -0
  376. package/skills/workflow-coding-discipline/SKILL.md +140 -0
  377. package/skills/workflow-environment-ready/SKILL.md +128 -0
  378. package/skills/workflow-feature-flag/SKILL.md +262 -0
  379. package/skills/workflow-feedback-to-closure/SKILL.md +165 -0
  380. package/skills/workflow-fix-and-ship/SKILL.md +136 -0
  381. package/skills/workflow-git-commit/SKILL.md +200 -0
  382. package/skills/workflow-green-repo/SKILL.md +166 -0
  383. package/skills/workflow-grilling/SKILL.md +73 -0
  384. package/skills/workflow-gtm/SKILL.md +153 -0
  385. package/skills/workflow-housekeep/SKILL.md +453 -0
  386. package/skills/workflow-housekeep/references/templates.md +109 -0
  387. package/skills/workflow-launch-ready/SKILL.md +145 -0
  388. package/skills/workflow-merge-conflicts/SKILL.md +62 -0
  389. package/skills/workflow-onboard/SKILL.md +99 -0
  390. package/skills/workflow-parallel-agents/SKILL.md +164 -0
  391. package/skills/workflow-pr/SKILL.md +197 -0
  392. package/skills/workflow-quality-gate/SKILL.md +147 -0
  393. package/skills/workflow-refactor/SKILL.md +274 -0
  394. package/skills/workflow-release-prep/SKILL.md +207 -0
  395. package/skills/workflow-ship-and-observe/SKILL.md +164 -0
  396. package/skills/workflow-spec-tdd/SKILL.md +141 -0
  397. package/skills/workflow-spec-tdd/references/spec-template.md +126 -0
  398. package/skills/workflow-spec-tdd/references/tdd-patterns.md +167 -0
  399. package/skills-cursor/babysit/SKILL.md +17 -0
  400. package/skills-cursor/canvas/SKILL.md +142 -0
  401. package/skills-cursor/canvas/sdk/canvas-tokens.d.ts +235 -0
  402. package/skills-cursor/canvas/sdk/chart-primitives.d.ts +200 -0
  403. package/skills-cursor/canvas/sdk/dag-layout.d.ts +102 -0
  404. package/skills-cursor/canvas/sdk/diff-view.d.ts +130 -0
  405. package/skills-cursor/canvas/sdk/form-primitives.d.ts +194 -0
  406. package/skills-cursor/canvas/sdk/hooks.d.ts +117 -0
  407. package/skills-cursor/canvas/sdk/index.d.ts +47 -0
  408. package/skills-cursor/canvas/sdk/theme.d.ts +61 -0
  409. package/skills-cursor/canvas/sdk/todo-list.d.ts +49 -0
  410. package/skills-cursor/canvas/sdk/ui-primitives.d.ts +549 -0
  411. package/skills-cursor/canvas/sdk/ui-primitives.test.d.ts +2 -0
  412. package/skills-cursor/create-hook/SKILL.md +238 -0
  413. package/skills-cursor/create-rule/SKILL.md +185 -0
  414. package/skills-cursor/create-skill/SKILL.md +269 -0
  415. package/skills-cursor/create-skill/references/authoring-guide.md +182 -0
  416. package/skills-cursor/create-subagent/SKILL.md +228 -0
  417. package/skills-cursor/migrate-to-skills/SKILL.md +121 -0
  418. package/skills-cursor/shell/SKILL.md +22 -0
  419. package/skills-cursor/split-to-prs/SKILL.md +47 -0
  420. package/skills-cursor/statusline/SKILL.md +193 -0
  421. package/skills-cursor/update-cli-config/SKILL.md +85 -0
  422. package/skills-cursor/update-cursor-settings/SKILL.md +137 -0
  423. package/skills.sh.json +296 -0
@@ -0,0 +1,24 @@
1
+ # Preservation Contract
2
+
3
+ Applies to **every phase**. Read before auditing or proposing anything.
4
+
5
+ ## Never do in this pass
6
+
7
+ - **Remove** features, routes, screens, handlers, or props. Dead-looking code → *proposal for approval*, never delete unilaterally. Handlers may be wired dynamically — run the false-positive pass first.
8
+ - **Fabricate** data, content, endpoints, env keys, or schema. No invented table names, columns, API routes, or DSNs. Unknown → `[NEEDS REAL TARGET]`, leave code untouched.
9
+ - **Guess** codebase facts. Ground every claim in a file you read; cite path + line. Can't verify → say so.
10
+ - **Change I/O or business logic** silently unless a wiring change is explicitly proposed + approved.
11
+ - **Break** public APIs, props, routes, or payload shapes without flagging as breaking + migration note.
12
+ - **Implement wiring** in this pass. Proposals only.
13
+
14
+ ## Before any file change proposal
15
+
16
+ State in one line **what currently works there that must keep working**.
17
+
18
+ ## Classification buckets
19
+
20
+ | Classification | Meaning |
21
+ |----------------|---------|
22
+ | **Confirmed stub/dead** | Evidence in code — empty handler, mock data in prod path, missing fetch |
23
+ | **Potentially unwired** | Likely stub but needs runtime or flag context |
24
+ | **Review required** | Dynamic invocation, registry, feature-flag — uncertain; conservative default |
@@ -0,0 +1,170 @@
1
+ ---
2
+ name: plan-test-coverage
3
+ description: >
4
+ Plan-only, user-story-driven test coverage audit. Use when "test coverage
5
+ plan", "traceability matrix", "fake-green tests", or "what's not tested".
6
+ Mutation score → test-mutation.
7
+ license: MIT
8
+ effort: high
9
+ ---
10
+
11
+ # Test Coverage Audit + Plan (User-Story-Driven)
12
+
13
+ **Degree of freedom: MIXED** — story derivation and fake-green judgment are HIGH;
14
+ coverage commands run exactly. Stay **plan-only**. No tests written in this pass.
15
+
16
+ **Role:** Senior QA / test engineer.
17
+
18
+ **Task:** Audit the test suite against **user stories and critical flows**, not just line %.
19
+ Find untested, weakly tested, and fake-green tests. Build traceability matrix + burndown.
20
+ **Audit & plan only — do not write tests in this pass.**
21
+
22
+ ## This skill vs neighbors
23
+
24
+ | Skill | Does |
25
+ |-------|------|
26
+ | **plan-test-coverage** (this) | Story-driven coverage plan |
27
+ | `test-unit` | Write unit/integration tests (execution) |
28
+ | `test-qa` | Live QA crawl |
29
+ | `test-playwright` | E2E verification after changes |
30
+ | `workflow-spec-tdd` | Spec + TDD during feature build |
31
+ | `plan-stub-checker` | Finds unwired UI — feed into critical-path tests here |
32
+
33
+ **Loop position:** `plan-stub-checker` → wiring approval → **plan-test-coverage** → `plan-perf-audit` / `plan-security-audit` → `plan-docs-sync`
34
+
35
+ ## How to reason (every plan item)
36
+
37
+ 1. **Propose** — the given/when/then spec for a gap or a fake-green replacement
38
+ 2. **Risk** — critical flow ships untested, or a green suite that cannot fail
39
+ 3. **Keep-working** — stories that already have honest, asserting tests
40
+ 4. **Phase** — Critical+fake-green → Error-edge → Important → Minor (do not execute)
41
+
42
+ ## Worked example
43
+
44
+ > **Propose:** add an e2e for "authed user exports data" covering the newly wired Settings control; replace `expect(true).toBe(true)` in `export.test.ts`.
45
+ > **Risk:** stub-checker wired the button; coverage % is 82 but the critical path has no test — fake-green hides it.
46
+ > **Keep-working:** login happy-path Playwright spec already asserts a session cookie.
47
+ > **Phase:** Phase 1 — Critical uncovered + fake-green.
48
+ > **Spec:** given authed session / when Export clicked / then `POST /api/export` 200 and a file download.
49
+
50
+ ---
51
+
52
+ ## ⛔ Preservation Contract
53
+
54
+ Read `references/preservation-contract.md`. Acknowledge in output #1.
55
+
56
+ ---
57
+
58
+ ## References
59
+
60
+ | File | Contents |
61
+ |------|----------|
62
+ | `references/methodology.md` | Stories from code, traceability, multi-lens, fake-green |
63
+ | `references/output-templates.md` | Matrix, burndown, phased plan |
64
+
65
+ ---
66
+
67
+ ## Phase flow
68
+
69
+ ```
70
+ 0. Derive user stories from code (FIRST)
71
+ 1. Inventory existing tests + coverage baseline
72
+ 2. Traceability matrix (story ↔ test)
73
+ 3. Multi-lens coverage audit
74
+ 4. Fake-green / weak-test detection
75
+ 5. Burndown + phased coverage plan
76
+ 6. Guardrails (mutation CI, coverage ratchet)
77
+ 7. Research citations
78
+ ```
79
+
80
+ Detail: `references/methodology.md`
81
+
82
+ Delegate an inventory pass to a subagent only when it is sizeable, independent of the others, and its raw output (coverage reports, test listings) has no place in the plan; brief it with the exact commands and the columns to return. It writes no tests, like this pass. Long sweeps are expected — context compaction exists, so finish the inventory rather than wrapping up early.
83
+
84
+ ---
85
+
86
+ ## Phase 0 — Stories from code (before judging coverage) [HIGH freedom]
87
+
88
+ Reconstruct what the app **promises** from routes, handlers, flows — not invented stories.
89
+
90
+ Each story: acceptance criteria + criticality + cited implementing code.
91
+
92
+ ---
93
+
94
+ ## Phase 1 — Test inventory [LOW freedom — run exactly]
95
+
96
+ Discover test files; map to stories. Run coverage tool if available:
97
+
98
+ ```
99
+ npm test -- --coverage
100
+ npx vitest run --coverage
101
+ ```
102
+
103
+ Not run → `[NEEDS RUN]` with command to run.
104
+
105
+ ---
106
+
107
+ ## Phase 2 — Traceability matrix [HIGH freedom]
108
+
109
+ Core artifact. Every critical story with no test = top-priority gap.
110
+
111
+ Template: `references/output-templates.md`
112
+
113
+ ---
114
+
115
+ ## Phase 3–4 — Depth + fake-green [HIGH freedom]
116
+
117
+ Judge branch/path/risk/integration/error paths — not just line %.
118
+
119
+ Flag fake-green: over-mocks, `expect(true)`, implementation-detail tests.
120
+
121
+ Recommend mutation testing on critical modules for blind spots.
122
+
123
+ ---
124
+
125
+ ## Burndown + plan [HIGH freedom — plan only]
126
+
127
+ Phases:
128
+
129
+ 1. Critical uncovered + fake-green (especially newly wired stubs from stub-checker)
130
+ 2. Error/edge + integration boundaries
131
+ 3. Important stories
132
+ 4. Minor branches
133
+
134
+ Per gap: given/when/then spec + "what must keep working". **Plan only.**
135
+
136
+ ## Self-critique before the burndown [LOW freedom — do not skip]
137
+
138
+ 1. **evidenced-not-assumed** — stories cited from routes/handlers; coverage numbers from a real run or `[NEEDS RUN]`
139
+ 2. **plan-only** — no tests written, deleted, or skipped
140
+ 3. **severity/phase justified** — untested critical stories and fake-green outrank line-% gaps
141
+ 4. **right-owner** — mutation score / assertion theater → `test-mutation`; writing tests → `test-unit` / `test-playwright`; unwired UI → `plan-stub-checker`
142
+ 5. **no-false-safety** — coverage % is not depth; never invent stories or counts
143
+
144
+ ---
145
+
146
+ ## Required output (in order)
147
+
148
+ 1. Preservation-contract acknowledgment
149
+ 2. Derived user stories + AC + criticality (cited)
150
+ 3. Existing-test inventory + baseline or `[NEEDS RUN]`
151
+ 4. Traceability matrix
152
+ 5. Multi-lens coverage audit
153
+ 6. Fake-green / weak-test findings
154
+ 7. Burndown table
155
+ 8. Coverage + enhancement plan, phased
156
+ 9. Guardrails/tooling
157
+ 10. Research notes + citations
158
+ 11. Open questions / `[NEEDS PRODUCT INPUT]` / `[NEEDS RUN]`
159
+
160
+ End the turn with a standalone recap in chat: the two or three highest-impact gaps (untested critical stories and fake-green first) and the first phase to approve. The plan is the deliverable — write it before the recap.
161
+
162
+ ---
163
+
164
+ ## Rules
165
+
166
+ - Plan only — do not write tests until approved.
167
+ - User stories first, from real code.
168
+ - Coverage ≠ single %. Judge depth + mutation honesty.
169
+ - Never fabricate stories, tests, or numbers.
170
+ - Separate true gap vs test-quality issue.
@@ -0,0 +1,54 @@
1
+ # Traceability & Coverage Methodology
2
+
3
+ ## Phase 0 — Derive stories from code
4
+
5
+ For each feature area:
6
+
7
+ - *As a [user], I want [action], so that [outcome]* + **acceptance criteria**
8
+ - Tie to implementing code (route/screen/handler/query) — cited
9
+ - Criticality: **Critical** (auth, payments, mutations, RLS reads, irreversible) / Important / Minor
10
+ - Unknown intent → `[NEEDS PRODUCT INPUT]`
11
+
12
+ ## Phase 1 — Inventory tests
13
+
14
+ ```
15
+ Glob: **/*.{test,spec}.{ts,tsx,js,jsx}
16
+ Glob: **/__tests__/**
17
+ Glob: **/e2e/** **/playwright/**
18
+ ```
19
+
20
+ Map each suite to story/feature. Run suite + coverage if available → baseline or `[NEEDS RUN]`.
21
+
22
+ ## Phase 2 — Traceability matrix (core artifact)
23
+
24
+ | Story | Acceptance criteria | Criticality | Implementing code | Existing test(s) | Coverage verdict | Test-quality verdict |
25
+
26
+ Coverage verdict: Covered / Partial / **Uncovered**
27
+
28
+ ## Phase 3 — Multi-lens coverage (not just %)
29
+
30
+ - Statement/branch/condition — happy path only?
31
+ - Path/flow — full journeys (guest vs auth, success vs failure)?
32
+ - Risk — crash-prone / irreversible / security paths first?
33
+ - Integration — Supabase, RLS, payment/auth boundaries (real or proper mocks)?
34
+ - Error/edge — failures, empty, network, permission denials
35
+
36
+ ## Phase 4 — Fake-green detection
37
+
38
+ - `expect(true)` or no meaningful assertion
39
+ - Over-mocked — mocks the unit under test
40
+ - Tests implementation detail, not behavior
41
+ - Skipped-but-counted, never exercised
42
+ - **Mutation testing** on critical modules — surviving mutants = blind spots
43
+
44
+ ## Guardrails (research-backed)
45
+
46
+ - Traceability matrix maintained: new story → mapped test
47
+ - Risk-based targets, not blind 100% line chase
48
+ - Mutation testing in CI on critical modules (kill-rate)
49
+ - Coverage gate ratchet in CI; test in same PR as feature
50
+ - Unit / integration / e2e layers; behavior + acceptance criteria
51
+
52
+ ## Chain position
53
+
54
+ After `plan-stub-checker` wiring approval → **plan-test-coverage** locks behavior before perf/security hardening and docs sync.
@@ -0,0 +1,34 @@
1
+ # Output Templates
2
+
3
+ ## Story list (Phase 0)
4
+
5
+ ```markdown
6
+ ### Story S-01 [Critical]
7
+ - As a … I want … so that …
8
+ - Acceptance criteria: …
9
+ - Code: path:line
10
+ ```
11
+
12
+ ## Coverage baseline
13
+
14
+ | Metric | Value | Tool | `[NEEDS RUN]` |
15
+ |--------|-------|------|---------------|
16
+ | Line % | … | vitest/jest/coverage | |
17
+ | Branch % | … | | |
18
+
19
+ ## Traceability matrix
20
+
21
+ | Story | AC | Criticality | Code | Test(s) | Coverage | Quality |
22
+
23
+ ## Burndown
24
+
25
+ | Story/Area | Gap type | Criticality | Evidence | Proposed test (G/W/T) | Severity | Effort | Risk |
26
+
27
+ Gap types: uncovered / partial / fake-green / missing-edge
28
+
29
+ ## Phased plan
30
+
31
+ 1. Critical uncovered + fake-green on critical paths (esp. newly wired stubs)
32
+ 2. Error/edge + integration boundaries
33
+ 3. Important stories
34
+ 4. Minor branches
@@ -0,0 +1,15 @@
1
+ # Preservation Contract
2
+
3
+ ## Never do in this pass
4
+
5
+ - **Fabricate** stories, tests, or coverage numbers. Stories from real features (routes, handlers) cited in code. Coverage from real run or `[NEEDS RUN]`.
6
+ - **Claim** a test exists or passes without reading it.
7
+ - **Delete or weaken** existing tests — flawed tests get fix proposals; removal needs approval.
8
+ - **Change app code** for testability in this pass — note refactor as proposal.
9
+ - **Enshrine bugs** — wrong behavior flagged, not locked in tests.
10
+ - **Write tests** in this pass. Specs (given/when/then) on approval.
11
+
12
+ ## Buckets
13
+
14
+ - **True coverage gap** — story has no/partial test
15
+ - **Test-quality issue** — fake-green, over-mocked, implementation-detail test
@@ -0,0 +1,230 @@
1
+ ---
2
+ name: plan-uiux-unification
3
+ description: >
4
+ Plan-only UI/UX and design-system audit that emits a unification burndown;
5
+ no code until a phase is approved. Use when "audit UI without fixing", "UI
6
+ burndown", or "IA audit before redesign". Apply now → housekeep-design.
7
+ license: MIT
8
+ effort: high
9
+ ---
10
+
11
+ # UI/UX & Design-System Audit + Unification Plan
12
+
13
+ **Degree of freedom: MIXED** — IA and unification plan are judgment; token
14
+ greps and inventory globs run exactly. Stay **plan-only**. No UI edits until approved.
15
+
16
+ **Role:** Senior frontend/mobile architect + design-systems engineer.
17
+
18
+ **Task:** Deep, exhaustive, *non-destructive* audit. Built by many devs over time → expect
19
+ inconsistent design system, layout, typography, and repo rules. Find every violation,
20
+ document it, produce a burndown + enhancement plan. **Enhance the existing design system;
21
+ do not replace it, strip features, fabricate data, or rewrite UI in this pass.**
22
+
23
+ ## This skill vs neighbors
24
+
25
+ | Skill | Does |
26
+ |-------|------|
27
+ | **plan-uiux-unification** (this) | Plan only — full inventory, burndown, roadmap; no fixes |
28
+ | `audit-responsive` | Linearized desktop / breakpoint IA — audit then fix |
29
+ | `audit-uiux-design-system` | Visual/token/component audit; may recommend or fix |
30
+ | `audit-ux` | Heuristics, flows, microcopy quality |
31
+ | `enhance-web-ui` / `enhance-web-ux` | Implement visual/UX improvements |
32
+ | `design-system` | Build or extend the design system itself |
33
+
34
+ **Chain:** Step 1 of six-skill plan loop — see `docs/PLAN-LOOPS.md`
35
+ **Execute:** `audit-responsive` (layout/IA) → `enhance-web-ux` / `enhance-web-ui` → `test-playwright`
36
+
37
+ ## How to reason (every plan item)
38
+
39
+ 1. **Propose** — token, primitive, layout, or voice change against the existing DS
40
+ 2. **Risk** — brand-break, a11y fail, or a rewrite that strips a feature
41
+ 3. **Keep-working** — surfaces and tokens that already match the canonical system
42
+ 4. **Phase** — P0 broken/a11y → structural → polish (do not execute)
43
+
44
+ ## Worked example
45
+
46
+ > **Propose:** replace raw `#1a1a1a` on `/pricing` CTA with the documented primary token (`bg-fg` or equivalent).
47
+ > **Risk:** 14 hex literals on the highest-traffic page; brand-breaking vs the token SSOT.
48
+ > **Keep-working:** `components/ui/Button` already uses semantic tokens.
49
+ > **Phase:** P0 — brand-breaking hex on a conversion surface.
50
+ > **Canonical fix:** value-for-value token swap; no copy or layout rewrite.
51
+
52
+ ---
53
+
54
+ ## ⛔ Preservation Contract
55
+
56
+ Read `references/preservation-contract.md` in full before Phase 0.
57
+
58
+ **Acknowledge in output #1** — restate what you will NOT do:
59
+
60
+ - No feature/route/screen/state/prop/handler removal
61
+ - No fabricated data, content, copy, or API fields
62
+ - Every codebase claim cites a file path you read
63
+ - Preserve I/O boundaries + business logic unless explicitly proposed + approved
64
+ - No silent breaking changes to public APIs, props, or routes
65
+ - This pass **plans**; visual/UX changes are proposals only
66
+
67
+ ---
68
+
69
+ ## Phase flow (do not skip) [HIGH freedom]
70
+
71
+ ```
72
+ 0. Context & IA (before any layout talk)
73
+ 1. Design-system ground truth
74
+ 2. Full surface inventory
75
+ 3. Per-surface deep audit
76
+ 4. Burndown (prioritized + risk)
77
+ 5. Unification & enhancement plan
78
+ 6. Best-practice research (cite current year)
79
+ ```
80
+
81
+ Detailed instructions: `references/phase-workbook.md`
82
+ Templates: `references/output-templates.md`
83
+
84
+ ---
85
+
86
+ ## Phase 0 — Context & IA FIRST [HIGH freedom]
87
+
88
+ Before pixels: user goal, primary task, key action, IA map (primary/secondary/tertiary),
89
+ content relationships, progressive disclosure.
90
+
91
+ **Core anti-pattern to flag:** flat vertical stacks + left-align + no hierarchy/grouping.
92
+
93
+ **Only then** propose layout using **real content** from the codebase — never invented examples.
94
+
95
+ ---
96
+
97
+ ## Phase 1 — Design-system ground truth [HIGH freedom]
98
+
99
+ Auto-detect (read actual files): [LOW freedom — run exactly]
100
+
101
+ ```
102
+ Glob: **/tailwind.config.*
103
+ Glob: **/globals.css **/tokens.* **/theme.*
104
+ Glob: **/components/ui/**
105
+ Grep: "STYLEGUIDE|CONTRIBUTING" glob "**/*.md"
106
+ ```
107
+
108
+ Critique: enhance (missing semantic tokens, thin scales) vs enforce (violations of existing rules).
109
+ Multiple systems → name canonical vs legacy + collision points.
110
+
111
+ Output short **design-system spec** (current state + proposed enhancements).
112
+
113
+ ---
114
+
115
+ ## Phase 2 — Surface inventory [HIGH freedom]
116
+
117
+ Exhaustive checklist table — every route, modal, drawer, toast, empty/loading/error state,
118
+ auth/onboarding, responsive + dark per surface. Mark audited only after Phase 3 review.
119
+
120
+ Delegate an inventory pass to a subagent only when it is sizeable, independent of the others, and its raw output (glob lists, token-grep counts) has no place in the plan; brief it with the exact commands and the columns to return. It edits nothing, like this pass. Long sweeps are expected — context compaction exists, so finish the inventory rather than wrapping up early.
121
+
122
+ See inventory template in `references/output-templates.md`.
123
+
124
+ ---
125
+
126
+ ## Phase 3 — Per-surface audit [HIGH freedom]
127
+
128
+ For each surface, log violations by category:
129
+
130
+ - IA & hierarchy · Tokens · Typography · Layout/spacing
131
+ - Content & tone (rewrites preserve meaning)
132
+ - AI-generic aesthetic tells
133
+ - Components (duplicates → consolidation *proposals*)
134
+ - Interaction/states · Accessibility (WCAG 2.2)
135
+ - Conflicting/deprecated systems · Tech debt (removal needs confirmation)
136
+
137
+ **Three buckets:** violates documented rule · subjective improvement · needs DS enhancement
138
+
139
+ **Token sweep (quantify for burndown):** [LOW freedom — run exactly]
140
+
141
+ ```
142
+ Grep: "#[0-9a-fA-F]{3,8}" glob "*.{tsx,jsx,vue,css}"
143
+ Grep: "style=\\{" glob "*.{tsx,jsx}" output_mode "count"
144
+ Grep: "className=.*\\b(p|m|gap|text|rounded)-\\[" glob "*.{tsx,jsx}" output_mode "count"
145
+ ```
146
+
147
+ Optional visual verification: read `protocol-browser-anti-stall` and
148
+ `references/playwright-session-coordination.md` in that skill before playwright-cli.
149
+ Plan-only — screenshots for evidence, not fixes.
150
+
151
+ ---
152
+
153
+ ## Phase 4 — Burndown [HIGH freedom — plan only]
154
+
155
+ Table columns:
156
+
157
+ `Surface | Violation | Category | Severity (P0–P3) | Effort (S/M/L) | Risk (Low/Med/High) | Canonical fix | File path(s)`
158
+
159
+ P0 = broken/inaccessible/brand-breaking · P3 = cosmetic. Quantify where possible.
160
+
161
+ ---
162
+
163
+ ## Phase 5 — Unification plan [HIGH freedom — plan only]
164
+
165
+ - Consolidate DS conflicts; deprecate loser + migration path
166
+ - High-traffic layouts driven by Phase 0 IA + real content
167
+ - Content/voice guideline (tone, errors, CTAs, jargon glossary)
168
+ - Token migration / codemod strategy (value-for-value)
169
+ - Primitive consolidation as proposals with dependency checks
170
+ - Guardrails: lint rules, no raw hex, visual regression, PR checklist
171
+ - Phased roadmap: quick wins → structural → polish (each revertible)
172
+
173
+ ---
174
+
175
+ ## Phase 6 — Research [HIGH freedom]
176
+
177
+ Firecrawl / web for **current year** best practices — search each named standard as written rather than answering from memory; cite sources:
178
+
179
+ - Token architecture (semantic/layered, W3C DTCG)
180
+ - IA + visual hierarchy · UX writing · anti-AI-slop aesthetics · WCAG 2.2
181
+
182
+ Note where this app diverges from research.
183
+
184
+ ## Self-critique before the burndown [LOW freedom — do not skip]
185
+
186
+ 1. **evidenced-not-assumed** — every violation cites a path you read; no invented copy
187
+ 2. **plan-only** — no UI/token edits, no PRs
188
+ 3. **severity/phase justified** — P0 is broken/inaccessible/brand-breaking, not taste
189
+ 4. **right-owner** — linearized breakpoint IA → `audit-responsive`; apply-now token cleanup → `housekeep-design`; per-page heuristics → `audit-ux`
190
+ 5. **no-false-safety** — `[NEEDS REAL CONTENT]` stays open; never fabricate examples to fill IA
191
+
192
+ ---
193
+
194
+ ## Required output (in order)
195
+
196
+ 1. Preservation-contract acknowledgment
197
+ 2. Context & IA summary (per area)
198
+ 3. Design-system spec (current + enhancements)
199
+ 4. Surface inventory checklist
200
+ 5. Per-surface violation log
201
+ 6. Burndown table (with risk column)
202
+ 7. Unification + enhancement plan + phased roadmap (+ content/voice guide)
203
+ 8. Guardrails / tooling recommendations
204
+ 9. Research notes + citations
205
+ 10. Open questions / `[NEEDS REAL CONTENT]` list
206
+
207
+ Deliver as a single markdown doc (or canvas for large repos), then end the turn with a standalone recap in chat: the two or three highest-impact violations and the first phase to approve. The document is the deliverable — write it before the recap. **Do not open PRs or edit UI code**
208
+ unless the user explicitly approves execution in a follow-up.
209
+
210
+ ---
211
+
212
+ ## Rules
213
+
214
+ - **Plan only — do not fix yet.** User approves before execution.
215
+ - **IA before layout. Hierarchy first, pixels second.**
216
+ - **Enhance, don't replace.** Preserve every feature + all real content/data.
217
+ - **Never fabricate.** Cite real paths/lines. Unverifiable → say so.
218
+ - Surface unreachable or token source missing → say so, don't guess.
219
+ - Before proposing any file change: one line on what must keep working there.
220
+
221
+ ---
222
+
223
+ ## MCP integration
224
+
225
+ | MCP | Use |
226
+ |-----|-----|
227
+ | Firecrawl | Phase 6 research, anti-AI-slop patterns, WCAG/token governance |
228
+ | Playwright browser | Optional Phase 3 visual evidence; own named session (`-s=…`) per `protocol-browser-anti-stall` |
229
+ | Context7 | Component library / Tailwind docs when naming canonical primitives |
230
+ | Sequential Thinking | Not needed — the IA map and collision analysis go in the deliverable |
@@ -0,0 +1,67 @@
1
+ # Output Templates
2
+
3
+ ## Surface inventory checklist
4
+
5
+ | Surface | Route / entry | Sub-screens / states | Mobile | Dark | Audited |
6
+ |---------|---------------|----------------------|--------|------|---------|
7
+ | Example | `/settings` | tabs, empty, error | ✓ | ✓ | ☐ |
8
+
9
+ Include: modals, drawers, sheets, popovers, tooltips, toasts, tabs, accordions, auth, onboarding, skeleton/loading/error/403/404.
10
+
11
+ ## Burndown table
12
+
13
+ | Surface | Violation | Category | Severity (P0–P3) | Effort (S/M/L) | Risk (Low/Med/High) | Canonical fix | File path(s) |
14
+ |---------|-----------|----------|----------------|-----------------|---------------------|---------------|--------------|
15
+
16
+ **Severity:** P0 = broken/inaccessible/brand-breaking · P3 = cosmetic
17
+ **Risk:** flags fixes that touch working behavior
18
+ **Quantify** where possible (e.g. "37 hardcoded colors across 12 files")
19
+
20
+ ## Phase 0 — IA summary (per major area)
21
+
22
+ ```markdown
23
+ ### [Area name]
24
+ - **User goal:** …
25
+ - **Primary task / key action:** …
26
+ - **IA map:** primary / secondary / tertiary content
27
+ - **Relationships:** group together · progressive disclosure · noise
28
+ - **Current anti-pattern:** (e.g. flat vertical stack, left-align, no hierarchy)
29
+ - **Proposed layout direction:** columns/cards/whitespace — using **real content** from code
30
+ ```
31
+
32
+ ## Design-system spec (short)
33
+
34
+ ```markdown
35
+ ### Canonical source
36
+ - Tokens: [paths]
37
+ - Theme: [tailwind.config / globals.css / tokens.ts]
38
+ - Primitives: [component paths]
39
+ - Lint / STYLEGUIDE: [paths]
40
+
41
+ ### Gaps (enhance, don't replace)
42
+ - Missing semantic tokens: …
43
+ - Weak scales: elevation / type / spacing: …
44
+
45
+ ### Competing systems
46
+ | System | Where used | Status (canonical / legacy) | Collision points |
47
+ ```
48
+
49
+ ## Phased roadmap
50
+
51
+ ```markdown
52
+ ### Phase A — Quick wins (reviewable, revertible)
53
+ - …
54
+
55
+ ### Phase B — Structural (token migration, primitive consolidation proposals)
56
+ - …
57
+
58
+ ### Phase C — Polish (high-traffic layouts from Phase 0 IA)
59
+ - …
60
+ ```
61
+
62
+ ## Guardrails checklist
63
+
64
+ - [ ] ESLint / Stylelint token rules
65
+ - [ ] No raw hex rule
66
+ - [ ] Visual regression snapshots
67
+ - [ ] PR checklist items
@@ -0,0 +1,85 @@
1
+ # Phase Workbook (detailed)
2
+
3
+ ## Phase 0 — Context & IA FIRST
4
+
5
+ For each major area, from actual code:
6
+
7
+ - User goal, primary task, key action on the screen
8
+ - IA map: content, grouping, importance (primary/secondary/tertiary), first-scan priority
9
+ - Content relationships: belongs together, progressive disclosure, noise
10
+ - **Only then** propose layout. **Hierarchy drives layout, not the reverse.**
11
+ - Name anti-patterns explicitly: everything stacked vertically + left-aligned with no hierarchy/grouping → core finding
12
+ - Propose layouts (columns, cards, whitespace, alignment, emphasis) using **real content** from the repo
13
+
14
+ ## Phase 1 — Design-system ground truth
15
+
16
+ - Read canonical tokens: color, spacing, radius, elevation, type scale, z-index
17
+ - Theme config: Tailwind / CSS vars / `tokens.ts` / platform theme
18
+ - Component primitives, `CONTRIBUTING` / `STYLEGUIDE` / lint rules
19
+ - Critique: incomplete vs inconsistent vs weak — **enhance** (missing semantic tokens) vs **enforce**
20
+ - Multiple competing systems → canonical vs legacy/deprecated + collision map
21
+ - Output short **design-system spec** (current + proposed enhancements)
22
+
23
+ ## Phase 2 — Full surface inventory
24
+
25
+ Enumerate every surface; mark audited only after review:
26
+
27
+ - All routes/screens + nested sub-screens/flows
28
+ - Modals, dialogs, drawers, bottom sheets, popovers, tooltips, toasts, action sheets
29
+ - Side panels, tabs, accordions, expandable sections
30
+ - Empty / loading / skeleton / error / not-found / permission states
31
+ - Auth, onboarding, settings sub-screens
32
+ - Responsive breakpoints (mobile sizes, orientation, safe areas) + dark/light per surface
33
+
34
+ **Discovery commands (adapt to stack):**
35
+
36
+ ```
37
+ Glob: **/app/**/page.{tsx,jsx,vue,svelte}
38
+ Glob: **/routes/**/*.{tsx,jsx}
39
+ Glob: **/screens/**/*.{tsx,jsx}
40
+ Grep: "Modal|Dialog|Drawer|Sheet|Popover|Toast" glob "*.{tsx,jsx,vue}"
41
+ ```
42
+
43
+ ## Phase 3 — Per-surface audit categories
44
+
45
+ Log violations per surface:
46
+
47
+ | Category | Examples |
48
+ |----------|----------|
49
+ | IA & hierarchy | flat stacks, left-align, missing grouping, no primary action, poor scan path |
50
+ | Tokens | hardcoded hex/px, off-scale spacing, non-token colors, ad-hoc shadows/radii |
51
+ | Typography | family/size/weight/line-height off scale |
52
+ | Layout/spacing | grid/container widths, padding rhythm, alignment, safe areas |
53
+ | Content & tone | jargon, dev-speak, inconsistent voice; rewrites preserve meaning |
54
+ | AI-generic look | centered hero, 3 equal cards, indigo gradients, emoji bullets, no POV |
55
+ | Components | one-off reimplementations, divergent variants, duplicates |
56
+ | Interaction/states | hover/focus/active/pressed/disabled, loading/error/empty, gestures |
57
+ | Accessibility | contrast, focus order, ARIA, keyboard/SR, alt text, touch targets (WCAG 2.2) |
58
+ | Conflicting/deprecated | competing systems, deprecated components/APIs/deps |
59
+ | Tech debt | dead code, `!important`, inline escapes, copy-paste drift, TODO/HACK |
60
+
61
+ Optional live pass: read `protocol-browser-anti-stall` + `playwright-session-coordination` before playwright-cli.
62
+
63
+ ## Phase 4 — Burndown
64
+
65
+ See `output-templates.md`. Group by severity; quantify; include risk column.
66
+
67
+ ## Phase 5 — Unification & enhancement plan
68
+
69
+ - Target DS: consolidate conflicts, deprecate loser + migration path, additions for Phase 1 gaps
70
+ - High-traffic screens: layouts from Phase 0 IA + real content + grouping rationale
71
+ - Content/voice guideline: tone, reading level, error/empty/CTA phrasing, jargon→plain glossary
72
+ - Token migration / codemod: value-for-value, no visual change unless intended
73
+ - Primitive consolidation as **proposals** with dependency checks
74
+ - Regression guardrails: lint, token lint, visual regression, PR checklist
75
+ - Phased roadmap: quick wins → structural → polish; each phase independently reviewable + revertible
76
+
77
+ ## Phase 6 — Best-practice research (current year)
78
+
79
+ Use Firecrawl / web research; cite findings; note where this app diverges:
80
+
81
+ - Design-system governance + token architecture (layered/semantic, W3C DTCG)
82
+ - IA + visual hierarchy
83
+ - UX writing / plain language
84
+ - Avoiding generic "AI-generated" aesthetic
85
+ - Accessibility (WCAG 2.2)