/atelier:pf-designfrom atelier
Starts an Atelier project: scopes an idea, writes a brief, and creates a Claude Design artifact with one artboard per screen from the shared pf-design-system, then waits for approval. Use when the user says /pf-design, 'design a product', 'start a new product', 'new product idea', or wants mockups before any code is written.
Ships in atelier. 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.
Turn an idea into an approved design. Stop after presenting the design — never build code here.
Read ${CLAUDE_PLUGIN_ROOT}/references/state-schema.md before writing factory.json.
/pf-design. If empty, ask for it in one sentence.[a-z0-9], replacing every other run of characters with -; trim leading/trailing -; truncate to 100 characters. ("My SaaS Idea!" → my-saas-idea). If the slug is empty (all punctuation or non-Latin text), ask for a short English project name and derive again. This kebab-case slug is the folder name, code_path leaf and GitHub repo name.<connected Atelier folder>/<slug>/. Find it with device_list_dir among the connected folders: prefer the one whose leaf name is Atelier (the recommended name, or wherever PF_WATCH_DIR points). If exactly one folder is connected, use it; if several are and none is named Atelier, ask which to use with AskUserQuestion; if none is connected, stop and ask the user to create and connect an Atelier folder (the README explains it).<folder>/factory.json already exists, ask with AskUserQuestion: Resume (continue from the current gate) or Start over (move the old folder to <slug>-old-<yyyymmdd> first). Never overwrite silently.If an approved plan already exists (factory.json.gates.plan == "approved", from /pf-plan): skip scoping — use that brief, lanes and methodology as given, keep gates.plan as-is, and go straight to the Design System step. Planning already gathered the requirement.
Otherwise ask with AskUserQuestion, one at a time, only what the idea text does not already answer:
Fill ${CLAUDE_PLUGIN_ROOT}/skills/pf-design/references/brief-template.md (Name, One-liner, Audience, Goal, Screens, Backend, Stack, Deploy hint, Lanes). Lanes defaults to solo; a team project lists its lanes (e.g. frontend, backend). Deploy hint may name a target from references/targets/ (vercel, azure-static-web-apps, azure-container-apps, cloudflare-pages, netlify, github-pages) or stay blank for the rule to recommend. Free-first (read references/cost-posture.md): pick the free, secure stack for this project and say the plan in one plain line (e.g. "Azure Static Web Apps + Supabase — $0/month"); only mention paid if a free option genuinely can't meet a stated need, with the price, and ask. Keep it to one host + one database unless the project needs more. Design direction: read ${CLAUDE_PLUGIN_ROOT}/references/design-standard.md and set brief.design_direction to the best fit — brand (premium/luxury/lifestyle/D2C/portfolio — cinematic, motion-led), product (SaaS/dashboard/tool — clean, dense, minimal), editorial (blog/docs/media — typography-first), or marketing (landing/conversion — bold hero + one CTA). State the chosen direction in one line; ask one short question only if two directions genuinely fit. The design-system and build execute that direction on the shared foundation (tokens, accessibility, licensed fonts/icons). Size estimate: judge the project's size now (screens + routes + data model) and whether it is likely to grow large (a platform/multi-module product): set brief.size to small or large — large when it already has many screens/entities or is the kind of product whose codebase will get big. Stack is pre-filled with the default Next.js + Tailwind + shadcn/ui (TypeScript); Supabase; drop ; Supabase when backend is no. Show the brief and say: "Edit any line now — the stack locks when you approve the design." Apply any edits.
No artboard is drawn before the product's user journey flowchart and screen map exist (references/planning.md §5, "Flow diagrams, before any design"). If the project came through /pf-plan they are in the plan - read them. If it did not, write both now from the brief, as Mermaid, and show them with the brief; the brief's Screens list and the screen map must name the same screens. A change to the screens later is a change to the screen map first.
Other product types: when brief.product_type is not web or mobile, the things designed are the ones that type's Design line names in ${CLAUDE_PLUGIN_ROOT}/references/product-types.md (an extension's popup and options page; a command-line tool's help text and output; an API's description; an agent's flow and approval screens). The design gate is unchanged.
Find the shared Design System: Artifact list with type: "Design System", look for title pf-design-system. If absent, create it from the Design System type (title pf-design-system) to ${CLAUDE_PLUGIN_ROOT}/references/design-standard.md (Apple-grade polish, web-licensed assets): one accent colour over a neutral ramp in light and dark (WCAG AA), the Inter type scale, a 4-pt spacing grid, 2–3 radii, soft sparing elevation, and components Button/Card/Input/Nav/Hero/Footer each with hover/focus/active/disabled states and a visible focus ring; icons from an open set (Lucide/Heroicons); optional tasteful frosted-glass surface, and a motion layer (scroll-reveal, micro-interactions, hero/section transitions) applied in proportion to brief.design_direction — rich for brand, minimal for product. Never Apple SF Pro/New York or SF Symbols. Record its URL as artifacts.design_system_url. Reuse it for every project; only change it when the user asks.
Create a Design artifact from the Design type, title <slug> — design, following the type's instructions. One artboard per screen in brief order, desktop size, using the Design System tokens and components. Execute brief.design_direction to a non-templated bar with Atelier's own craft guide, ${CLAUDE_PLUGIN_ROOT}/references/design-craft.md (direction playbooks, detail craft, motion, the second look before sign-off); design-standard.md still governs tokens, AA contrast, licensed fonts/icons and the perf/motion budgets (the contract wins on any conflict). Put real, specific copy on every artboard (headline, body, button text) — the build step copies it verbatim into SPEC.md. Record the URL as artifacts.design_url.
Write factory.json exactly per state-schema.md: name, created (now, with offset), factory_version (this plugin's version), the brief fields, both artifact URLs, gates.design/gates.build/gates.deploy = pending (leave gates.plan as-is — approved if /pf-plan set it, else pending), code_path = <code root>/<slug>, empty repo_url/deploy, pm_lane = the first lane in the brief (solo on solo), and lanes: one entry per lane — solo → {branch: "main", scope: "all", code_path: <code root>/<slug>}; the PM lane of a team → {branch: "lane/<name>", code_path: <code root>/<slug>}; every other lane → {branch: "lane/<name>", code_path: <code root>/<slug>--<name>}; scope from the brief's Lanes line (frontend: Home, Pricing; backend: /api/*) — every screen and route must belong to exactly one lane, else ask; each with code_url: "", status: "idle", approved: false; plus one log entry {stage: "design", event: "created"}. If any lane has no code_url, add: "Run /pf-setup to connect each lane's Code session." Open the Design artifact for the user, show the brief, and say: "Review the artboards. Say yes to approve the design, or tell me what to change." Then stop.
Before the artifact is shown for approval, run the AI-look check in ${CLAUDE_PLUGIN_ROOT}/references/design-standard.md on every artboard, fix what it finds, and say in one line what was changed.
gates.design to approved only per "Approval words" in state-schema.md (yes, approve, approved, go ahead). A "yes, but …" that carries a change is a change request — apply the change and re-present; do not flip. On anything else that sounds positive (looks good, nice, ok), ask with AskUserQuestion: "Approve the design? (yes/no)". Do not flip on ok alone.log entry {stage: "design", event: "revised: <summary>"}, re-present.{stage: "design", event: "approved"}, and say: "Design approved. Run /pf-build when you're ready."brief.stack ("Stack is locked after design approval — start over to change it").factory.json or the brief.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub singhviplove234/atelier --plugin atelier24 skills in this plugin
/design-mdLibrary of 74 ready-made DESIGN.md design systems modelled on real brands' websites (Stripe, Linear, Vercel, Apple, Airbnb, Notion, Spotify, Tesla, Figma, Supabase, Claude and more), each with color tokens, typography, spacing, components, do's and don'ts and responsive rules. Use when the user wants a UI, page, or component to look like, feel like, or be inspired by a specific brand or website; asks for a DESIGN.md; wants a design system or tokens to start from; or wants to compare or pick a visual direction from well-known product sites./humanizerRewrite AI-sounding text so it reads like the writer without changing what it says.
Use when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line
closers, staged openers, forced triads, dashes everywhere, inflated claims, sales
language, stock AI words, bold labels, or filler. Based on Wikipedia's "Signs of AI writing."
/pf-auto