Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

prototype

/prototype

Buduje jednorazowy kod, który sprawdza, czy wybrane podejście, biblioteka lub maszyna stanów zadziała przed implementacją.

Repozytorium
rubstack ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje jednorazowy kod, który sprawdza, czy wybrane podejście, biblioteka lub maszyna stanów zadziała przed implementacją.

Oryginalny opis (EN)

Build throwaway code to answer a specific design question before committing to an implementation approach. Use when a feature has high technical uncertainty — you don't know if an approach will work, which library fits, or what the state machine looks like.

Jak działa

  1. Step 1: Define the question
  2. Step 2: Choose the approach
  3. Step 3: Build it
  4. Step 4: Run and observe
  5. Step 5: Capture and clean up
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 553 słów
Podgląd SKILL.md
---
name: prototype
description: Build throwaway code to answer a specific design question before committing to an implementation approach. Use when a feature has high technical uncertainty — you don't know if an approach will work, which library fits, or what the state machine looks like.
---

# Prototype

## Step 1: Define the question

Before writing any code, state the design question in one sentence:
> "Can [approach] handle [constraint] at [scale]?"
> "Which of [option A] / [option B] produces [outcome]?"
> "What does the state machine look like when [edge case] happens?"

If the question can't be written in one sentence, the prototype is too broad — narrow it first.

Read the relevant feature section in `.rubstack/engineering/features.md` to understand the full feature context, then surface the specific uncertainty that needs answering.

Confirm the question with the user before proceeding.

## Step 2: Choose the approach

| Question type | Approach |
|---|---|
| Logic / state machine / business rules | Interactive terminal app — simulate inputs, display full state after each action |
| Visual / UX / layout | Multiple UI variations on one route, toggled via `?variant=a` / `?variant=b` |
| Library / external integration | Minimal single-file script that exercises the specific capability |
| Performance / data volume | Benchmark harness with representative data sizes |

## Step 3: Build it

Rules — these are not optional:
- **Mark as temporary**: name files `_prototype-[slug]` or place in a `_spike/` folder near the target location
- **Single entry point**: one command to run, matching the project's existing conventions
- **In-memory state**: no persistence unless the prototype specifically tests database behaviour
- **Speed over quality**: no tests, no abstractions, minimal error handling
- **Expose state changes**: display full state after every action so every finding is visible
- **No shared code**: do not extract from or integrate into production code

Do not refactor the prototype. Do not make it "production-ready." It exists only to answer the question.

## Step 4: Run and observe

Run the prototype. Work through the scenarios that exercise the question. Note:
- The answer to the design question
- What surprised you (constraints, edge cases, or behaviour that wasn't obvious from the spec)
- Whether the approach is viable

Share findings with the user before writing anything to `.rubstack/`.

## Step 5: Capture and clean up

**Approach is viable:**
1. Update the feature section's Technical approach in `.rubstack/engineering/features.md` with what the prototype revealed — be specific about what works and any constraints discovered
2. If the finding resolves a genuine architectural trade-off (hard to reverse + surprising without context + real alternatives existed): write an ADR to `.rubstack/adr/NNNN-[slug].md`
3. Delete ALL prototype code — including `_spike/` folders and `_prototype-*` files
4. If the prototype revealed reusable patterns, describe them in prose in the ADR or feature spec — do not keep the prototype code as a reference
5. Commit the spec/ADR updates: `git add .rubstack && git commit -m "docs: capture prototype findings"` — worktrees and future sessions only see committed `.rubstack/` content

**Approach is not viable:**
1. Update the feature spec: document what was tried and why it failed
2. Propose an alternative approach to the user
3. Delete ALL prototype code
4. Commit the spec update: `git add .rubstack && git commit -m "docs: capture prototype findings"`

After cleanup, confirm:
- What was written to `.rubstack/`
- That prototype code has been deleted (list the deleted paths)
- What the recommended next step is: `/prototype` again with a new question, or `/implement` if the design is now clear

Wersje

RepozytoriumWynikLicencja
Ta strona · RubenGlez/rubstack90MIT
leanstacks/lstk100MIT
A7-studio/jobmigo100MIT
akillness/jeo-skills100MIT
runwield/runwield100MIT
yuan88964/RelayStudio100MIT
mathews-tom/armory100MIT
deaconb28-lang/prototype100MIT
drvoss/everything-copilot-cli100MIT

Migawka bazy z 13.11.2026 · wersja paczki 6d59db909e9a (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

  • 90prototype-spike
    Buduje lub planuje jednorazowy prototyp, który odpowiada na pytanie o projekt, API, UX, wydajność lub integrację, a potem zapisuje wnioski.
  • 90prototype-lab
    Buduje jednorazowe prototypy odpowiadające na konkretne pytanie o produkt, UI, automat stanów, model danych lub workflow, zanim powstanie kod produkcyjny.
  • 85workflow-prototype
    Buduje jednorazowy prototyp, aby odpowiedzieć na pytanie projektowe: czy model stanu jest sensowny albo jak powinien wyglądać interfejs.
  • 90approach
    Ocenia, czy proponowana architektura, plan lub poprawka to najczystsze i trwałe podejście przed zatwierdzeniem.
  • 90throwaway-prototype
    Buduje jednorazowy prototyp uruchamialny, na przykład aplikację terminalową albo warianty interfejsu, żeby odpowiedzieć na pytanie projektowe.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.