/atelier:pf-setupfrom atelier
Guided setup for Atelier — the one-time machine and account steps, and the sensitive per-project steps (tokens, DNS). Claude opens each page in Chrome, explains it, pre-fills non-secret fields and stops; the user enters secrets and clicks submit. Use when the user says /pf-setup, 'set up atelier', 'connect my Code session', 'add the domain', or when another pf skill reports a missing env var or code_url.
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.
None: SKILL.md is the whole skill.
Walk the user through what only a human may do, one step at a time, in Chrome where a page is involved. Use AskUserQuestion to confirm each step is done before moving on.
factory.json, chat, or any file. Env var names only./pf-setup (no args) — the checklistShow which items below are done (from factory.json and quick checks) and run the first undone one. Items:
0a. Install the builder plugin in Claude Code — the easiest way is the marketplace: in Claude Code run /plugin marketplace add singhviplove234/atelier then /plugin install atelier-builder@atelier (the README's Install section has the exact commands). Or Code tab → Plugins → Add → Upload plugin → pick atelier-builder.zip → Replace if asked. Confirm: typing /pf- in the Code prompt offers pf-next.
0b. Installs (only what the chosen target needs; give the exact command and a check command for each, matched to the user's OS): Node 20+ (node -v), Git (git --version), GitHub CLI (gh --version — install via winget install GitHub.cli on Windows, brew install gh on macOS, your package manager on Linux), Vercel CLI (npm i -g vercel), Azure CLI (az --version — winget install Microsoft.AzureCLI / brew install azure-cli / the Linux script), Docker Desktop (docker info), Playwright's browser for the e2e tests (npx playwright install chromium), gitleaks for the secret scan, and ffmpeg only if you will make a launch video (winget install Gyan.FFmpeg on Windows, brew install ffmpeg on macOS) (winget install Gitleaks.Gitleaks on Windows, brew install gitleaks on macOS → gitleaks version). Use the user's normal terminal (Windows Terminal/PowerShell, macOS Terminal, or any Linux shell).
0b2. Diagrams need nothing extra. Atelier renders every diagram itself with the Mermaid command-line tool, fetched by npx the first time a build runs and then pinned in the project (references/diagram-render.md). It reuses the Chromium that Playwright installs for the tests (npx playwright install chromium). Check: npx -y @mermaid-js/mermaid-cli --version prints a version. No plugin, no skill.
0c. PF_WATCH_DIR / PF_CODE_DIR — the defaults are ~/Atelier (projects folder) and ~/dev/atelier (code checkouts); on Windows, %USERPROFILE%\Atelier and %USERPROFILE%\dev\atelier. If you keep either somewhere else (a cloud-synced folder, another drive), set the matching user env var to that path. Creating ~/Atelier and connecting it is the simplest setup.
Atelier projects folder (default ~/Atelier, or wherever PF_WATCH_DIR points) exists and is connected to this Cowork task. If not, tell the user to create it and Add it as a connected folder.references/session-link.md. One Code session per coding lane (the PM lane's session also runs merge and deploy; one session may serve several lanes of this project). (a) Write SESSION-<lane>.md in the project folder with PF-SESSION v1, project, lane, name: <slug> - lane <lane> and status: invited. (b) Ask the user to open a Claude Code session for this lane and run /pf-link there - nothing else to type; it turns Remote Control on, names the session and writes the rest of the file. (c) Read the file: status: linked. (d) Prove the link once as that reference describes (/pf-link confirm <code>), then store lanes[<lane>].code_url and lanes[<lane>].session_key. If the session cannot be found by its exact title, ask the user to paste its claude.ai/code/… link once. The user runs /pf-link again as the first message after any restart of the desktop app - nothing needs pasting; the next hand-off proves the link again./permissions and allow Bash(npm:*), Bash(npx:*), Bash(node:*), Bash(git:*), Bash(gh:*), Bash(vercel:*), Bash(az:*), Bash(docker:*), Bash(curl:*), Bash(cd:*), Bash(test:*), Bash(wrangler:*), Bash(netlify:*), Bash(gitleaks:*), Bash(trufflehog:*), Bash(nuclei:*), Bash(zap-baseline.py:*), Bash(testssl.sh:*), Bash(osv-scanner:*), Bash(trivy:*) (pentest tools — only for data-sensitive projects); Bash(knip:*), Bash(npx:*) cover the simplicity tools (knip/ts-prune/depcheck/jscpd run via npx); Bash(playwright:*) for the end-to-end tests and screenshots, Bash(ffmpeg:*) and Bash(ffprobe:*) only if you make a launch video; Bash(eas:*) only for a mobile project. Offer the equivalent permissions.allow block to paste into ~/.claude/settings.json instead. The user does this; you confirm by asking.gh auth login --web; when it prints a one-time code, open github.com/login/device in Chrome and tell the user to type that code there (Claude does not type it). Confirm with gh auth status. Also az login for Azure targets (same pattern: Claude opens the page, the user signs in).
5b. SEO inputs — before the first /pf-build of a project, make sure the design brief has the Entity:, Audience + locale:, Primary keywords:, Questions: and Pages that must rank: blocks (references/seo-ai-visibility.md section A); collect them from the user in plain language if missing.references/targets/<name>.md → Env vars. Open the exact page (e.g. vercel.com/account/tokens), pre-fill the token name atelier, stop. The user creates it and sets it as a user environment variable with the exact name; you tell the user the name and how (Windows: Start → "Edit environment variables for your account"; macOS/Linux: add an export line to the shell profile, e.g. ~/.zshrc or ~/.bashrc). Remind the user to restart the Claude desktop app (and open a new terminal) afterwards.azure-container-apps) — installed and running./pf-setup domain <domain> — custom domain for a deployed projectRead references/targets/<deploy.target>.md → Custom domain. Open the host's domain page, pre-fill the domain, stop before Save. Then open the registrar's DNS page if the user names the registrar, show the exact record (type, host, value) and let the user add it. Afterwards poll the domain with WebFetch until it returns 200 (up to 30 minutes) and record deploy.custom_domain in factory.json.
/pf-setup seo <slug> — register a live site with the search and AI indexes (after the first deploy)Read references/seo-ai-visibility.md section D. For each, open the page in Chrome, pre-fill the site URL, stop at anything that signs in or submits; the user clicks: (1) Google Search Console — add the property as a URL prefix, choose the HTML-tag method; copy the tag's content value into the Brief's Entity: block as google_site_verification so the next build ships it; after redeploy the user clicks Verify; submit /sitemap.xml. (2) Bing Webmaster Tools — "Import from Google Search Console" (one click) or the same meta-tag method; submit the sitemap; IndexNow shows as active once the key file is live. (3) Google Business Profile only if there is a physical location (recommend; the user does it). (4) Confirm INDEXNOW_KEY is set as a user env var and in the deploy target's env. Report what is verified and what is pending.
/pf-setup pentest <slug> — register a pre-production target of your own for adversarial testingRead references/security-testing.md. Confirm with the user, in plain words, all of: (1) the host is owned by you or your org and is a staging/dev environment, not production and not a client's system; (2) it holds synthetic/seed data only — no real client or financial data; (3) the user authorizes attack-testing it. Only then add a record to factory.json.security_testing.authorized_targets[] (host, owner: you, environment, data_state: synthetic, registered date) and set brief.data_sensitivity: high. Never register a production host, a custom domain serving users, or anything you cannot confirm is your own pre-production. Remind the user: when client data is later loaded, it goes on a different host, and that host is never added here. To use your own PentAGI as part of the run, set security_testing.pentagi.enabled: true: help the user stand up the user's self-hosted PentAGI (its official Docker stack, the user's own LLM/API keys typed by the user — never by you, per the hard rules) and store only its local endpoint (e.g. http://localhost:8080) in security_testing.pentagi.endpoint, no secret. During a pentest the factory drives that instance against the one authorized staging host only, bounded to that run; it is never pointed at production or any host with real data, and the agent stops when the run ends.
/pf-setup project <slug> — one-time setup of everything THIS project needs (after the platform is chosen)Read the project's factory.json (brief.stack, brief.deploy_hint target, data_sensitivity, handoff.mode) and references/targets/<deploy_hint>.md. Derive the exact tools this project needs and run them in one guided pass, in order — each step Claude pre-fills the non-secret parts and stops, the user enters secrets / clicks:
gh auth login), plus the platform's CLI/auth from the target file's Env vars — az login (Azure), aws configure/SSO (AWS), gcloud auth login (GCP), flyctl auth (Fly), the Render API key, or SSH to the Oracle VM. Claude opens the page / prints the command; the user signs in; secrets are set as env vars by name./pf-setup handoff); CI (/pf-setup ci) when factory.json.ci is not hook; store accounts (/pf-setup mobile) for a mobile app; and after the first deploy monitoring (/pf-setup monitor), backup (/pf-setup backup) and — before the next build of a product with data — the database split (/pf-setup database)./pf-setup --check <slug> so the pass ends on a verified toolchain, not an assumed one.
Show a short checklist of what is done and what is pending (waiting on the user's secret/signup); record progress in factory.json. Claude never types a secret (the hard rules). This is the single pass that stands up a new project's whole toolchain once the platform is confirmed./pf-setup handoff [<slug>] — set up the handoff mode (see references/handoff.md)Explain the two modes with pros/cons/cost from handoff.md and record handoff.mode. Then enable what the chosen mode needs:
references/handoff.md). Set up two things so GitHub events reach this session as notifications: (1) subscribe the session to the repo's pull-request activity so ReadNotifications delivers PR opened / ready / labeled events (via the GitHub integration/connector the session uses; confirm the repo exists with gh repo view and that the factory account watches its pull requests); (2) the needs-input label — the builder self-heals it on the first draft PR (gh label create needs-input -c "#d93f0b" -f, see pf-build-from-spec), so the PM/Cowork seat does not need to create it and should not assume it can (it usually has no gh). Only if the lane's GitHub App/token can't manage labels is it a one-time manual click (repo → Labels → New label needs-input). Nothing is installed and no secret moves. Tell the user honestly: where the surface delivers these GitHub notifications, the PM waits idle and wakes on the event; where it doesn't (e.g. a Cowork seat with no way to subscribe), it falls back to a single long backstop check that reads GitHub + the NEEDS-INPUT file (not a fast poll) — correct, just slower.data_sensitivity: high projects unless the user has accepted that path, and that B wants the Phase-2 safety net (monitoring + rollback) first. Record only non-secret references (Key Vault name, token scope), never a secret value./pf-setup monitor <slug> — the monitoring accounts (after the first deploy, see references/monitoring.md)For the chosen free stack: (1) Azure Application Insights + Monitor — via the Azure tools create an App Insights resource in the project's resource group and a Monitor action group to the user's email + Azure-app push; the user confirms the email and installs the Azure app for push; store the App Insights connection string as a user env var by name (Claude pre-fills the name, the user sets the value). (2) Sentry (if chosen) — open sentry.io's new-project page, pre-fill the project name, stop; the user creates it and pastes the DSN, stored as an env var by name. (3) UptimeRobot (if chosen) — open uptimerobot.com, pre-fill the monitor URL (/api/health), stop; the user adds the monitor and the alert email. Record what is set up in factory.json.monitoring; secrets only by name, never typed by Claude.
/pf-setup backup <slug> — off-Supabase data backup (free, see references/maintenance.md C)Code is already backed up on GitHub (authoritative). For data beyond Supabase's ~7-day daily backups: set up a free pg_dump logical backup to Azure Blob Storage (cool tier). Via the Azure tools, create/confirm a storage account + a private backups container in the project's resource group; schedule a weekly dump (run by the maintenance schedule, or an Azure Functions consumption timer) writing <slug>-<date>.sql.gz; set retention (keep N weeks). Store the storage connection string as a user env var by name (Claude pre-fills the name, the user sets the value). Record in factory.json.maintenance.backups; never put a secret in a dump. A restore drill from this backup is run by /pf-maintain.
/pf-setup --check [<slug>] — the factory doctor (read-only)One pass that says whether the whole toolchain is ready, so a first run does not fail on a half-done setup. On the Cowork side, check and list: the Atelier projects folder is connected; the Chrome extension answers on claude.ai; each lane's code_url is set; the installed plugin version (.claude-plugin/plugin.json). For the Code seat — which this seat cannot inspect — drive Chrome per bridge.md and type /pf-next doctor (add the slug to include that project's target), then read <watch dir>\DOCTOR-RESULT.md (first line PF-DOCTOR-RESULT v1). Show one table — item · ok/missing · the one line that fixes it — and offer to run the first missing item. It changes nothing and needs no approval; if Chrome cannot type it, ask the user to type /pf-next doctor in the Code session.
/pf-setup ci <slug> — who checks a push (see references/verification.md D)Explain the three modes in one line each with cost (hook — free, default; self-hosted — free on your own machine, needed for team and data-sensitive projects; hosted — free for public repos, spends the monthly allowance on private ones) and record factory.json.ci. For self-hosted: open the repo's Settings → Actions → Runners → New self-hosted runner page; the user runs the registration commands GitHub shows on the machine that will be the runner (the registration token is theirs to paste, never Claude's). For any workflow mode: the test-environment values the workflow needs are added by the user as repository secrets, by name; then open Settings → Branches and walk the user through requiring the verify check on main — the user clicks Save. The next /pf-build writes the workflow file.
/pf-setup database <slug> — split test from production (see references/migrations.md A)Required before the first build after go-live (from the first build for data_sensitivity: high). Explain in two lines why (a build, a test or a preview must never be able to touch real data). Then, with the user doing every secret step: (1) the database the live site uses now becomes production — the user adds its existing values again under the PROD_-prefixed names (PROD_SUPABASE_URL, PROD_SUPABASE_ANON_KEY, PROD_SUPABASE_DB_URL, PROD_SUPABASE_SERVICE_ROLE_KEY, or PROD_DATABASE_URL) as user environment variables; (2) open the database provider's new-project page, pre-fill the name <slug>-test, stop — the user creates a second free project (confirm the provider's current free-plan project limit on its pricing page first; if a free one is not available, stop and show the price); (3) the user points the unprefixed names at the new test project; (4) restart the desktop app. Record factory.json.database = "split". The next build applies all migrations to the empty test database and seeds it; production is untouched until the next live deploy.
/pf-setup mobile <slug> — store accounts for a mobile app (see references/mobile-release.md)For a project whose target is expo-eas or flutter-stores. Open Apple's and Google's developer-program pages and read the current fee and requirements aloud; the account is created by the user or the client in the publishing entity's own name — never by Claude. Then: an Expo account and an access token set as EXPO_TOKEN by name; store credentials added by the user to EAS's own credential store (eas credentials), never as env vars. For flutter-stores: the Android upload keystore is created and kept by the user (never committed; its path and passwords set as env vars by name), the Play service-account key and App Store Connect API key are files the user downloads and points to by path, and — for iOS — confirm which Mac or cloud macOS builder will be used. Record what is done and what is waiting on him.
/pf-setup options <slug> — what this project has switched on (see references/options.md)Show the options table for this project: each row's current choice, read from the field options.md names. For the rows recorded under factory.json.options (advisor, 3D scene, launch video, growth drafts) the user can switch one on or off here — explain it in one line with its cost and con first, then record it; every other row is changed by the command that owns it, which the table names. Switching an option off removes its code on the next build.
/pf-setup advisor — a stronger model on call for the builder (see references/advisor.md)Explain the three set-ups from advisor.md with their cons, and say plainly: it is experimental, the setting is machine-wide (every Claude Code session on that computer, not only this project), and a Fable advisor may draw on usage credits. Ask with AskUserQuestion which set-up, default "As you are". On a choice, give the lines to type in the Code session (the main-model choice, then /advisor <name>; /advisor off undoes it) — or type them through Chrome only after the user's yes here. Record options.advisor. When at least two builds exist on the new set-up, compare them with the builds before it from the log (first-attempt acceptance, fix rounds, time from request to result) in three lines and ask whether to keep it. Never claim a saving that has not been measured.
/pf-setup email <slug> — an address on the domain, and mail that arrives (see references/email.md)Needs a custom domain (/pf-setup domain). Ask what is wanted — a contact address, mail the product sends, or both — and record options.email. Address: recommend free forwarding first; a paid mailbox only on a yes with its monthly price shown. Sending: pick the service by free tier and fit, then prepare the exact SPF, DKIM, DMARC (p=none to start) and sending-subdomain records; the user pastes them at the DNS host and creates the API key themselves — its name goes in the SPEC, never its value. Finish with the header check in email.md B and record email.verified. Never type a DNS or registrar password; never import an address list.
/pf-setup support <slug> — help page, FAQ and contact form (see references/support.md)Offer it in one line, record options.support, and draft the questions from the product's user-journey diagram for the user to correct. It is then a normal /pf-build carrying a Support: line — the page, the form with its four tested paths, and docs/SUPPORT.md. Set up support@ through /pf-setup email first when the form should also send mail. A chat or help-desk tool is never added by default.
/pf-setup env <NAME> — when a skill reported a missing env varOpen the page where that value is created (from the target file), pre-fill the non-secret parts, stop; then the user env var instructions; then "restart the desktop app and re-run the step that failed".
Log every completed item as {stage: "setup", event: "<item> done"}.
Any step here that only the owner can do is guided page by page, with the non-secret values filled in and each step watched (founder-steps.md).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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-autoAuto mode for Atelier: asks for how many hours, checks that the Claude app and the Code session are set so work can run without prompts, plans all the work that fits, and after one yes works through it without asking - builds, merges, previews, and go-live only on a private address - parking anything that needs the user's decision and carrying on with the rest. Use when the user says /pf-auto, 'auto mode', 'work on your own for N hours', 'run overnight', 'keep going while I am away', /pf-auto status, or /pf-auto stop./pf-boardThe factory control panel: one live dashboard showing every Atelier project at a glance — its stage, gates, lanes, live URL and health, handoff mode, maintenance and growth status, and what's waiting on you. Built as a published artifact with a shared database so it refreshes by writing data rows, never by republishing (no repeated update prompts). Use when the user says /pf-board, 'show all my projects', 'the control panel', 'factory status', 'what's the state of everything', or 'where does each project stand'. Supports --schedule and --check. Read-only: it mirrors state, it never changes a project./pf-brandOptional step between plan and design: gives a product its identity. Screens three to five candidate names for obvious conflicts (similar products, the domain, public trade-mark registers, handles, meaning in each language) and recommends one; draws three logo directions as a wordmark with an optional simple mark and tests them small, in one colour, on light and dark; and assembles a brand kit in the repository (logo files, favicon and app icons, the design system's colours and type, a five-line voice guide, a share-image template). Use when the user says /pf-brand, 'check this name', 'is the name taken', 'name ideas', 'make a logo', 'brand kit', or 'brand basics'. Supports --check, --dry-run and --name-only. Never registers or buys anything, and the name check is a screening, not legal advice./pf-buildBuilds an approved Atelier design for one lane (solo by default): writes SPEC.md and BUILD-REQUEST-LANE.md, then hands off by the chosen mode (A, default: build on the user's machine and wake on the GitHub event; B: build in the cloud, result inline), and presents the repo, PR and preview for approval. Use when the user says /pf-build, /pf-build --check, 'build the product', 'build it', or 'turn the design into code'. Supports --handoff event|cloud, --dry-run and --validate-only. Also use when a line starting 'PF-NOTICE' for a build arrives from the Code session: it means go and read that result file.