Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

domain-model

/domain-model

Przepytuje plan względem istniejącego modelu domenowego: sprawdza terminologię z CONTEXT.md i ADR i aktualizuje oba pliki na bieżąco, gdy zapadają decyzje.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
08.07.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Przepytuje plan względem istniejącego modelu domenowego: sprawdza terminologię z CONTEXT.md i ADR i aktualizuje oba pliki na bieżąco, gdy zapadają decyzje.

Oryginalny opis (EN)

Grill against the existing domain model. Stress-test a plan's terminology against `CONTEXT.md` and ADRs; update both inline as decisions crystallise. Trigger when user proposes a feature/refactor that touches business concepts and the project has documented domain language to honor — or when domain language is missing and needs capture.

Jak działa

  1. File structure assumptions
  2. In session
  3. Reference materials
Sekcje z nagłówków SKILL.md, w oryginale · 83 linii, 479 słów
Podgląd SKILL.md
---
name: domain-model
description: Grill against the existing domain model. Stress-test a plan's terminology against `CONTEXT.md` and ADRs; update both inline as decisions crystallise. Trigger when user proposes a feature/refactor that touches business concepts and the project has documented domain language to honor — or when domain language is missing and needs capture.
---

Adversarial interview against the documented domain. Walk every branch of the design; resolve dependencies one decision at a time; recommend an answer per question. Ask one question per turn — wait for response before continuing.

When a question is answerable from the codebase, dispatch an Explore agent (`fd`-first discovery, `git grep`/`ast-grep` content search) instead of asking. The user is the source of intent; the codebase is the source of fact.

**Modality vs adjacent skills:** This is **adversarial-relentless** interview against documented domain language. *Clarifying-question protocol* is **VS-shaped** (hypothesis sampling + clarifying questions). *General adversarial interview* is **general-purpose** without domain-language anchor. Pick this skill when the project has (or needs) `CONTEXT.md` / ADRs as the artifact under stress-test.

## File structure assumptions

Single-context repo:

```
/
├── CONTEXT.md
├── docs/adr/
│   ├── 0001-<decision>.md
│   └── 0002-<decision>.md
└── <source dirs>
```

Multi-context repo (if `CONTEXT-MAP.md` at root):

```
/
├── CONTEXT-MAP.md
├── docs/adr/                  ← system-wide decisions
├── <ctx-1>/
│   ├── CONTEXT.md
│   └── docs/adr/              ← context-local decisions
└── <ctx-2>/
    ├── CONTEXT.md
    └── docs/adr/
```

Create lazily — only when there is something to write. No `CONTEXT.md` yet? Create on first resolved term. No `docs/adr/`? Create on first qualified ADR (see below).

## In session

### Challenge the glossary

When the user uses a term that conflicts with `CONTEXT.md`, surface immediately:

> "The glossary defines `cancellation` as <X>; the current usage implies <Y>. Which is canonical?"

### Sharpen fuzzy language

When a term is overloaded or vague, propose a canonical term:

> "`account` is overloaded — `Customer` (billing entity) or `User` (auth subject)? Different aggregates."

Why: vague language leaks into code as ambiguous types and misnamed modules; the cost compounds.

### Probe with scenarios

When domain relationships are being discussed, invent edge-case scenarios that force boundary precision. Adapt examples to the project's domain (orders / billing / scheduling / inventory etc.), not generic "users/items".

### Cross-reference with code

When the user states a behavior, dispatch Explore to check the code. Surface contradictions:

> "The plan says partial cancellation is supported; the `Order::cancel` implementation only handles the whole-order path. Reconcile before continuing."

### Update CONTEXT.md inline

When a term resolves, write the entry into `CONTEXT.md` immediately — capture-as-it-happens, not batch-at-end. Why: batched glossary updates lose the resolution context (who said what, in response to which scenario). See `references/CONTEXT-FORMAT.md`.

Constraint: `CONTEXT.md` excludes implementation detail. Only domain-meaningful terms — no class names, no field names, no DB columns.

### Offer ADRs sparingly

Open an ADR only when **all three** apply:

1. **Hard to reverse** — meaningful cost to changing later
2. **Surprising without context** — future reader will ask "why did they do it this way?"
3. **Real trade-off** — genuine alternatives existed; the team picked one for specific reasons

Any one missing → skip the ADR. ADR format: `references/ADR-FORMAT.md`.

## Reference materials

- `references/ADR-FORMAT.md` — ADR template, language-agnostic
- `references/CONTEXT-FORMAT.md` — glossary entry format, language-agnostic
Pliki w paczce (3)
  • SKILL.md 4 KB
  • references/ADR-FORMAT.md 3 KB
  • references/CONTEXT-FORMAT.md 4 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · OutlineDriven/odin-codex-plugin100Apache-2.0
sammcj/agentic-coding100Apache-2.0
andreibesleaga/gabbe100CC-BY-4.0
ayoubben18/ab-method100MIT
mkurman/zorai100MIT
paivot-ai/paivot-graph95Apache-2.0
redpanda-data/ui-harness90MIT

Migawka bazy z 28.10.2026 · wersja paczki 0bfb717d5d41 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100grill-with-docs
    Sprawdza plan względem istniejącego modelu domenowego projektu, podważa terminologię, wskazuje sprzeczności z kodem i na bieżąco aktualizuje CONTEXT.md oraz ADR.
  • 100grill-me
    Testuje plan względem modelu domenowego projektu, doprecyzowuje terminologię i na bieżąco aktualizuje dokumentację (CONTEXT.md, ADR) w miarę podejmowania decyzji.
  • 85grill-with-docs
    Przepytuje plan względem istniejącego modelu domeny i decyzji projektowych, wyostrza terminologię i aktualizuje dokumentację na bieżąco.
  • 100grill-with-docs
    Testuje plan względem modelu domenowego projektu, doprecyzowuje terminologię i na bieżąco aktualizuje dokumentację (GLOSSARY.md, ADR) w miarę zapadania decyzji.
  • 100grill-with-docs
    Prowadzi sesję testowania planu względem istniejącego modelu domeny, doprecyzowuje terminologię i na bieżąco aktualizuje dokumentację (CONTEXT.md, ADR) w miarę zapadania decyzji.
  • 100grill-with-docs
    Prowadzi sesję testowania planu względem istniejącego modelu domeny, doprecyzowuje terminologię i na bieżąco aktualizuje dokumentację (CONTEXT.md, ADR) w miarę zapadania decyzji.

Uwagi i zgłoszenia

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