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

feature

/feature

Dodaje lub zmienia funkcję skryptu, pisząc najpierw testy na przykładowych danych, zanim zmieni się działanie na stronie.

Licencja
MIT
Ostatnia zmiana repozytorium
13.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
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.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

Dodaje lub zmienia funkcję skryptu, pisząc najpierw testy na przykładowych danych, zanim zmieni się działanie na stronie.

Oryginalny opis (EN)

Add or change a feature of a script, test-first against fixtures. Use for any change to what a script does on its website.

Jak działa

  1. Scope
  2. Loop
  3. Fake site
  4. Dev loop and hand-off
Sekcje z nagłówków SKILL.md, w oryginale · 34 linii, 394 słów
Podgląd SKILL.md
---
name: feature
description: Add or change a feature of a script, test-first against fixtures. Use for any change to what a script does on its website.
---

# Feature

Read `mode` in `<script>/script.json` first. A sealed script needs fixtures before any feature work; without them, switch to `sealed-capture`.

## Scope

Change only the parts the owner names. When a word could mean two parts of the page, such as "header", ask which one before changing anything.

## Loop

1. **Red**: write a failing test.
   - Unit tests sit next to the code as `*.test.ts`, with small invented inputs in the test.
   - Tests that read `<script>/fixtures/` are named `*.fixtures.test.ts`. They skip when fixtures are missing; `npm run test:fixtures <script>` runs them for real.
2. **Green**: the smallest change that passes. `npm test <script>`.
3. Repeat until the feature is complete, then `npm run precommit` and commit.

Code that only this script needs stays in `<script>/src/`. A file moves to `shared/` only when a second script needs it, never as a copy.

## Fake site

Build `<script>/fake-site/` only for a sealed script, or for a feature that reacts to change over time (polling, reloads). It runs on `http://localhost:8787` on the shared base in `shared/dev/fake-site`, with routes, state, named actions under `/__dev`, and stand-in labels for masked names. Check every feature there in the `fake-site` browser. Details: `docs/spec/sealed-workflow.md`, section "Fake site".

- The `fake-site` tools load when a session starts. Run `npm run dev <script>` before opening a page.
- A feature that polls waits for its own interval. Change a value the script polls soon, or wait the interval out, before calling a check failed.

## Dev loop and hand-off

- `npm run dev <script>` rebuilds `dist/dev/<script>.user.js`, serves it on `:8786` and starts the fake site.
- Claude starts `npm run dev <script>` itself, in the background, before the hand-off or a fake-site check. It stops the server once the owner has reported back or it is no longer needed. When a port is taken, Claude finds the process and asks before stopping one it did not start.
- Every hand-off that needs the dev script, captures included, gives its link: `http://localhost:8786/<script>.user.js`.
- Hand-off: tell the owner what changed and the exact list to check on the real site. The owner disables the release script while the dev script runs. Their report in chat ends the feature.
- When the owner reports a problem on a sealed site, ask for a new capture of that page. Its script log helps reproduce it.

Wersje

RepozytoriumWynikLicencja
Ta strona · pietdevries94/my-vibed-userscripts90MIT
A7-studio/jobmigo100MIT
crbnos/carbon100AGPL-3.0
arxdsilva/ai-loops100MIT
jisuzzzz/haechi100MIT
pawangai/pawang-agents100MIT
andrewBezerra/concordia100MIT
cryndoc/polisade-orchestrator100Apache-2.0
ChandraChaan/flutter-agent-skills100MIT

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

  • 90dev-feature
    Dodaje lub zmienia zachowanie: nową funkcję, zmianę działania albo ulepszenie widoczne dla użytkownika.
  • 96ditz-tdd
    Dodaje testy lub naprawia błędy, pisząc najpierw test.
  • 100feature-review
    Przegląda PR, commit, zakres lub gałąź najpierw jako funkcję, potem jako kod, w lokalnej stronie HTML, której komentarze trafiają do PR jako jeden przegląd GitHub.
  • 90script-designer
    Odczytuje i zmienia treść skryptu wybranej definicji skryptu SmartCMP w osadzonym edytorze skryptów.
  • 100implement
    Dodaje lub zmienia funkcję według dokumentacji projektu, grafu kodu i istniejących wzorców, pyta, gdy dokumenty i kod się różnią.
  • 100feature-workflow
    Prowadzi funkcję od zapytania do ostatniego commitu: specyfikacja, plan, testy najpierw, sprawdzenie w przeglądarce i testy end-to-end.

Uwagi i zgłoszenia

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