prototype-mode
/prototype-mode
Włącza tryb prototypu w aplikacjach React: szarą stylistykę i baner, żeby interesariusze nie skupiali się na szlifie wizualnym.
- Autor
- patternfly ↗
- Repozytorium
- ai-helpers ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.08.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/ProtoTypeBanner.tsx
Co robi i kiedy
Włącza tryb prototypu w aplikacjach React: szarą stylistykę i baner, żeby interesariusze nie skupiali się na szlifie wizualnym.
Oryginalny opis (EN)
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.
Jak działa
- Step 1: Ask for Custom Message (Optional)
- Step 2: Copy Template Files
- Step 3: Find and Update Entry Point
- Step 4: Find and Update App Component
- Step 5: Verify Changes
- Notes
Podgląd SKILL.md
--- 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
Pliki w paczce (3)
- SKILL.md 3 KB
- scripts/ProtoTypeBanner.tsx 1 KB
- scripts/prototype.css 1 KB
Wersje
W bazie nie ma innych skilli o nazwie prototype-mode.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki ab501d173e3f (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100arn-spark-prototype-lock
Tworzy zamrożoną migawkę zatwierdzonego prototypu przed rozpoczęciem rozwoju, żeby kod produkcyjny jej nie nadpisał. - 100uxd-prototype-export
Eksportuje stronę prototypu lub krok ścieżki jako statyczny HTML, drzewo komponentów React albo specyfikację PatternFly, z paskiem prototypu. - 87artifact-manager
Dodaje do prototypu, dokumentu lub prezentacji panel z ścieżkami użytkownika, stanami danych, flagami i symulacją błędów, żeby demo pokazało wszystkie przypadki. - 100ideation-prototype
Buduje interaktywne prototypy React (TypeScript, Tailwind, shadcn/ui) z wybranych koncepcji UI, spakowane do jednego pliku HTML, z możliwością dokładania kolejnych. - 90prototype-design-interview
Prowadzi przez wywiad od niejasnego pomysłu do specyfikacji prototypu, zapisując specyfikację i prompt do dalszej budowy. - 82prototype
Buduje jednorazowy prototyp interfejsu, na który użytkownik może zareagować, zanim powstanie właściwy kod.