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

build-slice

/build-slice

Buduje jeden pionowy wycinek zatwierdzonej funkcji według planu kodu, najpierw testy, potem weryfikacja i aktualizacja dokumentów.

Repozytorium
trunks-spec ↗
Licencja
MIT
Ostatnia zmiana repozytorium
11.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 11.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 jeden pionowy wycinek zatwierdzonej funkcji według planu kodu, najpierw testy, potem weryfikacja i aktualizacja dokumentów.

Wyzwalacze z opisu

next slice
Oryginalny opis (EN)

Build ONE vertical slice of an approved feature design. First agree the code-level implementation choices with the user, then write and get approval for a code-level slice plan (slices/slice-N.md), then build test-first, following the plan exactly, with verification, self-review, doc updates and a plan-vs-done hand-over. Use whenever the user asks to implement, code, build or continue a feature that has a docs/features folder with a 05-design.md, or says "next slice", even if they don't name this skill. Only in a repo whose CLAUDE.md has a Project rules section, or when the user types this com

Jak działa

  1. 0. Load context
  2. 1. Implementation choices ⛔
  3. 2. Slice plan ⛔
  4. 3. Build ⛔ diff
  5. 4. After my approval
Sekcje z nagłówków SKILL.md, w oryginale · 32 linii, 434 słów
Podgląd SKILL.md
---
name: build-slice
description: Build ONE vertical slice of an approved feature design. First agree the code-level implementation choices with the user, then write and get approval for a code-level slice plan (slices/slice-N.md), then build test-first, following the plan exactly, with verification, self-review, doc updates and a plan-vs-done hand-over. Use whenever the user asks to implement, code, build or continue a feature that has a docs/features folder with a 05-design.md, or says "next slice", even if they don't name this skill. Only in a repo whose CLAUDE.md has a Project rules section, or when the user types this command.
---

# Build one slice

Work on exactly ONE slice per session. **No code (app code, database changes, tests) is written before the slice plan is approved.**

## 0. Load context
- Read `docs/features/<feature>/progress.md` first, then `05-design.md` (architecture decisions, the slice's scope), `02-requirements.md`, the README (`Branch:` field) and the plans of earlier slices (`slices/`).
- Check each open issue in `progress.md` against what exists now (reports, commits). One already settled is marked closed before you plan.
- Check you are on the recorded branch (`git branch --show-current`). If not, stop and ask.
- Identify the slice (the one I name, or the next one not committed) and name it in one line; no separate confirmation.

## 1. Implementation choices ⛔
Follow `~/.claude/workflow/steps/decide.md` with the **Code** questions, after reading the reference feature, every file the slice will change and the latest version of any database logic it touches. Architecture choices were made in `05-design.md`; don't reopen them unless the code shows a problem. **STOP** until every choice has a decision; if I describe how I want something implemented, that is the decision.

## 2. Slice plan ⛔
A mechanical slice with nothing to decide (a generator command): the plan is 2-3 lines, built at once, one stop at the diff (`steps/plan.md`).
Create `slices/slice-<n>.md` from `~/.claude/workflow/templates/feature/slices/slice-N.md` and fill it with `~/.claude/workflow/steps/plan.md`, **form B + form A for risky code**, with the size line: §1 the choices and my decisions, §2 database, §3 code, §4 API contract, §5 files, §6 tests (unit test names starting with the rule ID, `"BR-03: …"`; `test-guide.md` scenarios for what the suite can't reach), §7 not in this slice. Status "Plan", update `progress.md`. **STOP** until I say approved; then status "Approved".

## 3. Build ⛔ diff
Follow `~/.claude/workflow/steps/apply.md` (track: big feature):
- tests first (they must fail), scenarios in `docs/features/<feature>/test-guide.md`, runnable requests updated;
- database change (`~/.claude/workflow/database.md`), then **STOP** for me to apply it on dev, once;
- code as the plan; deviations in §8 after my approval; verify; self-review (the `code-reviewer` subagent for larger slices, with the slice plan);
- docs: `docs/system/`, runnable requests, listed in the feature README;
- hand-over: §9 "Plan vs done", status "Built", **STOP** for my diff review.

## 4. After my approval
- Commit `feat(<scope>): <slice goal>` (or `fix(<scope>): ...`) on the recorded branch.
- Slice plan status "Committed" with the hash; `progress.md` updated (commit, decisions, open issues); README `Next:` the next slice, or `/final-review` after the last one.
- A preference I gave that applies beyond this feature → one line in `learn.md`.
- Tell me to start a fresh session (`/clear`) for the next slice.

Wersje

W bazie nie ma innych skilli o nazwie build-slice.

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

  • 86slice
    Buduje kolejny wycinek projektu od gałęzi po scalenie: testy, sprawdzenia, przegląd bezpieczeństwa i aktualizację statusu.
  • 90design-feature
    Projektuje funkcję: uzgadnia decyzje architektoniczne, zmiany w bazie i podział na pionowe fragmenty z plikiem postępu.
  • 100build-feature
    Buduje jeden wycinek roadmapy według specyfikacji, zatrzymuje się, gdy brakuje kluczowej decyzji, i aktualizuje plan.
  • 100implement
    Implementuje wycinek, specyfikację lub ticket według kryteriów akceptacji, testem najpierw, a potem sprawdza wynik, upraszcza go i recenzuje.
  • 100hatch3r-feature
    Prowadzi implementację funkcji od początku do końca jako pionowy wycinek: model danych, logika domenowa, API i interfejs.
  • 100slice
    Przeprowadza eksploracyjną próbę: najmniejszy pionowy wycinek działającego kodu, który rozstrzyga jedną decyzję.

Uwagi i zgłoszenia

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