AGENT SKILL

design-build

Composite skill — design, scaffold, build, and verify a UI in one workflow. Chains ui-ux-pro-max or web-design-guidelines (audit/principles) → shadcn or tailwind-design-system (component scaffold) → impeccable or frontend-design (build) → webapp-testing (verify). Use when the task is "build this page", "design and implement X", or any new UI surface.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 1
Forks
1

01 前言 Front Matter

name
design-build
triggers
[ "design-build", "ui-build-requests", "design" ]
description
Composite skill — design, scaffold, build, and verify a UI in one workflow. Chains ui-ux-pro-max or web-design-guidelines (audit/principles) → shadcn or tailwind-design-system (component scaffold) → impeccable or frontend-design (build) → webapp-testing (verify). Use when the task is "build this page", "design and implement X", or any new UI surface.

02 资源文件 1

03 SKILL.md 正文

Design Build

End-to-end UI workflow that runs design, scaffolding, implementation, and verification in one chained pass instead of four separate skill invocations.

Auto-invocation triggers

  • User asks to "build", "implement", "design and code", or "create a page/screen/component"
  • Work involves new UI surface (route, screen, modal, dashboard tile)
  • Existing UI is being significantly redesigned, not just edited

Workflow

Phase 1 — Design context (always)

  • If the project has design tokens/system: invoke web-design-guidelines (audit-mode) to extract the relevant patterns
  • If greenfield aesthetic decision: invoke ui-ux-pro-max or frontend-design for art-direction guidance
  • Output: brief on visual hierarchy, palette, typography choices, layout pattern

Phase 2 — Scaffold (always)

  • If shadcn/components.json present: invoke shadcn to add required components
  • Else if Tailwind: invoke tailwind-design-system to generate the structural primitives
  • Else: scaffold from project conventions detected in repo

Phase 3 — Build (always)

  • Invoke impeccable for production UI work, or frontend-design for art-directed / experimental UI
  • Implement against the Phase 1 design + Phase 2 scaffold
  • Use real project conventions (file layout, import paths, state lib)

Phase 4 — Verify (always)

  • Invoke webapp-testing for browser-level verification: snapshot, accessibility check (axe-core), console errors, responsive breakpoints
  • If accessibility violations or console errors: loop back to Phase 3 with the report

Reconciliation

Output a build summary:

DESIGN BUILD — <surface name>
  Design:    <patterns chosen, source skill>
  Scaffold:  <components added>
  Built:     <files created/modified>
  Verified:  <a11y score, console clean Y/N, breakpoints tested>
  Screenshot: <path>

Outputs / Evidence

  • Design rationale (1 paragraph)
  • Files created/modified
  • Browser screenshot at primary breakpoint
  • Accessibility report
  • Console clean confirmation

Failure / Stop Conditions

  • Phase 1 cannot detect design system AND the user gave no aesthetic direction → ask one consolidated question (visual style + reference) before continuing
  • Phase 4 finds blocking a11y violations → fix in Phase 3, do not declare done
  • Browser/Playwright not available → Phase 4 falls back to static checks; mark verify as partial, recommend manual smoke test

04 同仓库更多 Skills

LucasSantana-Dev
LucasSantana-Dev/forgekit

token-audit

Audit historical Claude Code token usage from JSONL session files — shows total spend, cache hit rates, top costly sessions, weekly trends, and where tokens are going. Run after heavy sessions or weekly to measure optimization impact. Answers how many tokens a session used, how expensive was that session, session cost, and token usage report.

★ 1
LucasSantana-Dev
LucasSantana-Dev/forgekit

smart-model-route

Auto-classify prompt complexity via Haiku (with heuristic fallback) and inject model routing hints for Agent tool calls. Wired as a UserPromptSubmit hook — fires on every prompt, routes low tasks to Haiku, standard to Sonnet, complex to Sonnet with thorough reasoning, and critical (security/arch/migrations) to Opus. Handles model selection, for example choose model by task complexity.

★ 1
LucasSantana-Dev
LucasSantana-Dev/forgekit

smart-commands

Decision guide for when to proactively use Claude Code slash commands — /think, /model, /compact, /clear. Use when choosing whether to invoke a command before or during a task, or when a complexity-classifier hook has flagged a task as high or critical. Pairs with the complexity-classifier UserPromptSubmit hook. Answers when to compact, should I switch models, and whether to use extended thinking. Use to pick the right /model command and switch model.

★ 1
LucasSantana-Dev
LucasSantana-Dev/forgekit

spec-ship

暂无简介

★ 1
LucasSantana-Dev
LucasSantana-Dev/forgekit

spec-new

Create a committed per-feature spec under `docs/specs/YYYY-MM-DD-<slug>/{spec,tasks}.md` with frontmatter (status, created, owner, pr, tags). Promotes an ephemeral `.claude/plans/<name>.md` into a persistent, searchable artifact. Use when starting a feature that's larger than a one-shot PR.

★ 1
LucasSantana-Dev
LucasSantana-Dev/forgekit

roadmap-refresh

Regenerate `docs/roadmap.md` for a repo from all specs under `docs/specs/` + their frontmatter (status, tags, pr). Produces Now/Next/Recently-shipped sections. Run after creating / shipping a spec, or at the start of a new session for orientation.

★ 1