agentsclimarketplace

Sw boilerplate ui

Skill chfle/lehnert-claude-skills/skills/sw-boilerplate-ui

Use when user wants to create UI foundation files (global styles, Tailwind config, shadcn/ui setup, layout components) based on requirements/tech-stack.yaml directly in the workspace root.From its SKILL.md

Install
npx -y skills add chfle/lehnert-claude-skills --skill sw-boilerplate-ui

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.7 KB, as published. Nobody here has run it

SW Boilerplate UI

Overview

Creates UI foundation files directly in the workspace root based on requirements/tech-stack.yaml. Silent – nothing is printed in chat except the completion line.

If frontend.framework is "None" or absent in tech-stack.yaml, this skill does nothing and prints the completion line.


Required Input

requirements/tech-stack.yaml must exist. If missing, stop:

requirements/tech-stack.yaml not found. Run /sw-tech-stack-planner first.


Files to Create

Read frontend.framework, frontend.ui_library, and frontend.language from tech-stack.yaml.

Next.js + Tailwind CSS

PathContent
tailwind.config.tsContent paths for app/**, components/**, lib/**; theme extend with custom colors from stack if any
postcss.config.jstailwindcss and autoprefixer plugins
app/globals.css@tailwind base/components/utilities directives + CSS variables for theme

Next.js + shadcn/ui

All Tailwind files above, plus:

PathContent
components.jsonshadcn/ui config: style default, baseColor neutral, cssVariables true, path aliases
lib/utils.tscn() utility using clsx and tailwind-merge
components/ui/.gitkeepPlaceholder – shadcn components installed here via CLI

Next.js + Material UI (MUI)

PathContent
lib/theme.tsMUI createTheme() with primary/secondary colors
components/ThemeProvider.tsx'use client' wrapper with MUI AppRouterCacheProvider + ThemeProvider
app/layout.tsxImport ThemeProvider (update existing file)

React SPA (Vite)

PathContent
src/index.cssCSS reset + base variables
src/App.tsxRoot component with Router provider if react-router is in stack
src/main.tsxReactDOM.createRoot mount

If Tailwind: add tailwind.config.ts, postcss.config.js, update src/index.css.

Vue 3

PathContent
src/main.tscreateApp(App).mount('#app')
src/App.vueRoot component with <RouterView />
src/assets/main.cssBase styles

No frontend (API-only stacks)

Skip all files. Print completion line only.


Output Rules

  • Write all files silently to the workspace root.
  • Never output file content, code snippets, or file lists in chat.
  • At the end, print exactly one line:
✅ sw-boilerplate-ui completed

Keep looking

Skills are one crate of 610,045. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.