frontend
Builds, styles, and polishes anything drawn with HTML, CSS, or SVG: web UI, pages, components, HTML reports rendered to PDF or print, figures, PNG/SVG diagrams, slides, and images for Notion or Slack. Use for any styling, layout, animation, or visual-quality task, or when asked to make something look or feel a certain way.
- License 许可
- Apache-2.0
- 所属仓库
- Indosaram/mhc
- 最近更新
- 2026-11-14
- Stars
- ★ 10
- Forks
- 2
01 前言 Front Matter
- name
- frontend
- description
- Builds, styles, and polishes anything drawn with HTML, CSS, or SVG: web UI, pages, components, HTML reports rendered to PDF or print, figures, PNG/SVG diagrams, slides, and images for Notion or Slack. Use for any styling, layout, animation, or visual-quality task, or when asked to make something look or feel a certain way.
02 资源文件 360
- 参考文档ATTRIBUTION.md20.4 KB
- 参考文档CLEANROOM.md10.3 KB
- 许可证LICENSE-Apache-2.0.txt11.0 KB
- 参考文档references/design/_INDEX.md17.4 KB
- 参考文档references/design/airbnb.md28.8 KB
- 参考文档references/design/airtable.md3.6 KB
- 参考文档references/design/ambience-skill.md18.0 KB
- 参考文档references/design/apple.md17.4 KB
- 参考文档references/design/aside.md12.5 KB
- 参考文档references/design/binance.md18.5 KB
- 参考文档references/design/bmw.md9.7 KB
- 参考文档references/design/brutalist-skill.md8.3 KB
- 参考文档references/design/bugatti.md26.1 KB
- 参考文档references/design/cal.md17.5 KB
- 参考文档references/design/claude.md19.9 KB
- 参考文档references/design/clay.md17.0 KB
- 参考文档references/design/clickhouse.md15.1 KB
- 参考文档references/design/clone-from-url.md5.3 KB
- 参考文档references/design/cohere.md14.5 KB
- 参考文档references/design/coinbase.md5.0 KB
- 参考文档references/design/component-catalogs.md11.2 KB
- 参考文档references/design/composio.md20.5 KB
- 参考文档references/design/cursor.md18.7 KB
- 参考文档references/design/design-system-architecture.md15.4 KB
- 参考文档references/design/elevenlabs.md14.9 KB
- 参考文档references/design/expo.md18.3 KB
- 参考文档references/design/ferrari.md25.0 KB
- 参考文档references/design/figma.md11.4 KB
- 参考文档references/design/framer.md17.3 KB
- 参考文档references/design/gpt-tasteskill.md7.7 KB
- 参考文档references/design/grounding.md3.7 KB
- 参考文档references/design/hashicorp.md15.4 KB
- 参考文档references/design/ibm.md19.2 KB
- 参考文档references/design/image-to-code-skill.md35.6 KB
- 参考文档references/design/imagegen-brandkit.md15.6 KB
- 参考文档references/design/imagegen-frontend-mobile.md39.4 KB
- 参考文档references/design/imagegen-frontend-web.md36.0 KB
- 参考文档references/design/interaction-skill.md16.1 KB
- 参考文档references/design/intercom.md6.4 KB
- 参考文档references/design/kraken.md4.3 KB
- 参考文档references/design/lamborghini.md20.7 KB
- 参考文档references/design/layout-skill.md8.3 KB
- 参考文档references/design/lazyweb.md3.8 KB
- 参考文档references/design/linear.app.md22.0 KB
- 参考文档references/design/lovable.md17.1 KB
- 参考文档references/design/mastercard.md26.5 KB
- 参考文档references/design/meta.md20.1 KB
- 参考文档references/design/minimalist-skill.md7.7 KB
- 参考文档references/design/minimax.md14.0 KB
- 参考文档references/design/mintlify.md17.1 KB
- 参考文档references/design/miro.md4.8 KB
- 参考文档references/design/mistral.ai.md15.4 KB
- 参考文档references/design/mongodb.md14.8 KB
- 参考文档references/design/nike.md19.6 KB
- 参考文档references/design/notion.md18.0 KB
- 参考文档references/design/nvidia.md16.8 KB
- 参考文档references/design/ollama.md15.2 KB
- 参考文档references/design/opencode.ai.md15.2 KB
- 参考文档references/design/output-skill.md2.5 KB
- 参考文档references/design/pinterest.md11.7 KB
- 参考文档references/design/playstation.md27.6 KB
- 参考文档references/design/posthog.md18.2 KB
- 参考文档references/design/print-paged-media.md6.6 KB
- 参考文档references/design/raycast.md18.1 KB
- 参考文档references/design/react-dev-tooling-skill.md8.4 KB
- 参考文档references/design/README.md24.2 KB
- 参考文档references/design/redesign-skill.md14.7 KB
- 参考文档references/design/renault.md23.8 KB
- 参考文档references/design/replicate.md13.9 KB
- 参考文档references/design/resend.md18.1 KB
- 参考文档references/design/revolut.md8.5 KB
- 参考文档references/design/runwayml.md14.1 KB
- 参考文档references/design/sanity.md20.8 KB
- 参考文档references/design/sentry.md14.5 KB
- 参考文档references/design/shopify.md19.6 KB
- 参考文档references/design/soft-skill.md10.3 KB
- 参考文档references/design/spacex.md11.2 KB
- 参考文档references/design/spotify.md12.8 KB
- 参考文档references/design/starbucks.md36.6 KB
- 参考文档references/design/stitch-design-example.md11.8 KB
- 参考文档references/design/stitch-skill.md11.6 KB
- 参考文档references/design/stripe.md20.1 KB
- 参考文档references/design/stylegallery.md5.0 KB
- 参考文档references/design/supabase.md14.5 KB
- 参考文档references/design/superhuman.md18.6 KB
- 参考文档references/design/taste-skill.md85.2 KB
- 参考文档references/design/tesla.md21.8 KB
- 参考文档references/design/theverge.md27.8 KB
- 参考文档references/design/together.ai.md14.0 KB
- 参考文档references/design/uber.md18.3 KB
- 参考文档references/design/vercel.md19.1 KB
- 参考文档references/design/vodafone.md29.5 KB
- 参考文档references/design/voltagent.md25.8 KB
- 参考文档references/design/warp.md16.4 KB
- 参考文档references/design/webflow.md4.1 KB
- 参考文档references/design/wired.md22.1 KB
- 参考文档references/design/wise.md8.4 KB
- 参考文档references/design/x.ai.md16.0 KB
- 参考文档references/design/zapier.md18.4 KB
- 参考文档references/designpowers/EVIDENCE.md3.7 KB
- 参考文档references/designpowers/lane-a-direction.md5.3 KB
- 参考文档references/designpowers/lane-b-execution.md5.7 KB
- 参考文档references/designpowers/lane-c-review.md5.4 KB
- 参考文档references/designpowers/lane-d-memory.md5.0 KB
- 参考文档references/designpowers/orchestration.md5.4 KB
- 参考文档references/designpowers/README.md3.7 KB
- 参考文档references/designpowers/routing.md5.4 KB
- 参考文档references/designpowers/UPSTREAM.md2.2 KB
- 参考文档references/perfection/craft-floor.md7.1 KB
- 参考文档references/perfection/detect.md3.9 KB
- 参考文档references/perfection/react-perf-tooling.md7.7 KB
- 参考文档references/perfection/README.md12.6 KB
- 资产文件references/ui-ux-db/data/charts.csv18.9 KB
- 资产文件references/ui-ux-db/data/colors.csv31.5 KB
- 资产文件references/ui-ux-db/data/icons.csv20.2 KB
- 资产文件references/ui-ux-db/data/landing.csv16.3 KB
- 资产文件references/ui-ux-db/data/products.csv56.6 KB
- 资产文件references/ui-ux-db/data/react-performance.csv14.5 KB
- 资产文件references/ui-ux-db/data/stacks/astro.csv11.6 KB
- 资产文件references/ui-ux-db/data/stacks/flutter.csv10.2 KB
- 资产文件references/ui-ux-db/data/stacks/html-tailwind.csv11.0 KB
- 资产文件references/ui-ux-db/data/stacks/jetpack-compose.csv8.0 KB
- 资产文件references/ui-ux-db/data/stacks/nextjs.csv12.2 KB
- 资产文件references/ui-ux-db/data/stacks/nuxt-ui.csv13.7 KB
- 资产文件references/ui-ux-db/data/stacks/nuxtjs.csv16.2 KB
- 资产文件references/ui-ux-db/data/stacks/react-native.csv9.7 KB
- 资产文件references/ui-ux-db/data/stacks/react.csv12.7 KB
- 资产文件references/ui-ux-db/data/stacks/shadcn.csv15.5 KB
- 资产文件references/ui-ux-db/data/stacks/svelte.csv10.8 KB
- 资产文件references/ui-ux-db/data/stacks/swiftui.csv10.6 KB
- 资产文件references/ui-ux-db/data/stacks/vue.csv10.7 KB
- 资产文件references/ui-ux-db/data/styles.csv139.3 KB
- 资产文件references/ui-ux-db/data/typography.csv48.5 KB
- 资产文件references/ui-ux-db/data/ui-reasoning.csv51.7 KB
- 资产文件references/ui-ux-db/data/ux-guidelines.csv18.2 KB
- 资产文件references/ui-ux-db/data/web-interface.csv9.5 KB
- 参考文档references/ui-ux-db/README.md43.7 KB
- 脚本references/ui-ux-db/scripts/core.py12.1 KB
- 脚本references/ui-ux-db/scripts/design_system.py46.0 KB
- 脚本references/ui-ux-db/scripts/search.py5.4 KB
- 脚本scripts/detect/cli.ts2.9 KB
- 脚本scripts/detect/config.ts3.0 KB
- 脚本scripts/detect/core/characters.ts157 B
- 脚本scripts/detect/core/color.ts6.9 KB
- 脚本scripts/detect/core/page.ts3.6 KB
- 脚本scripts/detect/core/shadow.ts1.4 KB
- 脚本scripts/detect/core/source.ts1.4 KB
- 脚本scripts/detect/detect.ts3.3 KB
- 脚本scripts/detect/index.ts1.1 KB
- 许可证scripts/detect/LICENSE.md737 B
- 脚本scripts/detect/lint.ts3.8 KB
- 脚本scripts/detect/render/renderer.ts1.4 KB
- 脚本scripts/detect/render/webview.ts3.3 KB
- 脚本scripts/detect/report.ts1014 B
- 脚本scripts/detect/rule.ts1.1 KB
- 脚本scripts/detect/rules/color/ai-color-palette.ts5.8 KB
- 脚本scripts/detect/rules/color/cream-palette.ts2.2 KB
- 脚本scripts/detect/rules/color/dark-glow.ts2.6 KB
- 脚本scripts/detect/rules/color/design-system-color.ts1.7 KB
- 脚本scripts/detect/rules/color/gradient-text.ts3.1 KB
- 脚本scripts/detect/rules/color/gray-on-color.ts2.0 KB
- 脚本scripts/detect/rules/color/index.ts669 B
- 脚本scripts/detect/rules/color/low-contrast.ts4.1 KB
- 脚本scripts/detect/rules/color/radial-halo.ts1.8 KB
- 脚本scripts/detect/rules/color/radial-spotlight-glow.ts1.9 KB
- 脚本scripts/detect/rules/color/support/animation-opacity.ts4.1 KB
- 脚本scripts/detect/rules/color/support/color-path.ts781 B
- 脚本scripts/detect/rules/color/support/contrast-pairs.ts2.8 KB
- 脚本scripts/detect/rules/color/support/contrast-role.ts5.1 KB
- 脚本scripts/detect/rules/color/support/glow-forms.ts3.2 KB
- 脚本scripts/detect/rules/color/support/gradient-samples.ts6.2 KB
- 脚本scripts/detect/rules/color/support/gradients.ts3.9 KB
- 脚本scripts/detect/rules/color/support/mockup-roots.ts5.0 KB
- 脚本scripts/detect/rules/color/support/page-ignore.ts432 B
- 脚本scripts/detect/rules/color/support/painted-text.ts7.8 KB
- 脚本scripts/detect/rules/color/support/palette-roles.ts3.4 KB
- 脚本scripts/detect/rules/color/support/placeholder-contrast.ts1.9 KB
- 脚本scripts/detect/rules/color/support/stock-accent.ts2.2 KB
- 脚本scripts/detect/rules/color/support/text-colors.ts4.4 KB
- 脚本scripts/detect/rules/copy/aphoristic-cadence.ts879 B
- 脚本scripts/detect/rules/copy/broken-image.ts821 B
- 脚本scripts/detect/rules/copy/em-dash-overuse.ts2.5 KB
- 脚本scripts/detect/rules/copy/index.ts752 B
- 脚本scripts/detect/rules/copy/marketing-buzzword.ts1.5 KB
- 脚本scripts/detect/rules/copy/numbered-section-labels.ts2.2 KB
- 脚本scripts/detect/rules/copy/repeated-container-text.ts3.1 KB
- 脚本scripts/detect/rules/copy/script-error.ts1.5 KB
- 脚本scripts/detect/rules/copy/skipped-heading.ts6.4 KB
- 脚本scripts/detect/rules/copy/support/numbered-label.ts5.0 KB
- 脚本scripts/detect/rules/copy/support/page-text.ts1.7 KB
- 脚本scripts/detect/rules/copy/theater-slop-phrase.ts1.1 KB
- 脚本scripts/detect/rules/decoration/blinking-cursor.ts2.1 KB
- 脚本scripts/detect/rules/decoration/border-accent-on-rounded.ts539 B
- 脚本scripts/detect/rules/decoration/bounce-easing.ts4.6 KB
- 脚本scripts/detect/rules/decoration/buried-raster.ts3.1 KB
- 脚本scripts/detect/rules/decoration/codex-grid-background.ts1.2 KB
- 脚本scripts/detect/rules/decoration/design-system-radius.ts1.1 KB
- 脚本scripts/detect/rules/decoration/gpt-thin-border-wide-shadow.ts2.7 KB
- 脚本scripts/detect/rules/decoration/hard-offset-shadow.ts1.1 KB
- 脚本scripts/detect/rules/decoration/hero-eyebrow-chip.ts711 B
- 脚本scripts/detect/rules/decoration/icon-tile-stack.ts3.1 KB
- 脚本scripts/detect/rules/decoration/index.ts1.3 KB
- 脚本scripts/detect/rules/decoration/kicker-above-heading.ts2.5 KB
- 脚本scripts/detect/rules/decoration/marquee.ts2.6 KB
- 脚本scripts/detect/rules/decoration/organic-clip-path.ts1.9 KB
- 脚本scripts/detect/rules/decoration/pulsing-dot.ts3.9 KB
- 脚本scripts/detect/rules/decoration/repeating-stripes-gradient.ts929 B
- 脚本scripts/detect/rules/decoration/shape-assembled-illustration.ts2.8 KB
- 脚本scripts/detect/rules/decoration/side-tab.ts703 B
- 脚本scripts/detect/rules/decoration/support/appearance.ts3.8 KB
- 脚本scripts/detect/rules/decoration/support/assert-cases.ts1.2 KB
- 脚本scripts/detect/rules/decoration/support/borders.ts6.3 KB
- 脚本scripts/detect/rules/decoration/support/clip-geometry.ts5.5 KB
- 脚本scripts/detect/rules/decoration/support/css-candidates.ts2.5 KB
- 脚本scripts/detect/rules/decoration/support/curve-samples.ts2.0 KB
- 脚本scripts/detect/rules/decoration/support/gradient-pattern.ts1.6 KB
- 脚本scripts/detect/rules/decoration/support/keyframes.ts5.5 KB
- 脚本scripts/detect/rules/decoration/support/labels.ts4.0 KB
- 脚本scripts/detect/rules/decoration/support/raster-state.ts3.1 KB
- 脚本scripts/detect/rules/index.ts446 B
- 脚本scripts/detect/rules/layout/body-text-viewport-edge.ts3.8 KB
- 脚本scripts/detect/rules/layout/clipped-overflow-container.ts809 B
- 脚本scripts/detect/rules/layout/content-hidden-at-rest.ts4.4 KB
- 脚本scripts/detect/rules/layout/cramped-padding.ts5.7 KB
- 脚本scripts/detect/rules/layout/edge-flush-cards.ts2.8 KB
- 脚本scripts/detect/rules/layout/first-viewport-column-overflow.ts2.7 KB
- 脚本scripts/detect/rules/layout/heading-rhythm.ts1.7 KB
- 脚本scripts/detect/rules/layout/index.ts1.1 KB
- 脚本scripts/detect/rules/layout/monotonous-spacing.ts1.8 KB
- 脚本scripts/detect/rules/layout/nested-cards.ts2.3 KB
- 脚本scripts/detect/rules/layout/straggler.ts1.5 KB
- 脚本scripts/detect/rules/layout/support/cards.ts6.7 KB
- 脚本scripts/detect/rules/layout/support/clipping.ts4.4 KB
- 脚本scripts/detect/rules/layout/support/declared-mockups.ts4.2 KB
- 脚本scripts/detect/rules/layout/support/geometry.ts4.7 KB
- 脚本scripts/detect/rules/layout/support/hidden-interface.ts2.2 KB
- 脚本scripts/detect/rules/layout/support/layout-cases.ts1.3 KB
- 脚本scripts/detect/rules/layout/support/line-breaks.ts1.6 KB
- 脚本scripts/detect/rules/layout/support/motion.ts3.7 KB
- 脚本scripts/detect/rules/layout/support/padding.ts4.7 KB
- 脚本scripts/detect/rules/layout/support/rhythm.ts8.3 KB
- 脚本scripts/detect/rules/layout/text-occlusion.ts4.6 KB
- 脚本scripts/detect/rules/layout/text-overflow.ts4.5 KB
- 脚本scripts/detect/rules/layout/unbalanced-heading.ts1.2 KB
- 脚本scripts/detect/rules/layout/viewport-reflow.ts1.7 KB
- 脚本scripts/detect/rules/source/ai-color-palette.ts830 B
- 脚本scripts/detect/rules/source/aphoristic-cadence.ts927 B
- 脚本scripts/detect/rules/source/border-accent-on-rounded.ts1.4 KB
- 脚本scripts/detect/rules/source/bounce-easing.ts1.6 KB
- 脚本scripts/detect/rules/source/broken-image.ts1.0 KB
- 脚本scripts/detect/rules/source/codex-grid-background.ts1.3 KB
- 脚本scripts/detect/rules/source/dark-glow.ts1.1 KB
- 脚本scripts/detect/rules/source/em-dash-overuse.ts892 B
- 脚本scripts/detect/rules/source/gradient-text.ts727 B
- 脚本scripts/detect/rules/source/gray-on-color.ts945 B
- 脚本scripts/detect/rules/source/index.ts1.1 KB
- 脚本scripts/detect/rules/source/marketing-buzzword.ts1.4 KB
- 脚本scripts/detect/rules/source/marquee.ts707 B
- 脚本scripts/detect/rules/source/monotonous-spacing.ts1.6 KB
- 脚本scripts/detect/rules/source/overused-font.ts1.4 KB
- 脚本scripts/detect/rules/source/radial-halo.ts755 B
- 脚本scripts/detect/rules/source/side-tab.ts3.7 KB
- 脚本scripts/detect/rules/source/support/accent-scans.ts4.6 KB
- 脚本scripts/detect/rules/source/support/check-source.ts377 B
- 脚本scripts/detect/rules/source/support/corners.ts5.4 KB
- 脚本scripts/detect/rules/source/support/css-effects.ts3.6 KB
- 脚本scripts/detect/rules/source/support/css-scopes.ts5.3 KB
- 脚本scripts/detect/rules/source/support/image-tags.ts3.9 KB
- 脚本scripts/detect/rules/source/support/js-punctuation.ts1.1 KB
- 脚本scripts/detect/rules/source/support/markup-scope.ts1.9 KB
- 脚本scripts/detect/rules/source/support/source-color.ts2.5 KB
- 脚本scripts/detect/rules/source/support/source-shadow.ts923 B
- 脚本scripts/detect/rules/source/support/source-text.ts4.6 KB
- 脚本scripts/detect/rules/typography/all-caps-body.ts848 B
- 脚本scripts/detect/rules/typography/design-system-font-size.ts1.1 KB
- 脚本scripts/detect/rules/typography/design-system-font.ts1.2 KB
- 脚本scripts/detect/rules/typography/extreme-negative-tracking.ts1.0 KB
- 脚本scripts/detect/rules/typography/flat-type-hierarchy.ts1.5 KB
- 脚本scripts/detect/rules/typography/index.ts1.0 KB
- 脚本scripts/detect/rules/typography/italic-serif-display.ts1.9 KB
- 脚本scripts/detect/rules/typography/justified-text.ts1.9 KB
- 脚本scripts/detect/rules/typography/line-length.ts1.8 KB
- 脚本scripts/detect/rules/typography/oversized-h1.ts1.3 KB
- 脚本scripts/detect/rules/typography/overused-font.ts2.5 KB
- 脚本scripts/detect/rules/typography/support/drawn-enlargement.ts2.4 KB
- 脚本scripts/detect/rules/typography/support/fading-text.ts2.4 KB
- 脚本scripts/detect/rules/typography/support/flex-runs.ts1.2 KB
- 脚本scripts/detect/rules/typography/support/font-family.ts1.7 KB
- 脚本scripts/detect/rules/typography/support/painted-text.ts5.7 KB
- 脚本scripts/detect/rules/typography/support/svg-size.ts2.6 KB
- 脚本scripts/detect/rules/typography/support/text-context.ts6.4 KB
- 脚本scripts/detect/rules/typography/support/text-lines.ts1.8 KB
- 脚本scripts/detect/rules/typography/support/type-hierarchy.ts1.9 KB
- 脚本scripts/detect/rules/typography/tight-leading.ts2.6 KB
- 脚本scripts/detect/rules/typography/tiny-text.ts1.4 KB
- 脚本scripts/detect/rules/typography/undersized-ui-text.ts1.9 KB
- 脚本scripts/detect/rules/typography/wide-tracking.ts1.7 KB
- 脚本scripts/detect/snapshot/collect.ts6.4 KB
- 脚本scripts/detect/snapshot/style-props.ts2.2 KB
- 脚本scripts/detect/testing/build-snapshot.ts5.2 KB
- 脚本scripts/detect/tsconfig.json522 B
- 脚本scripts/detect/types.ts4.9 KB
- 脚本scripts/perfection/accent-stripes/color.ts5.6 KB
- 脚本scripts/perfection/accent-stripes/css-parse.ts3.5 KB
- 脚本scripts/perfection/accent-stripes/declarations.ts7.3 KB
- 脚本scripts/perfection/accent-stripes/findings.ts1.3 KB
- 脚本scripts/perfection/accent-stripes/gradient.ts2.7 KB
- 脚本scripts/perfection/accent-stripes/lint.ts5.1 KB
- 脚本scripts/perfection/accent-stripes/markup.ts5.9 KB
- 脚本scripts/perfection/accent-stripes/selector.ts1.8 KB
- 脚本scripts/perfection/accent-stripes/tailwind.ts5.7 KB
- 脚本scripts/perfection/check-accent-stripes.ts1.6 KB
- 脚本scripts/perfection/check-draft-guard.ts1.8 KB
- 脚本scripts/perfection/collect-files.ts1.6 KB
- 脚本scripts/perfection/draft-guard/findings.ts789 B
- 脚本scripts/perfection/draft-guard/lint.ts1.4 KB
- 脚本scripts/perfection/draft-guard/rules.ts2.9 KB
- 脚本scripts/perfection/draft-guard/text-nodes.ts5.7 KB
- 脚本scripts/perfection/fixtures/accent-stripes/negative/exempt-states.css313 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/full-surface-gradients.css790 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/inline-ok.tsx355 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/neutral-and-flat.css403 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/pseudo-overlays.css290 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/tailwind-ok.tsx879 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/uniform-and-rings.css213 B
- 脚本scripts/perfection/fixtures/accent-stripes/negative/wide-blocks-and-hairlines.css259 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/accent-outlines.css250 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/accent-outlines.tsx342 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/apply.css70 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/border-top-card.css91 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/cva-variant.ts78 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/flat-stripe-side.tsx639 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/gradient-edges.css572 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/inline-styles.tsx215 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/inset-shadow.css112 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/non-visible-focus-and-nested.tsx280 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/pseudo-bar.css189 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/report-callouts.html435 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/split-rule-and-token.scss270 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/square-surfaces.css344 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/styled-components.tsx337 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/tailwind-cards.tsx302 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/tailwind-inset-and-style.vue233 B
- 脚本scripts/perfection/fixtures/accent-stripes/positive/tailwind-pseudo.html157 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/attr-lookalikes.tsx292 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/bound-values.tsx496 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/const-generics.tsx119 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/generics.tsx330 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/measured-stats.html249 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/plain-copy.html373 B
- 脚本scripts/perfection/fixtures/draft-guard/negative/state-copy.html388 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/attribute-edges.html319 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/components.tsx512 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/decorative-badge.vue158 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/emoji-icons.tsx169 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/jsx-edges.tsx54 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/promo-copy.html191 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/promo-copy.tsx149 B
- 脚本scripts/perfection/fixtures/draft-guard/positive/vanity-stats.html193 B
- 脚本scripts/perfection/lighthouse-audit.py6.4 KB
03 SKILL.md 正文
Frontend
This file routes a request to the rules under references/; the rules themselves live there. Treat the surface as a deliverable in its own right. "Clean and correct" is where the work starts, not where it ends: the target is what a top-tier product design team would put in front of customers, and a render that is tidy but visually plain does not pass. Design is never settled once and frozen; every pass over a surface is a chance to raise it. The working flow is ground -> brief -> build -> subtract -> verify, and the brief and subtraction steps exist to aim that craft, not to cap it.
Implementation work always loads the design ruleset and the perfection ruleset together, and both have to pass. A beautiful page that ships a heavy bundle fails. A perfect Lighthouse run on a page that looks generic fails too.
Phase 0 route
Before you touch a file, write down which references this request routes to, with one reason for each, and then read exactly that set. Naming them first makes the routing something a reviewer can check. Drifting past the routed set and building from memory is how generic output gets made. A reference you never named is one you chose to skip; one you named and never opened is a debt you still owe.
Mandatory first read for any UI work (implementation, styling, redesign, mockup, or a visual decision): references/design/README.md. It holds two gates that come before everything else: no components until a design-system file exists, and the React dev tools are installed by default on a React project.
Stack each of these on top of the first read when the request touches it:
| When the request involves | Also read |
|---|---|
| A new screen or flow, a redesign request, or building or reworking a design system | references/design/grounding.md first (step 0, Ground below) |
| Spatial structure: a new or reshaped region, shell, panel, split, list or grid, sticky bar, scroll container, "what goes where", "this breaks at X" | references/design/layout-skill.md for the mechanics, then references/design/stylegallery.md for the pattern contract and its Layout: line |
| Paged output: a PDF report, print stylesheet, headless-Chrome print pipeline, a deck printed to paper | references/design/print-paged-media.md |
| Interaction or motion: micro-interactions, transitions, gestures, hover/press/state feedback | references/design/interaction-skill.md; the beui.dev catalog is required reading for the nearest pattern |
| Hero atmosphere, an animated background, a typographic reveal, scroll storytelling, or card surface effects (spotlight, tilt, glow) | references/design/ambience-skill.md; the react-bits catalog is required, its retrofit checklist runs every time, and its code is never vendored |
| A tone neither catalog covers (AI-agent UI, charts, landing sections, brutalist or Tailwind-only builds) | references/design/component-catalogs.md |
| Writing, changing, or auditing frontend code | references/perfection/README.md + references/perfection/craft-floor.md + references/perfection/detect.md (+ react-perf-tooling.md before a React audit): Lighthouse 100 on real Playwright Chromium, never the Lighthouse CLI, won through architecture |
| A concrete palette, font, chart, landing-structure, or UX lookup, or a design system generated from keywords | references/ui-ux-db/README.md and its CLI; a lookup tool, never the posture |
Any work that creates or updates DESIGN.md, or an explicit ask about personas, critique, design debt, handoff, or synthetic user testing |
references/designpowers/README.md + lane-c-review.md. Lane C is the final reviewer for flatness and critique, and it fills the accessibility-constraint and accepted-debt sections. Other lanes load only when their phase applies |
Nearest-sibling shortcut (kept). A small change (a fix, one new control, a restyled component, a copy or spacing change) on a surface with no DESIGN.md may copy the nearest styled sibling instead of opening the full gate: read that sibling plus at most one design reference (the Layer A skill the project follows, or redesign-skill.md for "this looks bad"). The shared axioms still apply. If there is no styled sibling to copy, it is not a small change: take the workflow below.
Quick routes
Common requests and the set they load. Every route that ends in code also loads the design README and the perfection README.
| Request | Load |
|---|---|
| A landing page, no direction given | _INDEX.md shortlist -> one brand file + taste-skill (upgrade per README step 2 if the brief turns out expressive) |
| A page in a named brand's style ("like Linear", an Aside-style agent UI) | that brand's file + taste-skill |
| A premium, Stripe-like hero | stripe + soft-skill |
| Improving an existing dashboard | redesign-skill |
| Micro-interactions | add interaction-skill |
| A stunning hero, animated background, or headline reveal | add ambience-skill |
| Building from a screenshot or mock | image-to-code-skill + /visual-qa reference-fidelity mode |
| Site audit or speed work | perfection README (+ react-perf-tooling on React); no design files |
| A mobile mockup image, no code | imagegen-frontend-mobile (+ the brand if one is named) |
| A palette or font question | the ui-ux-db CLI |
| Placement is wrong or the layout breaks | layout-skill + stylegallery |
| "What do shipped apps in this space look like?" | lazyweb + _INDEX.md shortlist |
| Setting up a React project | design README + react-dev-tooling-skill |
| Strengthening the design workflow: personas, accessibility, debt, handoff | design README + designpowers README (+ perfection README if code follows) |
Shared axioms (always on)
- No
DESIGN.md, no UI work (the nearest-sibling shortcut is the one exception). Every colour, size, spacing, radius, and motion value traces to a token. - A concrete reference is the contract. Match its pixels, copy, component structure, and responsive intent unless the user accepts a deviation.
- Never weaken UX, and never flatten the surface, to buy a score or meet a deadline. Swapping rendered, lit, or layered material for flat fills or bare primitives counts as weakening. Get to 100 and keep the dimension.
- Icons come from one SVG set (Lucide, Heroicons, Radix, Phosphor). Never an emoji.
- No coloured edge bars and no accent outlines (rule in Draft guard below).
check-accent-stripes.tsmust exit 0 before visual QA, and pre-existing instances on any surface you touch are removed in the same change. - Animate only
transform,opacity, andfilter. - Motion has a cause. Every animation and hover maps to a real interaction, state change, or affordance. Motion that only decorates is left out.
- Done means
/visual-qapassed: its platform-guideline checklist, its full capture matrix (every page and sibling surface, phone and desktop, light and dark, scrolled to the end, motion driven and inspected), and its dual-reviewer completion gate on fresh evidence. This skill keeps no visual checklist of its own beyond the build rules below.
Design-system workflow: pick one branch before any UI code
Every implementation picks exactly one branch before the first UI edit (the nearest-sibling shortcut aside).
-
A concrete reference exists. It is the visual contract.
- Static image (screenshot, generated mock, Stitch or imagen output, Figma export, annotated packet): read
image-to-code-skill.md. Pull the exact tokens, geometry, copy, spacing, states, and responsive intent intoDESIGN.md, then build reusable primitives from it. - Live URL or named site: read
clone-from-url.md. Drive a real browser and read computed styles (tokens, geometry, default/hover/focus/active states, transitions and keyframes, downloaded assets) intoDESIGN.md, then build the primitives in code. - Either way the finish is
/visual-qareference-fidelity mode: a pixel comparison plus evidence that the result is an extensible system rather than a one-off match.
- Static image (screenshot, generated mock, Stitch or imagen output, Figma export, annotated packet): read
-
Greenfield, no reference. Research is a build step with deliverables, not optional exploration; ignore any instinct that "enough" has been explored or that a wave cap applies. Run all four lanes in parallel before
DESIGN.mdis written, dispatching them as concurrent subagents through the harness'stasktool, ateam_*team, or aworkflowwhen those are available.DESIGN.mdopens with## 0. Research Log, one line per lane; a lane with no line did not run. Skip a lane only when its tool or network is unavailable, and write the skip into the log.- Embedded references: shortlist 2-3 brands from
_INDEX.md, then read one Layer A and one Layer B file in full (no sliced reads). Log the shortlist, the pick, and why.open-designonly when nothing in the curated set fits; ui-ux-db for palette and type questions. - Lazyweb: read
lazyweb.mdfirst and run its recipe exactly as written, never ad-hoc calls. Log the queries, how many screens you actually looked at, and the layout grammar you took (never pixel copies). - StyleGallery: fetch the matching pattern and write its
Layout:line; log the pattern and the element that owns the scroll. - Imagen: generate 2-3 drafts seeded with the loaded Layer A + B tokens, choose one, and treat it as the fidelity contract. Log the paths and the choice.
Commit a direction. For an expressive brief, sketch 2-3 genuinely different directions and take the boldest one the loaded references can defend. Never blend them; the blend is the generic default. The reference's distinctive material survives extraction with its source named: the real elevation recipe, a multi-stop colour ramp, explicit display, body, and mono faces, and one signature interaction. Self-check: if this
DESIGN.mdcould describe any generic dark SaaS, redo it.Synthesise. Sources are material: tokens, layout grammar, component anatomy, states, motion, taste decisions. Inventory the content blocks, give each block one job (hook, explain, prove, compare, convert, navigate, retain), and order sections along the visitor's decision path. Never copy logos, trademarked imagery, or brand copy. Then run the Primitive Showcase Gate.
- Embedded references: shortlist 2-3 brands from
-
DESIGN.mdor a component system already exists. Read it and follow it. Update it before implementing only when the work needs something it lacks: a token, primitive, state, motion rule, accessibility constraint, accepted debt, or fidelity requirement. A layout change still gets itsLayout:line. -
Existing UI, no
DESIGN.md, no reusable components (and not a small change). STOP and ask one focused question: keep the current look with copy-nearby styling, or extract aDESIGN.mdand components first? Never pick silently.
Gates, no exceptions: the Design System Gate (DESIGN.md before components) and the Primitive Showcase Gate (primitives and their states pass visual QA in a showcase before any product screen). Details in references/design/README.md.
DESIGN.md is the implementation contract. Tokens, type, spacing, primitives, motion, responsive behaviour, accessibility constraints, and accepted debt are named there before any code uses them. Primitives, states, and screens are verified with real /visual-qa evidence, and for significant work the decisions, evidence, and open debt go to /review-work.
0. Ground: measure the gap before deciding anything
Triggers: a new screen or flow, a redesign request, or building or reworking a design system. On any of them, run references/design/grounding.md before every other step. Read the guideline source end to end, not in slices. Write down the ideal state for the personas and journeys the surface serves. Record each gap between that ideal and today's surface as a row in a gap ledger. The brief and the build exist to close ledger rows. A small change skips grounding, but when DESIGN.md already carries a ledger, read it first.
1. Brief: decide what the screen is for before drawing it
Write this for every screen you build or change, into DESIGN.md section 5 beside the screen's components (the Layout: line goes under section 4, as references/design/stylegallery.md says), or into the change description when the project has no DESIGN.md. The build follows it; /visual-qa checks the rendered screen against it.
- Primary action. Exactly one. It gets the prominent style; its peers differ by style, never by size.
- Information priorities 1-3. In reading order. Priority 1 is the first thing the eye lands on.
- Left out on purpose. What a generated version of this screen would add and this one will not: the decorative badge, the stat tile nobody acts on, the subtitle under every heading, the callout that repeats the banner.
- Required content. Every input, datum, label, and piece of copy the request, the reference, or the existing screen requires, listed by name. Subtraction is checked against this list; nothing on it may disappear or merge.
- Data shape -> component (data screens): several things to compare -> table; a ranking -> ordered list; one verdict -> conclusion banner first, evidence under it; many items -> filter + results grid; one object -> detail view with its primary action. Choose from this before reaching for cards.
- Layout line (any layout or structure change, an existing
DESIGN.mdincluded): oneLayout:line in the format given inreferences/design/stylegallery.md, written before the code. - Before captures (changing an existing UI): fix the cases now, states x widths, and capture
beforethrough/visual-qaBefore/after mode BEFORE the first edit. A baseline reconstructed later is not a baseline.
2. Build
Build against DESIGN.md (or, under the nearest-sibling shortcut, the sibling) and the shared axioms. These rules are what /visual-qa will check afterwards; build to them so it finds nothing new.
-
Order for a new system. Colour roles first, for both themes; then type and spacing; then components. Every component starts from shadcn/ui structure, or the equivalent in the project's own kit, and is re-skinned through tokens. Never invent a component shape from nothing.
-
Hit targets. Touch layouts: at least 44x44 pt (44 CSS px) per interactive element, 8-12 pt between neighbours. Pointer-only: about 10 px beyond the glyph, and never under 24x24 CSS px (WCAG 2.5.8). Grow the hit area with padding or a pseudo-element, never the glyph; adjacent bar buttons share continuous hit areas.
-
Controls hold their size across states. A control occupies the same box in every state. Labels, icons and spinners swap inside slots that exist in every state:
min-widthfits the longest label, and the spinner sits over the hidden label rather than beside it. Width, height and padding never change between states, and an arrow or spinner that appears adds no padding. -
Hierarchy. The brief's primary action is the one prominent control; the most important content sits top-leading in reading order; each screen's title says what it is; neither a destructive action nor Cancel is the Enter default.
-
States. A control ships with hover, pressed, focus-visible, and disabled states beside its default. A data view ships empty (offering the next action), loading (a placeholder at once, a spinner only past about a second), error (cause beside the object), and offline.
-
Keyboard. Every action reachable in reading order with a visible focus ring; Escape closes the topmost overlay; Enter triggers the non-destructive default; standard shortcuts keep their meaning; icon-only controls carry an accessible name and a tooltip; a sticky bar or overlay never covers the focus ring.
-
Motion. Per the axioms: caused, compositor-only, interruptible, never gating input, a cross-fade under
prefers-reduced-motion. -
Browser-drawn surfaces. The caret, text selection, focus ring, any scrollbar that shows, the link-underline offset and tabular figures are themed from the palette in both themes, never left at the browser default.
references/perfection/craft-floor.mdlists the CSS property for each. -
Type and spacing floor. Heading steps (display to h3, and the smallest heading to body) are at least 1.25x apart; body-family roles that sit closer differ in weight, colour or case. Vertical rhythm: a heading's top margin to its bottom margin is 1.5:1 or more, and spacing between groups to spacing within a group is 2:1 or more. Desktop line length for body copy: 65-75 characters. Display stays at or under 6rem, tracking no tighter than -0.04em. A selected style route may substitute its own numbers. Verify against computed styles.
-
Surface. The hero focal object and the background carry depth (see the design README's focal-object doctrine); a flat fill is a floor, not a finish.
Draft guard: tells kept out of the first draft
Some tells regenerate by default, so they are kept out of the first draft rather than left for QA to find.
- No coloured bar on one side of a box, rounded or square, and no accent outline on a rounded card, decorative or state. A card, callout, warning, cover block, stat tile, testimonial, alert, or list row never carries a coloured stripe on one side:
border-left: 4px solid <accent>orborder-l-4 border-indigo-500, a coloured::before/::afterbar inside it, an insetbox-shadowstripe, or a hard-stop gradient band or gradientborder-imagealong one edge. A rounded card never wears a 2px-or-wider accent outline either (border: 2px solid var(--primary),ring-2 ring-indigo-500, an inset ring). Both read as generated whether they decorate the box or mark it selected, focused, or active, and an accent underline under a heading, tab, or link counts too: use a neutral 1px rule, or set the text itself in the accent ink. Give the card its identity another way: a tonal surface, a heading in the accent ink, a leading glyph, or more space between groups. Encode state with one ink at many alphas, a check glyph for selection, and tonal layering for focus. Still allowed: keyboardfocus-visiblerings, validation states on form inputs, neutral 1px hairlines and dividers, table rules, and a blockquote's neutral rule. This covers pre-existing instances on any surface you touch. - Lint before visual QA (required). Run
bun $SKILL_DIR/scripts/perfection/check-accent-stripes.ts <changed files or dirs>on every stylesheet, component, and HTML file you wrote, including a report or figure you will print, screenshot, or render. Exit codes: 0 clean, 1 findings, 2 usage error or unreadable target. Exit 1 means a stripe or outline is in the draft: remove it, do not argue with the finding. - Broader draft lint (also run).
bun $SKILL_DIR/scripts/perfection/check-draft-guard.ts <changed files or dirs>covers the stripes plus promotional filler copy, emoji used as icons, hype badges, and hard-coded vanity numbers in stat tiles. Treat its findings the same way. - Detect after lint, once the page renders (required). Run the detect SDK at 1440 and at 390 with reflow on:
detectPage({ kind: "url", url }, { reflow: true }), orbun $SKILL_DIR/scripts/detect/cli.ts --reflow <url-or-html-files>;references/perfection/detect.mddocuments it. It reports contrast against the backdrop that is actually painted, the heading sequence, type ratios, overflow, and decorative and copywriting tells. Clear every error and warning before/visual-qa, and write down a decision for each advisory. The order is lint -> detect ->/visual-qa. - No invented proof. Testimonials, quotes, logos, ratings, user counts and prices come from the project or not at all. With no real proof, cut the section or ship an empty, labelled slot for the owner to fill. A "sample" testimonial is a fabricated one.
- No props. Tilted devices, floating reassurance cards, decorative coordinates, sparkles and ornaments that mean nothing are out. A product preview shows a real state of the product, with text legible at the size it renders.
- No repeated formula. A heading treatment (serif with an italic accent phrase, a gradient word, a headline-and-subtitle pair) or an image is used once, where it means something; it does not repeat section after section.
- No dated or borrowed surface. Heavy drop shadows, neumorphism, glass or blur panels (they read as lifted from a popular open-source chat UI), mesh-gradient heroes and 2019-era SaaS illustrations stay out.
DESIGN.mdsection 7 defines the materials; any material beyond it needs the brief or a concrete reference to supply it. - No generated scaffold. No kicker over a heading, no icon tile over a heading in a grid of equal cards, no hero metric, no card inside a card, no neutral gray on colour, no monospace costume, no zero-offset coloured glow used as a shadow.
references/perfection/craft-floor.mdgives the replacements and the rules for a brief or route to switch one back on. - No decorative badge without a state behind it. A pill, chip, or tag appears only when it carries a value that can change: a status, a count, a category the user filters by.
- No stat tile without a decision behind it. A number earns a tile when someone acts on it.
- No subtitle under every heading. Keep a subtitle only where the heading alone would be misread.
- One fact, one place. A banner and a callout that restates it, a summary card and a table row with the same figure, a label repeated as its placeholder: keep one.
- No promotional copy. Interface copy states what a thing is or does. "Seamlessly", "effortlessly", "smart", "powerful", "at a glance", "supercharge", and their Korean counterparts ("한눈에", "손쉽게", "스마트한", "효율적으로", "간편하게") are marketing: rewrite as the plain fact or delete.
3. Subtract
After the draft renders and the lints exit 0, walk every element and ask what the user could not do or know without it. No answer: delete it, whatever the reference or the previous version showed. Then open the brief's required-content list and confirm every item is still on the screen by name, with its own control or field. Subtraction that merges two required inputs, drops a datum, or shortens required copy is a regression, not a cleanup. Record removals under "Left out on purpose". Subtraction removes elements without a job; it never strips depth or material from elements that keep one.
Then count the controls. Secondary actions that are rarely needed move into a menu or onto the object they act on. Separate groups with whitespace, not boxes or borders. The goal is fewer controls with room to breathe.
Fix passes stay scoped. Once the first build exists, every fix declares one change and the regions it owns (a token fix may own every region); everything outside those regions stays untouched. A pass that tries to improve the whole page regresses the parts that were already right.
4. Verify
Done is the /visual-qa gate, not your own glance. Hand it the brief (primary action and priorities), the Layout: line (layout contract), the required-content list, and, for a changed surface, the before set so the before/after pair shows what improved. Its review loop is bounded (its own step sets the round budget); within that budget, defects and flatness both earn another round on every brief, not only expressive ones. A bug-free render that still looks generic is not done. Report done only when visual QA passed on fresh evidence through its dual-reviewer gate and nothing on the surface is still at minimum-effort quality; if the budget runs out first, report the remaining flatness or defects as open debt rather than as done. A concrete reference runs reference-fidelity mode. Decisions, evidence, and unresolved debt go to /review-work for significant work.
WCAG 2.2 AA result (required for every UI or design-system deliverable). Probe each row in a real browser and put the table in the PR body, the change description, or the reply: one row per item, each PASS, FAIL or N/A with its evidence. A FAIL is fixed, or, once the user signs off, logged as accepted debt in DESIGN.md section 8.
| Row | Probe |
|---|---|
| Contrast [WCAG 1.4.3, 1.4.11] | Normal text 4.5:1, large text 3:1, icons and control borders 3:1; placeholders count; both themes. |
| Focus [WCAG 2.4.7, 2.4.11] | Tab through every control and capture each ring. None missing, none fully hidden by a sticky bar or overlay (AA); aim for none partly covered either. |
| Target size [WCAG 2.5.8] | At least 24x24 CSS px. A smaller target passes only if a 24 px circle centred on it touches no other target and no other small target's circle. Exempt: inline links inside sentences, unstyled browser-drawn targets, a passing equivalent with the same function, and a size the information itself requires. |
| Keyboard [WCAG 2.1.1, 2.1.2] | Every action works from the keyboard; focus is never trapped. |
| Reflow and text spacing [WCAG 1.4.10, 1.4.12] | At 320 CSS px wide nothing scrolls sideways, except content that is inherently two-dimensional (a map, a data table, a diagram). With word-spacing 0.16em, letter-spacing 0.12em, line-height 1.5 and paragraph spacing 2em forced, nothing clips or overlaps. |
| Dragging, auth, help, entry [WCAG 2.5.7, 3.3.8, 3.2.6, 3.3.7] | Every drag has a single-pointer alternative. Sign-in poses no cognitive test without an alternative (paste and password managers work, or recognition of objects or personal content is used). Help sits in the same place on every page. Nothing is asked twice within one flow. N/A only when none of these is present. |
| State-stable controls | getBoundingClientRect() on each control in idle, disabled, hover, success and loading returns the same size. |
| System and surfaces | Colour roles are in DESIGN.md before any component; each component names its shadcn/ui or project-kit source; a grep of the built CSS finds no mesh gradient, no backdrop-filter and no neumorphic two-shadow pair, unless the brief or a reference supplied it. |
On the grounded route, close every ledger row on its own, each with before and after captures and the check that proves the fix.
The reference library (references/): four rulesets
design
references/design/ holds the architecture file, 12 Layer A taste skills, 70 Layer B brand systems, and the project-original routers. _INDEX.md catalogs them with mood-to-brand mappings; README.md carries the gates, the style routing, stacking rules, and Phase Final.
Layer 0, architecture:
| File | Read when |
|---|---|
design-system-architecture.md |
No DESIGN.md exists yet, or a system is being extracted from existing code (8 sections plus the greenfield Research Log and the grounding gap ledger) |
Layer A, style skills (pick AT MOST ONE; they encode opposing philosophies):
| File | Read when the brief says |
|---|---|
taste-skill.md |
Operational or neutral UI: internal tools, dashboards, admin, "just make it usable". Do not settle here when the brief signals glossy, premium, or startup-grade craft: those go to soft-skill or gpt-tasteskill. |
minimalist-skill.md |
"minimal", "clean", "Notion-like", "Linear-like", "editorial" |
soft-skill.md |
"premium", "luxury", "calm", "elegant", glossy or glass surfaces; always pair a high-craft Layer B (supabase, linear.app, vercel, stripe) |
gpt-tasteskill.md |
"Awwwards-tier", "wow factor", "cinematic", "scroll-triggered"; stacks ambience-skill.md |
brutalist-skill.md |
"brutalist", "raw", "Swiss", "experimental", "anti-design" |
redesign-skill.md |
Improving EXISTING UI; audit first; never on greenfield |
image-to-code-skill.md |
A supplied or generated image is the contract |
Layer A, stacking rows (stack on any style skill):
| File | Adds |
|---|---|
output-skill.md |
Output completeness: no placeholders, no TODO stubs |
stitch-skill.md (worked export: stitch-design-example.md) |
Google Stitch compatibility or a DESIGN.md export |
interaction-skill.md |
Interaction and motion mechanics from the beui.dev catalog |
ambience-skill.md |
Atmosphere, reveals, and scroll scenes from the react-bits catalog |
layout-skill.md |
Scroll ownership and CSS-contract mechanics (pairs with stylegallery.md) |
imagegen-frontend-web.md / imagegen-frontend-mobile.md / imagegen-brandkit.md |
Image output only; never code. image-to-code-skill.md pairs with exactly one of them |
Layer B, brands: when the user names a brand or site, load references/design/<brand>.md as the token source of truth: aside apple stripe linear.app notion vercel claude figma airbnb nike tesla spotify raycast revolut and ~56 more in _INDEX.md. Apply the tokens to the project's own content; never copy logos or trademarked imagery. A missing brand falls back to a Layer A mood match or the open-design skill.
React dev tooling:
| File | Read when |
|---|---|
react-dev-tooling-skill.md |
A React project is missing react-grab, react-scan, or react-doctor; or for per-framework snippets and the dev-only gate |
perfection
| File | Holds |
|---|---|
perfection/README.md |
The seven tenets: real-browser audits only, 100 in every category, fix at the architecture, never weaken UX for points, design-system compliance, the audit report format |
perfection/react-perf-tooling.md |
Playwright + playwright-lighthouse + react-scan/lite injection and per-route render budgets. A perfect score with 30+ unnecessary renders on a route is not done |
Audit CLI, production build only:
uv run $SKILL_DIR/scripts/perfection/lighthouse-audit.py https://localhost:3000
Always run both the mobile and desktop presets, 3-5 runs each, report the median, and diagnose from the JSON output rather than the summary.
ui-ux-db
A lookup tool for palettes, type, charts, landing structures, and UX rules; README.md documents the CLI and the master-plus-overrides persistence pattern. The script finds data/ relative to its own location, so run it from the user's project directory: --persist writes design-system/ into the current directory, and the skill directory may live inside a signed, read-only app bundle. -B stops Python from writing bytecode there.
python3 -B $SKILL_DIR/references/ui-ux-db/scripts/search.py "<query>" --design-system -p "Project" # generate a design system
python3 -B $SKILL_DIR/references/ui-ux-db/scripts/search.py "<query>" --domain <domain> # one domain
python3 -B $SKILL_DIR/references/ui-ux-db/scripts/search.py "<query>" --stack <stack> # stack-specific guidance
Domains: product style typography color landing chart ux react web prompt
Stacks: html-tailwind (default), react nextjs vue svelte astro swiftui react-native flutter shadcn jetpack-compose
designpowers
references/designpowers/README.md routes the pinned designpowers corpus (personas, accessibility and cognitive constraints, critique, debt, handoff, synthetic user testing, motion, role prompts). Its output is distilled into DESIGN.md first, then into the implementation contract. It replaces nothing: not this skill, /visual-qa, the harness's plan and execute commands, or /review-work.
When to load something else instead
| Situation | Load |
|---|---|
Brand or style outside the 70 in references/design/, or the user says "Open Design" |
open-design skill: the local open-design library (137+ design skills, 150+ design systems) |
| Driving a browser for captures | visual-qa skill (and ultimate-browsing for signed-in or bot-scored pages) |
| Pure TypeScript or logic work with zero visual surface | programming skill alone; this skill adds nothing there |
Activation
Use for any frontend, web UI, UX, visual, design, styling, layout, animation, performance, accessibility, or SEO work, and for every HTML/CSS/SVG artifact that ends up as a PDF, print page, report, figure, diagram, slide, or image: building, redesigning, auditing, or generating mockups. Not for backend, CLI, or pure-logic tasks with no visual surface.
04 同仓库更多 Skills
visualize
Build a single self-contained HTML chart, table, diagram or small dashboard that is shown inline next to a reply, when it reads better than prose. Covers offline-only pages, host theme colours, traceable numbers, lint, and looking at the rendered page in light/dark and phone width before showing it. Load before any call that displays HTML to the user.
onboarding
Guide a new user through their first mhc conversation. Give a short tour of what mhc adds to a plain coding agent, based on what was found on this machine. Optionally move their setup over from another coding agent. With consent, learn from their past agent sessions and estimate what prompt caching saves on their real workload. Remember facts only after they agree, and offer to write AGENTS.md when the current repository clearly lacks agent instructions. Use on first launch, after `mhc --onboard`, or when the user asks to get started or be shown around.
give-me-tips
Explains mhc tips in depth. Use when the user quotes or asks about a "Tip:" line from the mhc terminal (at startup or while the agent is working), names a tip id, asks how a feature a tip advertised really works, asks which tips exist or which ones they personally can see, wonders why a tip keeps or never appears, or wants tips switched off. Pulls the live tip list with `mhc --list-tips`, reads the user's settings.json to work out which tips are visible to them, then reads the mhc source behind the feature so the answer describes real triggers, mechanics, settings and limits instead of repeating the one-line hint.
dag-library
Save a multi-agent workflow graph under a name and start it again later (on demand or on a schedule) without retyping the definition. Use when the user wants to keep, re-run, or repeat a graph by name; not for designing a brand-new one-off graph.
ast-grep
Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.
adversarial-plan
High-rigor planning for risky or architecture-heavy changes. Five hostile critic agents argue over the request for three rounds (findings, cross-attack, defend/concede); only points that survive are passed to a dedicated planner, which writes the actual plan. Use when the user asks for an adversarial, red-team, or cross-critiqued plan, or for maximum-rigor planning. Not for small, well-understood tasks.