/lstack:frontend-designfrom lstack
Builds production-grade frontend interfaces with distinctive aesthetics and working code. Use for UI components, pages, or frontend features. Includes design thinking, visual checks, and contrast verification.
Ships in lstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create distinctive, production-grade frontend interfaces that avoid the generated-looking defaults named under Avoid in references/aesthetics-guide.md. Implement real working code with deliberate aesthetic choices.
Trigger this skill when the user asks to:
references/system-defaults.md). If the work extends an existing codebase, also read its framework, tokens, and component patterns before proposing anything.BLOCKED Final Report.references/aesthetics-guide.md, references/system-defaults.md and the Quick rules in references/usability-guide.md. Run Repo Sync Before Edits. Then implement the code, adding a short comment at each non-obvious design decision (font pairing, token mapping, motion timing). Finish with the subtraction pass: remove every decoration that neither the brief, the rules file, nor the approved direction names.references/system-defaults.md: screenshots at phone and desktop width (dark mode and the production build when they apply), each inspected against the ban table, plus an overflow check. With no browser tool, inspect the CSS and record the visual check as untested.build: not run (no command).Run this once, before the first file write in step 6. The sync target is the directory the code is written to.
repo="$(git -C "<target dir>" rev-parse --show-toplevel)". If it fails, skip the sync and record sync: skipped (not a git repo).git -C "$repo" remote get-url origin. If it fails, skip steps 3–7 and record sync: skipped (no origin).branch="$(git -C "$repo" rev-parse --abbrev-ref HEAD)". If it prints HEAD, skip steps 4–7 and record sync: skipped (detached HEAD).git -C "$repo" status --porcelain. If the output is empty, run git -C "$repo" fetch origin && git -C "$repo" pull --rebase origin "$branch".git -C "$repo" stash push -u -m "frontend-design pre-sync", then the same fetch and pull, then git -C "$repo" stash pop.fetch or pull fails before a rebase starts (network, authentication, or a missing remote branch), do not retry. Run git -C "$repo" stash pop when step 5 stashed, record sync: failed (<first error line>), and continue.git -C "$repo" rebase --abort, then git -C "$repo" stash pop when step 5 stashed. If the stash pop conflicts, leave the stash in place. In both cases write no file; stop and ask the user how to continue. With no answer, the status is BLOCKED.This skill commits nothing.
Before coding, identify the active style source and commit to a clear aesthetic direction:
references/system-defaults.md).Bold maximalism and refined minimalism both work when they fit the active style source; the key is intentionality, not intensity.
When the user gives no explicit brief, apply this style guide wherever a project design-rules file sets no rule of its own:
#000000), White (#FFFFFF), Gray (#6B7280), and Bright Green (#22C55E) — declared once as semantic tokens; components use only the tokens.references/aesthetics-guide.md applies.prefers-reduced-motion honoured; nothing animates on load or scroll.#EF4444), Warning (#F59E0B), and Info (#3B82F6) may only be applied to text elements, not backgrounds or primary UI components.An explicit brief overrides the palette, aesthetic, depth, and motion defaults, and lifts any ban-table row it asks for: a gradient hero gets its gradient. It never overrides the accessibility requirements, prefers-reduced-motion, or the text-only rule for system status colors.
Every final design must be production-ready, even unasked and regardless of aesthetic direction. The brief sets the style; this bar sets the finish, which comes from craft, not from the ban table under Avoid in references/aesthetics-guide.md. Check before delivery:
references/usability-guide.md to every design.references/aesthetics-guide.md holds the craft guidance and the ban table under Avoid.references/system-defaults.md holds the rules-file protocol, tokens, motion, vague-word map, subtraction pass, and visual check.Read them in step 6, not earlier, to keep the context window small; only the rules-file and vague-word sections and the Avoid table load at steps 3–4.
Production-ready frontend code delivered as one or more files. Example for a landing page request:
index.html — fully self-contained HTML with embedded CSS and JS (or separate files if a framework is used)prefers-reduced-motion fallbackEnd every run, stops included, with this compact text block. Status is COMPLETE (code written, no check failed), PARTIAL (code written, a check still fails after the second fix cycle), or BLOCKED (no code written). A question that awaits the user's answer does not end the run; if the user ends the run without answering, the status is BLOCKED. Fill rules, PARTIAL and BLOCKED examples, and reader checks: references/final-report.md. Example:
Result: COMPLETE. Wrote index.html (landing page: hero, CTA, nav, features grid).
Evidence: Contrast lowest 4.8:1 (Gray on White). Quality Bar (ban table included) and usability Quick rules passed. build: not run (no command). sync: skipped (not a git repo)
Uncertainty: Visual check untested: no browser available; CSS inspected against the ban table and at 375/768/1280 px. Assumed a developer audience; the brief did not say.
Decision: No approval needed. Replace the placeholder logo with your own asset.
A run passes when all of the following are true:
alt/aria-label where applicable.Result: and its status, and has Evidence:, Uncertainty:, and Decision: lines. Evidence: cites only checks that ran.references/final-report.md (result findable, facts and assumptions separated, claims traceable, next decision clear). Without a human reviewer's answer, human understanding is unconfirmed.Emit the Design Thinking report at step 4 and the Implementation report at step 9, then the Final Report. See references/step-reports.md for the template, symbol legend, and per-phase checks. Keep these reports concise to preserve the agent's context budget.
Optional and propose-only. After the run's result is delivered, run this check:
references/ (the directory holding this SKILL.md). Bump the patch number of metadata.version. If the skill is an installed copy or tracked in git, say so. Commit nothing unless the user asks.Off — the user opted out.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
CSS, HTML, JavaScript, TypeScript, React
npx claudepluginhub luongnv89/skills --plugin lstack20 skills in this plugin
/agent-configCreate, update, or audit AGENTS.md (default) or CLAUDE.md agent instructions: set up, prune, add a rule, or merge CLAUDE.md or .cursorrules into one file Claude Code, Codex, and Cursor all read. Don't use for READMEs, skills, or subagents./auto-pushGenerate a commit message, stage all changes, and push to remote after scanning for secrets, large files, and protected-branch risks. Skip for opening PRs, code review, or cutting releases/tags./cleanup-projectPrepare a git repo before new work: review uncommitted changes, fix .gitignore, delete merged branches, end on clean main, or inspect one branch before deciding. Don't use for dead code, commit-and-push, releases, LICENSE files, or git how-tos./cli-builderBuild production-quality CLIs with language detection and a five-step approval-gated workflow. Use when wrapping an existing module or app. Don't use for GUI/TUI apps, web APIs, or one-off shell scripts./code-analysis-setupPlan, then install on approval, free static analysis (lint, SAST, secrets, deps) across repos, merged into existing hooks and CI. Use when adding code analysis. Don't use for one-repo security stacks (security-setup) or CI/CD (devops-pipeline)./code-reviewReview or improve code in four modes: bug/security review (default), performance, clean-code audit, slop cleanup (mode:review|perf|clean|cleanup). Don't use for features, tests (test-coverage) or a full comment audit (comment-audit).Other plugins' skills for the same job