Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

design

/design

Pisze design.md dla zmiany w fazie architektury technicznej, po zatwierdzonej specyfikacji i opcjonalnym design grillu, a następnie przekazuje do bramki przeglądu.

Repozytorium
sdlaic ↗
Licencja
MIT
Ostatnia zmiana repozytorium
03.10.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Pisze design.md dla zmiany w fazie architektury technicznej, po zatwierdzonej specyfikacji i opcjonalnym design grillu, a następnie przekazuje do bramki przeglądu.

Oryginalny opis (EN)

Use to author design.md for a change — the Technical Architecture phase (Phase 2). Runs after an approved spec and an optional design grill, producing the architecture that satisfies the proposal and spec, then hands off to the review gate.

Jak działa

  1. Core Principle
  2. Pre-conditions
  3. Process
  4. Output Artifacts
  5. Verification
  6. Common Mistakes
  7. Handoff / Gate
Sekcje z nagłówków SKILL.md, w oryginale · 109 linii, 624 słów
Podgląd SKILL.md
---
name: design
description: Use to author design.md for a change — the Technical Architecture phase (Phase 2). Runs after an approved spec and an optional design grill, producing the architecture that satisfies the proposal and spec, then hands off to the review gate.
---

# Technical Architecture Phase (Design)

## Core Principle

The design is the **HOW** — the technical architecture that satisfies the
approved proposal (scope) and spec (behavior). It is written last among the
requirement artifacts so it cannot redefine the contract. Its focus areas are
input-boundary validation, subsystem boundaries, and DRY reuse of existing
utilities. This skill produces one artifact: `design.md`. It does not plan tasks
or write code.

## Pre-conditions

- `proposal.md` and (if applicable) every `specs/<capability>/spec.md` exist, with
  the `proposal` and each `spec:<capability>` gate `approved` (or `skipped`).
- If workflow is `strict`, the design grill has run first.

## Process

### Step 1: Search for existing patterns first

Before designing anything new, run codebase-research queries for similar
implementations, shared utilities, and established architecture patterns. Record
what exists and what can be reused. "No existing patterns found for <terms>" is a
valid, explicit outcome — not a skip.

### Step 2: Design against the three focus areas

- **Input Boundary Validation** — where and how raw/untrusted input is sanitized
  and parsed at the system boundary; reject-early strategy.
- **Subsystem Boundaries** — which modules own what; how boundaries are enforced;
  no cross-boundary reach-through.
- **DRY & Utility Reuse** — reuse existing utilities from Step 1; justify any new
  code that duplicates an existing capability.

### Step 3: Write `design.md`

Request the template guidance (`instructions design`), then write to
`$(sdlaic path change --change <name>)/design.md`:

```markdown
# Design: <change-name>

## Context
[System area touched, current state, how it works today.]

## Goals / Non-Goals
- Goal: [...]
- Non-Goal: [explicitly out of scope]

## Pattern Research
**Queries used**: [...]
**Findings**: [pattern — path — reuse/reference/adapt]
**Decision**: [Reuse X / Build new because Z / No patterns found for <terms>]

## Input Boundary Validation
[Where untrusted input enters; sanitization/parsing strategy; failure behavior.]

## Subsystem Boundaries
[Modules involved, ownership, how boundaries are enforced.]

## Decisions
| Area | Decision | Rationale |
|------|----------|-----------|
| [area] | [decision] | [why; cite reused utility path if any] |

## Risks / Trade-offs
- [risk]: [mitigation]

## Open Questions
- [unresolved, or "None blocking"]
```

### Step 4: Hand off to the review gate

Do not advance to planning yourself.

## Output Artifacts

- `$(sdlaic path change --change <name>)/design.md` — architecture satisfying proposal + spec,
  with explicit input-boundary, subsystem-boundary, and reuse sections.

## Verification

- [ ] `design.md` exists and is populated; Pattern Research is filled (queries + findings, or explicit "none found").
- [ ] Input Boundary Validation section defines where/how untrusted input is handled.
- [ ] Subsystem Boundaries section names module ownership and enforcement.
- [ ] Decisions cite reused utilities where applicable; new duplication is justified.
- [ ] Design satisfies every ADDED requirement in the spec; introduces no OUT-OF-SCOPE capability.
- [ ] Grill resolutions landed as `## Decisions` rows (or Risks / Open Questions where they fit).

## Common Mistakes

| Mistake | Fix |
|---------|-----|
| Designing without pattern research | Always search first. Reuse > reinvent. Record proof. |
| Redefining scope/behavior in the design | Design satisfies proposal + spec; it does not change them. |
| Ignoring input boundaries | Untrusted input handling is a required section, not optional. |
| Duplicating existing utilities | Reuse from Step 1 or justify the new code explicitly. |
| Breaking out task lists here | Task decomposition is `skills/plan`. |

## Handoff / Gate

1. **Grill first (strict):** the design grill (bundled with `skills/grillme`) runs before drafting.
2. **Review after:** hand `design.md` to `skills/review` for the `design` audit (checklist bundled with the review skill).
3. The reviewer records the verdict via `sdlaic gate set --phase design --status <approved|failed> [--verdict ...]`.
4. On `approved`, the enforcer advances to Phase 3 (`skills/plan`). On `failed`, re-draft here.

Wersje

RepozytoriumWynikLicencja
Ta strona · bienwithcode/sdlaic100MIT
jeremylongshore/tons-of-skills-marketplace100MIT
ouestlabs/audio-ui100MIT
uiverify/uiverify100MIT
assafkip/kipi-system100MIT
karloscodes/fusionaly-oss100MIT
dilhanz/ship100MIT
codagent-ai/agent-skills100MIT
a8cteam51/claude-code-plugins100MIT

Migawka bazy z 28.10.2026 · wersja paczki e0af2f9b5fb2 (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

  • 100spec
    Pisze specyfikację zachowania zmiany w pliku specs/capability/spec.md w formie scenariuszy GIVEN, WHEN, THEN po zatwierdzonej propozycji.
  • 100proposal
    Pisze proposal.md dla zmiany, czyli propozycję zakresu (faza 1A): jeden artefakt z uzasadnieniem biznesowym i wyraźnym podziałem na zakres objęty i nieobjęty, po czym przekazuje go do bramki przeglądu.
  • 100spec-design
    Pisze artefakty OpenSpec design.md i tasks.md dla funkcji opartej na specyfikacji, czyli projekt techniczny i listę zadań.
  • 100spec
    Ocenia rozmiar zmiany i pisze właściwe dokumenty specyfikacji: projekt, propozycję, zadania albo walidację, przed kodowaniem.
  • 91architecture-spec
    Generuje specyfikację architektury technicznej z PRD: wzorzec architektury, stos technologiczny, modele danych i struktura aplikacji, w pliku ARCHITECTURE.md.
  • 100architecture
    Tworzy dokument 3-architecture.md z diagramami komponentów, przepływem danych, punktami integracji i decyzjami, na podstawie istniejącej specyfikacji technicznej.

Uwagi i zgłoszenia

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