directions-lab
Skill by paperclipai
Scaffolds a directions lab that shows shipped UI (Today) beside 2-3 design directions, with surface tabs, theme and animation toggles, and the V1 MVP hover motion. The lab is registered in the design-proposals Storybook. Built for designers exploring directions in this repo.
Install directions-lab
Built from the published package, never by AI.
git clone --depth 1 https://github.com/paperclipai/paperclip /tmp/paperclip && mkdir -p ~/.claude/skills && cp -r /tmp/paperclip/.agents/skills/directions-lab ~/.claude/skills/directions-labRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/paperclipai/paperclip /tmp/paperclip && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/paperclip/.agents/skills/directions-lab ~/.gemini/antigravity-cli/skills/directions-labAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill generates a directions lab, a single page for one feature. It shows the shipped UI as Today next to two or three design directions. Each place the feature appears gets a surface tab. The page has theme and animation toggles, and state lives in the URL. Every direction carries the V1 MVP hover motion block and a test for it.
The bundled scaffold.mjs script writes the lab, its Vite entry, a Storybook story and launch entries. It then checks the Storybook catalog, runs the lab's tests and builds it with Vite. If a check fails, it removes what it wrote. The source says the lab is for designers in this repo who want to explore directions next to production.
Written from the project's SKILL.md and checked against it.
What it can do
- newScaffolds a directions lab with Today, the chosen directions and surface tabs, and verifies it.
- checkChecks a lab, with a strict mode that refuses leftover stub markers and a run mode for tests and builds.
- add-directionAdds a direction to an existing lab and keeps the story's per-direction export in step.
- Today mountMounts the shipped components on the lab's fixtures through adapters and a fetch stub.
- Storybook entryWrites a story under design-proposals with a stable id and proposal status.
- Motion blockIncludes the V1 MVP hover motion in every direction, with a test that proves it.
What you need
- Node.js
- pnpm
- A checkout of the repo with the ui directory
- Installed ui dependencies (pnpm install --frozen-lockfile)
Try asking
- Scaffold a directions lab for the composer feature with three directions
- Add a direction to an existing directions lab using add-direction
- Run check in strict mode on my directions lab and run its tests
Good to know
- Written for this repo's layout, with its ui directory, feature map and gates.
- The overview board and capture script do not show hover movement, so motion must be checked in the browser.
- Labs over 600 lines in one file are refused by check.
- The source states the skill does not add a package.json script or change the lockfile.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/directions-lab/SKILL.md, .agents/skills/directions-lab/assets/templates/api-routes.ts.mjs, .agents/skills/directions-lab/assets/templates/api-stub.ts.mjs, .agents/skills/directions-lab/assets/templates/build-info.ts.mjs, .agents/skills/directions-lab/assets/templates/define-lab.ts.mjs, .agents/skills/directions-lab/assets/templates/direction/MotionSpecimen.tsx.mjs, .agents/skills/directions-lab/assets/templates/direction/SlotBody.tsx.mjs, .agents/skills/directions-lab/assets/templates/direction/index.tsx.mjs, .agents/skills/directions-lab/assets/templates/direction/tokens.css.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
agents/openai.yaml291 B -
assets/PRECEDENT187 B -
assets/motion/v1-mvp-motion.css787 B -
assets/templates/api-routes.ts.mjs531 B
Show all 70 files
-
assets/templates/api-stub.ts.mjs2 KB -
assets/templates/build-info.ts.mjs220 B -
assets/templates/define-lab.ts.mjs4 KB -
assets/templates/direction/MotionSpecimen.tsx.mjs2 KB -
assets/templates/direction/SlotBody.tsx.mjs521 B -
assets/templates/direction/index.tsx.mjs445 B -
assets/templates/direction/tokens.css.mjs1 KB -
assets/templates/entry.html.mjs752 B -
assets/templates/fixtures.ts.mjs1 KB -
assets/templates/frames/AppShell.tsx.mjs5 KB -
assets/templates/frames/Board.tsx.mjs5 KB -
assets/templates/frames/LabToolbar.tsx.mjs4 KB -
assets/templates/frames/Slot.tsx.mjs329 B -
assets/templates/frames/SurfaceFrame.tsx.mjs1 KB -
assets/templates/frames/SurfaceView.tsx.mjs540 B -
assets/templates/kit.ts.mjs2 KB -
assets/templates/lab-state.ts.mjs2 KB -
assets/templates/lab.css.mjs74 B -
assets/templates/launch-entries.json.mjs680 B -
assets/templates/main.tsx.mjs6 KB -
assets/templates/providers.tsx.mjs920 B -
assets/templates/registry.ts.mjs2 KB -
assets/templates/shot.cjs.mjs10 KB -
assets/templates/stories/compare.stories.tsx.mjs3 KB -
assets/templates/tests/api-stub.test.ts.mjs2 KB
And 40 more files on GitHub.
Alternatives to directions-lab
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
directions-lab: common questions
Does a directions lab need a backend?
No. The source says the lab is a second Vite entry with no backend, and all its state lives in the URL.
What happens if scaffolding fails?
The new command deletes the files it wrote and restores the two shared files, so the rest of the repo's tests and typecheck are not broken.
Where does the lab appear in Storybook?
The generator writes one story file under ui/storybook/stories/design-proposals with a stable id, catalogued as a proposal.
How do I install directions-lab?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is directions-lab free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is directions-lab safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to directions-lab?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
