agentleFS
dafaalzdafaalz/agent-skills/skills/prototype/SKILL.md

prototype

Skill2 starsChanged 2 months agoMITView on GitHub

Use when prototyping divergent visual or interaction variants for a UI component, or comparing interactive UI explorations. Don't use for production release hardening or performance auditing.

196 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, team-audio and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 6 projects that use this

  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 6 projects that use this

  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +2 more from CoralGame
  • +6 more from cenconq25

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 183 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Isolate prototype code: Never edit production components during exploration.

    line 15
  2. Distinctive:

    Build functional interactions: Every variant must handle state, transitions, and realistic domain copy.

    line 17
  3. Distinctive:

    Follow motion standards: Keep interaction transitions under 300ms.

    line 18
  4. Very specific:

    Deliver early v0 drafts: Avoid the big reveal trap.

    line 20
  5. Distinctive:

    Clean up on promotion: Delete the prototype harness and unselected variants once the user confirms a winning direction.

    line 21
  6. Distinctive:

    Follow these six steps in sequence:

    line 25
  7. Distinctive:

    If the request targets a complex screen or multi-component flow, select the single component that carries the highest interaction risk or …

    line 31
  8. Distinctive:

    Verify that no two variants occupy the same point on a chosen axis.

    line 53
  9. Distinctive:

    When the user selects a winner, migrate the winning component into production paths following codebase file structure and token conventions.

    line 89
  10. Distinctive:

    Delete the prototype route, variant files, and harness unless the user explicitly requests retention.

    line 90
  11. Distinctive:

    If the user requests further exploration, retain the harness and repeat Step 3 focusing on sub-variants of the favored direction.

    line 91
  12. Distinctive:

    Run this check before completing any prototyping pass:

    line 107

“Common” is measured: kept by at least 6 in 10 of the 183 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.

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

Prototyping variants

Explore divergent visual and interaction directions for a single UI component behind an interactive picker harness.

This skill builds distinct, production-ready variants for a single UI component and renders them in an isolated picker harness. The user evaluates variants in context and selects a direction to integrate.

Core rules

  • Isolate prototype code. Never edit production components during exploration. Build all variants and the picker harness in an isolated route or standalone HTML file.
  • Diverge on explicit axes. Differentiate variants by layout, density, motion, or interaction pattern. Do not present variants that differ only by color tint or placeholder text.
  • Build functional interactions. Every variant must handle state, transitions, and realistic domain copy. Placeholder text and dead buttons are prohibited.
  • Follow motion standards. Keep interaction transitions under 300ms. Animate transform and opacity exclusively. Use ease-out curves on entrances, and respect reduced-motion user preferences.
  • Preserve picker chrome. Render the picker component exactly as defined in PICKER.md. Do not restyle the picker with project tokens or theme colors.
  • Deliver early v0 drafts. Avoid the big reveal trap. Emit a viewable v0 draft containing layout skeletons, design tokens, and explicit module placeholders (such as [image] or [icon]) to confirm direction with the user before investing in complex interaction choreography or fine-tuned micro-motion.
  • Clean up on promotion. Delete the prototype harness and unselected variants once the user confirms a winning direction.

Workflow

Follow these six steps in sequence:

Step 1. Scope and brief definition

Isolate a single high-impact UI component from the user request.

  • If the request targets a complex screen or multi-component flow, select the single component that carries the highest interaction risk or design ambiguity.
  • State the brief in one declarative sentence defining the component, its target surface, and its primary job.

Completion criterion. A written one-sentence brief defining a single target component and its operational context.

Step 2. Technical and visual recon

Inspect the active codebase to identify design constraints and styling tokens.

  • Stack. Identify the UI framework, styling library, and animation libraries in use.
  • Tokens. Extract active values for spacing, border radii, type scale, and core palette.
  • Context. Inspect the container dimensions, background surfaces, and sibling components where the target piece mounts.
  • Standalone fallback. If no existing codebase exists, default to semantic HTML, standard system fonts, neutral slate tones, and one accent color.

Completion criterion. An inventory recording the target stack, design tokens, and surrounding DOM constraints.

Step 3. Direction and axis selection

Define three distinct directions before writing code. Expand to five only when the design space warrants deeper exploration.

  • Assign each direction a descriptive name such as Quiet, Editorial, Playful, or Dense.
  • Pair each direction with an explicit axis of variation, such as density, spatial hierarchy, interaction cadence, or feedback mechanism.
  • Verify that no two variants occupy the same point on a chosen axis.

Completion criterion. A list of 3 to 5 named variants with mutually exclusive variation axes.

Step 4. Harness construction

Assemble the isolated preview environment and embed the standard picker.

  • Dev server environment. Create a dedicated route or preview page at /prototypes/<component-slug> containing variant components and the harness.
  • Static environment. Generate a single self-contained HTML file containing inline styles and scripts for direct browser execution.
  • Picker integration. Copy markup, styles, and event wiring verbatim from PICKER.md.
  • Display standards. Render one variant at a time at full size with surrounding layout context. Do not use thumbnail grids. Switch variants instantly without transitional animations.

Completion criterion. An operational harness rendering variants one at a time and switching instantly via keyboard and mouse controls.

Step 5. Verification and review handoff

Validate variant functionality before presenting options to the user.

  • Flip through every variant in the harness to verify state transitions and event responses.
  • Inspect the browser console to confirm zero runtime errors or unhandled exceptions.
  • Present the comparison table summarizing trade-offs:
#VariantAxisBest suited forTrade-off
1QuietMinimal motion, borders over shadowsHigh-frequency daily toolsLowest visual impact
2EditorialHigh contrast typography, generous whitespaceOnboarding or milestone momentsConsumes vertical space
  • Report the active harness URL or local file path along with keyboard shortcut instructions.

Completion criterion. The harness executes cleanly without console warnings, and the comparison table articulates distinct trade-offs for each variant.

Step 6. Variant promotion and cleanup

Integrate the chosen variant and remove temporary exploration artifacts.

  • When the user selects a winner, migrate the winning component into production paths following codebase file structure and token conventions.
  • Delete the prototype route, variant files, and harness unless the user explicitly requests retention.
  • If the user requests further exploration, retain the harness and repeat Step 3 focusing on sub-variants of the favored direction.

Completion criterion. The chosen component is integrated into the destination codebase and all prototype scratch files are removed.

Invocation variants

InvocationBehavior
<description>Full workflow covering scope, recon, 3 variants, picker, and waiting for choice
<description> x5Full workflow with 5 variants
riff <variant>New round keeping the harness and diverging around the chosen variant
keep <variant>Promote that variant into the codebase and delete the prototype surface
keep <variant>, leave the pickerPromote that variant while retaining the prototype surface

Quick reference checklist

Run this check before completing any prototyping pass:

CheckPassing condition
FrontmatterDescription starts with "Use when" and lists operational triggers under 500 characters
IsolationZero prototype imports or scratch dependencies exist inside production files
Functional parityEvery variant executes real interactions without placeholder buttons or lorem ipsum text
Motion limitsAll UI transitions run under 300ms using transform and opacity properties
Picker fidelityPicker markup, styles, and keyboard handlers match PICKER.md verbatim
Completion criteriaEvery workflow step defines a checkable binary completion criterion
Style complianceZero em dashes, zero decorative emojis, and sentence case headings throughout

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.