preview
Skill1 starsChanged 3 months agoMITView on GitHub
Non-production Vercel preview deploys that give a checkpoint a real URL — runs a pinned `npx vercel deploy` with NO --prod, guarded by npm run build exit 0 plus ship's secret scan, sends X-Robots-Tag noindex on every non-production deployment via next.config.ts headers(), and logs the URL beside the screenshots in design/REVIEWS.md. Fires at exactly two pipeline points — right after the homepage is built for CP4, and once every gate is green for CP6 — and on request mid-build whenever the user says "give me a link", "can I see it on my phone", "send me a preview", "put it somewhere I can look at it", or "is there a staging URL". Production deploys are not this skill's job: --prod belongs to ultraweb:ship and is refused here. No Vercel auth or no network degrades to screenshots only and never blocks the checkpoint.
- Reads credentials
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- bloxy-studios/shorts-studiotheir own version, first seen Oct 1, 2026
- sammasak/claude-code-skillstheir own version, first seen Sep 14, 2026
- hammer-dotcom/Content-Enginetheir own version, first seen Aug 25, 2026
- pravoobi/changelog-claude-plugintheir own version, first seen Jun 18, 2026
- bin1874/awesome-claude-skills-zhtheir own version, first seen May 22, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- kv0906/pm-kit★ 138same name
- Kangentic/kangentic★ 124same name
- sanghun0724/cmux-claude-skills★ 33same name
- sammasak/claude-code-skills★ 2same name
- hammer-dotcom/Content-Engine★ 1same name
- jelle/claude-skills★ 1same name
- bin1874/awesome-claude-skills-zh★ 0same name
- bloxy-studios/shorts-studio★ 0same name
- pravoobi/changelog-claude-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository79 other files it gives its agents.
- ultrawebSkill
- analyticsSkill
- animejsSkill
- api-designSkill
- app-structureSkill
- assetsSkill
- authSkill
- award-canonSkill
- briefSkill
- buttonsSkill
- cardsSkill
- cartSkill
- checkpointSkill
- colorSkill
- command-paletteSkill
- component-apiSkill
- consentSkill
- content-cmsSkill
- copywritingSkill
- databaseSkill
- data-displaySkill
- data-fetchingSkill
- depthSkill
- directionSkill
- emailSkill
- faqSkill
- feature-sectionsSkill
- footerSkill
- formsSkill
- gate-accessibilitySkill
- gate-antislopSkill
- gate-codeSkill
- gate-contentSkill
- gate-performanceSkill
- gate-responsiveSkill
- gate-visualSkill
- handoffSkill
- heroSkill
- hidden-craftSkill
- i18nSkill
- iconsSkill
- identitySkill
- imagerySkill
- iterateSkill
- layout-gridSkill
- marginaliaSkill
- media-optimizationSkill
- micro-interactionsSkill
- mockupSkill
- motion-languageSkill
- navigationSkill
- overlaysSkill
- page-transitionsSkill
- paymentsSkill
- physicsSkill
- pricingSkill
- print-craftSkill
- product-detailSkill
- retrofitSkill
- routingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Invisible to the internet: Every non-production deployment answers X-Robots-Tag: noindex.
- Distinctive: line 18
Never a blocker: No Vercel auth, no network, a deploy that errors: one honest line, the checkpoint proceeds on screenshots.
- Very specific: line 25
Noindex before the first deploy of the project: Add the headers() block below to next.config.ts if absent, keyed on process.env.VERCEL_ENV …
- Distinctive: line 30
Degraded path: Not authenticated, offline, or the deploy errors: state it in one line ("no Vercel auth in this session — review runs on the …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
preview — a URL the reviewer can hold
Stage: Tier 8, fired mid-pipeline at CP4 and CP6 (and on request) - Reads: design/SITEMAP.md, design/QA.md (CP6 only), next.config.ts, STACK.md pinned CLI version - Writes: a throwaway preview deployment + the Preview line in design/REVIEWS.md and PROGRESS.md §Waiting-on-you, plus the non-production noindex header in next.config.ts
Standard
A first-grade preview is the difference between reviewing a website and reviewing pictures of one:
- Real surface, not a render. The reviewer opens the site on their own phone, taps the nav, scrolls the hero, feels the motion. A PNG of localhost cannot be tapped. Every checkpoint that has a URL gets one.
- Cheap gate, honestly named. Preconditions are exactly two:
npm run buildexits 0, andship's secret scan comes back clean. Never the visual, responsive, a11y, or performance gates — a preview is not a release, and holding review hostage to gates the review exists to inform is backwards. - Invisible to the internet. Every non-production deployment answers
X-Robots-Tag: noindex. A client's half-built site indexed by Google is a real, permanent harm from a throwaway artifact. - Additive, never a substitute. Screenshots stay — they are the record, dated and diffable in design/screenshots/. The URL is the review surface, alive for as long as the deployment is. Losing the PNGs to "there's a link now" trades a permanent record for a temporary one.
- Never a blocker. No Vercel auth, no network, a deploy that errors: one honest line, the checkpoint proceeds on screenshots. This skill improves a review; it never owns one.
Process
- Confirm the firing point. CP4 (homepage built, before inner pages), CP6 (no gate FAIL — UNVERIFIED entries ride along, named in the gate summary), or a direct user ask mid-build. Any other moment: don't deploy — a preview per commit is noise the reviewer learns to ignore.
- Refuse production outright. If the request is to go live, to promote, to "make it the real URL", or contains
--prodin any spelling, stop and hand off toultraweb:ship. That command has one home and a set of rules — green gates, explicit ask, explicit confirmation, live verification — this skill does not implement. - Preconditions.
npm run build→ exit 0. Thenship's tracked-file secret scan → zero hits. A red build is fixed locally first; deploying to see whether it works on Vercel is the anti-pattern that costs an hour. - Noindex before the first deploy of the project. Add the
headers()block below tonext.config.tsif absent, keyed onprocess.env.VERCEL_ENV !== 'production'. Verify it once, on the deployed URL, not by reading the file. - Deploy without --prod:
npx vercel@56 deploy— pinned per STACK.md (confirm the current major withnpm view vercel versionwhen the pin looks stale), never floatingnpx vercel. Push whatever env keys the build reads into the project's Preview environment first; a build that fails on a missing key is a preconditions failure, not a Vercel failure. - Verify empirically. Fetch the returned URL: 200 on
/, andX-Robots-Tag: noindexpresent in the response headers. If Vercel deployment protection fronts it, say so in the same breath as the link and name how the reviewer gets in — a link they cannot open is worse than no link. - Log it next to the screenshots in the checkpoint's REVIEWS.md block, and in PROGRESS.md §Waiting-on-you via
ultraweb:status, so the reviewer never scrolls a transcript hunting for a URL. - Present in one line: the URL, what to look at, and the honest frame — the code is a real production build, only the environment is non-production, and the link dies with the deployment.
- Degraded path. Not authenticated, offline, or the deploy errors: state it in one line ("no Vercel auth in this session — review runs on the screenshots below"), attach the screenshots, continue. Never retry-loop, never ask the user to go fetch a token mid-review.
Preview contract
// next.config.ts — non-production deployments are never indexed
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
async headers() {
if (process.env.VERCEL_ENV === 'production') return [];
return [
{
source: '/:path*',
headers: [{ key: 'X-Robots-Tag', value: 'noindex, nofollow' }],
},
];
},
};
export default nextConfig;The URL joins the checkpoint block it belongs to — one added line, never its own section:
## CP4 — First-page review
Presented: homepage at /, screenshots 375+1440 (design/screenshots/cp4/)
Preview: https://kaffeewerk-ost-<hash>.vercel.app — noindex verified, expires with the deploymentAnti-patterns
--prodfired from this skill under any framing ("just this once", "it's only staging") — production has an owner and a confirmation ritual- Deploying a preview to dodge a failing local build
- A preview URL that returns 200 with no
X-Robots-Tag— you just published the client's unfinished site to search - Floating
npx vercelinstead of the pinned major — an upstream release shifting deploy behavior in the middle of a review round - Dropping the screenshots because a link exists — the URL expires, the record must not
- Blocking or delaying a checkpoint on a failed deploy instead of degrading to screenshots in one line
- Treating the reviewer's phone as the responsive sweep — one device, one browser, one hand
- A fresh preview on every commit; the reviewer stops opening link number six
- Pasting a preview URL into the handoff README or a public channel as if it were the site's address
Worked example — Kaffeewerk Ost, CP4 preview
Moved to references/example.md — read only when this build's case is genuinely ambiguous; the sections above are the decision material.
Composes with
Moved to references/composes.md — the handoff map; load it when orchestrating this skill against its neighbors.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

