agentleFS
crywolfecrywolfe/claude-code-design/.claude/skills/copy-example/SKILL.md

copy-example

Skill0 starsChanged 7 days agoMITView on GitHub

Generate a working demo artifact on dummy content so the user can see a reference implementation. Use when user says "show me an example deck", "what does a prototype look like", "give me a starter", "I want to see an example of X". Generates live — not from a static gallery.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use frontend-design for aesthetic if it is installed, else the CLAUDE.md taste rules (no brand context)

    line 21
  2. Very specific:

    Write under artifacts/examples/<kind>-<YYYYMMDD>/ instead of the top level of artifacts/ (keeps demos inside the served root, but out of …

    line 22
  3. Very specific:

    After the workflow skill completes (including /done on the output), report:

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Copy Example

Build a working reference artifact in artifacts/examples/<kind>-<timestamp>/ using a realistic dummy brief, so the user can see the format, then copy-paste or edit to kickstart their own work.

Unlike a static gallery (files pre-authored), this skill runs the actual workflow skill on a curated brief — the output is always up-to-date with current starters and conventions.

Steps

  1. Parse $0 (kind): one of deck, prototype, wireframe, animation, design-system. If omitted or invalid → show supported kinds and ask.
  2. Pick a canned brief from the matrix below. Tell the user which one you're using so they can change it.
  3. Route to the matching workflow skill bypassing Phase 0/1 (context pre-flight and ambiguity gate) — we're generating a demo, not gathering requirements. Pass the dummy brief plus these overrides:
    • Use frontend-design for aesthetic if it is installed, else the CLAUDE.md taste rules (no brand context)
    • Write under artifacts/examples/<kind>-<YYYYMMDD>/ instead of the top level of artifacts/ (keeps demos inside the served root, but out of the user's real work)
    • Skip register-asset (demos shouldn't clutter assets.html)
  4. After the workflow skill completes (including /done on the output), report:
    • Path to the generated artifact
    • URL the user can open (file:// or http://127.0.0.1:4567/examples/<kind>-<ts>/...)
    • Suggestion to cp -r artifacts/examples/<kind>-<ts>/ artifacts/my-<kind>/ and then iterate via the regular workflow skill

Canned briefs

KindBrief
deck"5-slide internal pitch deck: 'Why we should ship feature X in Q2'. Audience: engineering leadership. Tone: data-driven, concise."
prototype"iOS food-delivery app prototype, 3 screens: restaurant list, dish detail, cart. Include a slide transition between list and detail."
wireframe"Landing page for a developer tool. 4 variants on the canvas — hero-first, feature-grid-first, terminal-demo-first, testimonials-first. Greyscale."
animation"5-second product intro reel — logo fades in, tagline slides up, accent color wash transitions to final brand color. Use Stage/Sprite/interpolate."
design-system"Extract a tokens-only design system from a dummy fintech brand: deep navy primary, gold accent, Söhne-esque sans, 8px spacing grid. Render full style guide."

Important

  • Don't write to the top level of artifacts/ — examples belong in artifacts/examples/ to avoid polluting the user's real work
  • Don't register as assets — examples are reference material, not deliverables
  • Tell the user explicitly this is a generated example and invite them to iterate on a copy
  • Regenerate fresh each time the skill is called — timestamps in the folder name keep old ones around if the user wants to compare

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.