Skip to content
Skills Library
Design & UX · Building & coding

prototype-mode

/prototype-mode

Enable prototype mode for React apps with grayscale styling and a banner overlay. Use when demoing early concepts, presenting wireframes, or preventing stakeholders from fixating on visual polish.

Repository
ai-helpers ↗
Licence
MIT
Last repository change
11.08.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/ProtoTypeBanner.tsx

What it does and when to use it

Enable prototype mode for React apps with grayscale styling and a banner overlay. Use when demoing early concepts, presenting wireframes, or preventing stakeholders from fixating on visual polish.

Original author description

Enable prototype mode for React apps with grayscale styling and a banner overlay. Use when demoing early concepts, presenting wireframes, or preventing stakeholders from fixating on visual polish.

How it works

  1. Step 1: Ask for Custom Message (Optional)
  2. Step 2: Copy Template Files
  3. Step 3: Find and Update Entry Point
  4. Step 4: Find and Update App Component
  5. Step 5: Verify Changes
  6. Notes
Original SKILL.md headings · 69 lines, 439 words
SKILL.md preview
---
name: prototype-mode
description: Enable prototype mode for React apps with grayscale styling and a banner overlay. Use when demoing early concepts, presenting wireframes, or preventing stakeholders from fixating on visual polish.
---

Enables prototype mode by adding a grayscale filter and prototype banner to a React application.

## Step 1: Ask for Custom Message (Optional)

Ask the user if they want a custom banner message. Default: "This application is a design prototype"

## Step 2: Copy Template Files

Copy the template files from this skill's `scripts/` directory to the user's project:

1. **Read** `scripts/prototype.css` from this skill directory
2. **Write** to `src/prototype.css` in the user's project
3. **Read** `scripts/ProtoTypeBanner.tsx` from this skill directory  
4. **Write** to `src/components/ProtoTypeBanner.tsx` in the user's project (create `src/components/` if needed)

If a custom message was provided, replace the default message in `ProtoTypeBanner.tsx` before writing it.

## Step 3: Find and Update Entry Point

1. **Find** the React entry point file using bash commands:
   - Try: `src/index.tsx`, `src/index.jsx`, `index.tsx`, `index.jsx`
   - Use `find` or check with `test -f` if needed
   
2. **Read** the entry point file

3. **Determine the correct import path** based on file location:
   - If file is under `src/`: use `./prototype.css`
   - If file is at root level: use `./src/prototype.css`

4. **Check** if prototype CSS import already exists
   - If it exists: skip this step
   - If not: **Edit** to add the import (with correct path) after existing imports

## Step 4: Find and Update App Component

1. **Find** the main App component file:
   - Try: `src/App.tsx`, `src/App.jsx`, `App.tsx`, `App.jsx`
   - Use `find` command if needed

2. **Read** the App component file

3. **Determine the correct import path** based on file location:
   - If file is under `src/`: use `./components/ProtoTypeBanner`
   - If file is at root level: use `./src/components/ProtoTypeBanner`

4. **Check** if ProtoTypeBanner import already exists
   - If not: **Edit** to add the import (with correct path) after existing imports

5. **Check** if `<ProtoTypeBanner` already exists in the JSX
   - If not: **Edit** to insert `<ProtoTypeBanner />` or `<ProtoTypeBanner message="custom message" />` at the start of the return statement

## Step 5: Verify Changes

Confirm with the user:
- ✅ prototype.css copied to src/
- ✅ ProtoTypeBanner.tsx copied to src/components/
- ✅ CSS import added to entry point
- ✅ ProtoTypeBanner component added to App

Tell the user that prototype mode is enabled. The banner includes a "Grayscale Mode" toggle switch to turn the grayscale filter on/off for prototyping.

## Notes

- Always use Read tool before Edit tool
- Use Edit tool (not Write) for modifying existing files
- Check for existing imports/components to avoid duplicates
- The grayscale filter applies when the `prototype-grayscale` class is on the `<html>` element (toggled via Switch in ProtoTypeBanner)
- The ProtoTypeBanner uses PatternFly's Banner component with `isSticky` prop and includes a Switch to toggle grayscale mode
Files in this package (3)
  • SKILL.md 3 KB
  • scripts/ProtoTypeBanner.tsx 1 KB
  • scripts/prototype.css 1 KB

Versions

The database has no other skills named prototype-mode.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version ab501d173e3f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100arn-spark-prototype-lock
    This skill should be used when the user says "prototype lock", "lock prototype", "arn prototype lock", "freeze prototype", "preserve prototype", "snapshot prototype", "protect prototype", "archive prototype", "save the prototype", "don't overwrite the prototype", "lock the…
  • 100uxd-prototype-export
    Export a prototype page or journey step as static HTML, a React component tree, or a PatternFly implementation spec, and install the Prototype Bar (Sources, Prototype|Eval, State, Export). Use when capturing the current view, batch-exporting journey screens and page scenarios,…
  • 87artifact-manager
    Super Artifact Manager. Add a control panel to any prototype, document or presentation so anyone demoing or building can walk through every journey it supports, not just the happy path. A journey says who you are (role), what state the data is in (mock data set), which feature…
  • 100ideation-prototype
    Build interactive React prototypes from selected UI concepts using the web-artifacts-builder skill. Each prototype is a React + TypeScript + Tailwind + shadcn/ui app bundled to a single HTML file. Supports incremental runs. Use when the user says "build prototype", "create…
  • 90prototype-design-interview
    Guide a user from a vague idea to a buildable prototype design through structured interview questioning, then emit DESIGN_SPEC.md + PROMPT.md and hand off to prototype-workflow. Use this skill whenever the user wants a prototype but cannot yet describe it — e.g.…
  • 82prototype
    Build a throwaway UI prototype for the user to react to before any real code. Read this skill when the user asks for a mockup or a prototype of a UI. Use it when a design decision depends on look, feel, or flow that text cannot settle.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.