/atelier:pf-hardenfrom atelier
PM step after a deploy: makes the live product fast, findable and able to take a traffic spike — safety-net tests, performance budget on the live site, SEO + AI-engine visibility (Google, Bing, ChatGPT, Claude, Perplexity), a defensive security review (RLS, auth, input, headers, secret and dependency scan — own site only), database indexes, free-layer caching, a local k6 load test and a hosting-limits check — by writing HARDEN-REQUEST.md, driving Claude Code through Chrome to run /pf-next harden, polling for HARDEN-RESULT.md, then offering merge + redeploy. Use when the user says /pf-harden, 'harden the site', 'make it faster', 'will it survive traffic', 'survive going viral', 'fix the SEO', 'make ChatGPT find us', 'is it secure', or 'lock it down'. Supports --dry-run and --passes. Also use when a line starting 'PF-NOTICE' for a harden arrives from the Code session: it means go and read that result file.
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.
Before every hand-off, read ${CLAUDE_PLUGIN_ROOT}/references/session-link.md and bridge.md again - not from memory of an earlier reading in this conversation: these rules change between plugin versions, and a long-running conversation that skips this hands off the old way.
Post-launch hardening. Read first: ${CLAUDE_PLUGIN_ROOT}/references/performance-budget.md, seo-ai-visibility.md, security.md, deploy-rule.md (cost posture), bridge.md, handoff.md.
--dry-run → print the HARDEN-REQUEST.md that would be written, write nothing, ask nothing, stop. Seat identity = --lane (default solo); must equal factory.json.pm_lane, else "Only the PM lane (<pm_lane>) hardens." and stop. --passes defaults to all nine; safety is always included even if omitted.
Locate the project (named, else the only one, else ask). Read factory.json. Require gates.build == "approved". Prefer a live site: use deploy.live_url when deploy.status == ok; otherwise say "No live deploy yet — hardening will measure a local copy instead; results are indicative" and continue with live_url empty. Never run on a project whose last build failed.
Product type: when brief.product_type (the SPEC's Type: line) is not web, run each pass as the table "Which harden passes apply" in ${CLAUDE_PLUGIN_ROOT}/references/product-types.md defines it for that type, and say which passes were adapted or skipped and why.
Show in one short block what will happen, in the user's words: tests first so nothing breaks; speed check against the budget (score >= 90, loads under 2.5 s, no lag, no jumping); SEO and AI-visibility check (Google + Bing + ChatGPT, Claude, Perplexity crawlers can read every page, structured data, llms.txt, FAQ blocks); a defensive security review of your own site only (data-access rules, logins, input checks, security headers, secret and dependency scan) — read-only, no attack tools, no other sites; a legal/compliance check (dependency licences, privacy/terms/consent, data-deletion) that flags anything a lawyer should see — not legal advice; database indexes; free caching only (no Redis); a fake-traffic test on a local copy only, never the live site; a list of what would break first at 10x traffic with prices, recommend only — nothing paid gets created. Then AskUserQuestion: Harden <slug> now? (passes: <list>) Yes / No. Only Yes proceeds.
bridge.md)request_id = <slug>-harden-<yyyymmddHHMM>. Write <folder>/HARDEN-REQUEST.md:
PF-HARDEN v1
request_id: <id>
project: <slug>
code_path: <code root>/<slug>
live_url: <deploy.live_url or empty>
target: <deploy.target>
data_sensitivity: <brief.data_sensitivity>
deep_audit: <yes on a pre-go-live/final harden or if the user asked for a deep security audit, else no>
passes: <list>
Delete any stale HARDEN-RESULT.md. Store harden.request_id, harden.status = requested; log {stage: "harden", event: "request written"}. Hand off per handoff.md. Mode A (event, default): drive Chrome per bridge.md on lanes[<pm_lane>].code_url with /pf-next <slug> harden --go (fallback: "In your Claude Code session (lane <pm_lane>) type /pf-next <slug> harden and confirm."), then wake on the GitHub PR event; fall back to a slow poll (~every 15 min) for HARDEN-RESULT.md (first line exactly PF-HARDEN-RESULT v1, same request_id) up to 120 minutes. Mode B (cloud): run the harden passes inline in the cloud per handoff.md and read the result directly (load tests still run against a local copy with a test database, never the live URL). --handoff event|cloud overrides for this run.
Record harden.status, harden.pr_url, harden.branch; log {stage: "harden", event: "<status>: budget_met <yes/no>"}. Show: the before/after speed table (route | score | LCP | INP | CLS | JS KB), the SEO table (route | title | description | schema | SEO score | crawlers 4/4), the security table (check | result | fixed/needs-you), indexes added, caching applied, load summary in plain words, the limits list with monthly costs, anything reverted, and needs_decision items as a separate "Paid — your call" list. Say plainly whether the site now meets the budget.
If status: ok: AskUserQuestion Merge the hardening PR into main and redeploy? Yes / No. On Yes: write MERGE-REQUEST-harden.md per bridge.md (repo, pr_url, strategy: squash), drive /pf-next <slug> merge --lane harden --go, poll MERGE-RESULT-harden.md (20 min), then run the /pf-deploy flow from its step 4 (it asks "Deploy now?" itself). On No: "PR is open at <pr_url>; run /pf-harden again or merge later." If status: failed: show notes/failures and offer "run again with fewer passes" or "tell me what to fix".
Never: load-test a live URL, add Redis or any paid resource, upgrade a plan, push to main directly, or run without the Yes in step 2.
backlog.md)The hardening pass has its own task in BACKLOG.json (kind harden): doing when the request is written, waiting with owner: you when its pull request needs approval, done when merged. Only the PM seat writes BACKLOG.json; a lane seat writes its changes under tasks: in its own lanes/<lane>.json. Run the check before every save (backlog.md, "The check").
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
24 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.npx claudepluginhub singhviplove234/atelier --plugin atelier