Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

trade-off-evaluator

/trade-off-evaluator

Ocenia kompromisy projektu w pięciu wymiarach: koszt, opóźnienie, złożoność, skalowalność i obsługa, z macierzą i rekomendacją.

Repozytorium
konductor ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
27.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 27.10.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

Ocenia kompromisy projektu w pięciu wymiarach: koszt, opóźnienie, złożoność, skalowalność i obsługa, z macierzą i rekomendacją.

Wyzwalacze z opisu

evaluate the trade-offs between X and Yscore these optionswhich is better: SQS or EventBridge for this use casecompare these alternatives
Oryginalny opis (EN)

Scores design trade-offs across five dimensions — cost, latency, complexity, scalability, operability — producing a structured comparison matrix and a recommendation. Use when a design decision has multiple options, when an engineer asks to evaluate trade-offs, or when the k-design-doc-creation SOP reaches its trade-off evaluation step. Trigger phrases — "evaluate the trade-offs between X and Y", "score these options", "which is better: SQS or EventBridge for this use case", "compare these alternatives".

Jak działa

  1. When to Use
  2. Scoring Rubric
  3. Steps
  4. Pitfalls
  5. Verification
  6. Quality Gate
Sekcje z nagłówków SKILL.md, w oryginale · 102 linii, 745 słów
Podgląd SKILL.md
---
name: trade-off-evaluator
description: 'Scores design trade-offs across five dimensions — cost, latency, complexity, scalability, operability — producing a structured comparison matrix and a recommendation. Use when a design decision has multiple options, when an engineer asks to evaluate trade-offs, or when the k-design-doc-creation SOP reaches its trade-off evaluation step. Trigger phrases — "evaluate the trade-offs between X and Y", "score these options", "which is better: SQS or EventBridge for this use case", "compare these alternatives".'
version: 1.0.0
tags: [skill, design, trade-offs, evaluation, decision, architecture]
---

# Trade-Off Evaluator

Produces a scored comparison matrix for design decisions with multiple options. Each option is scored 1–5 across five dimensions. Outputs a recommendation with rationale and per-option risks.

## When to Use

- During `k-design-doc-creation.sop.md` Phase 3 — runs automatically for each significant decision
- Standalone: engineer asks to compare options for a specific decision
- When an ADR's Alternatives table needs scored backing

## Scoring Rubric

Score each option 1–5 per dimension. Higher is better.

| Dimension       | 1 (Poor)                                       | 3 (Acceptable)                               | 5 (Excellent)                                       |
| --------------- | ---------------------------------------------- | -------------------------------------------- | --------------------------------------------------- |
| **Cost**        | Significantly more expensive than alternatives | Comparable cost to alternatives              | Lowest cost or best cost/value ratio                |
| **Latency**     | Adds >100ms or introduces synchronous blocking | Adds <50ms or acceptable async delay         | Minimal latency impact; sub-10ms or fully async     |
| **Complexity**  | Requires new expertise, significant new infra  | Familiar patterns, moderate operational load | Simple, uses existing patterns and tooling          |
| **Scalability** | Hard ceiling or requires manual intervention   | Scales with effort (e.g., shard management)  | Auto-scales to 10× current load without changes     |
| **Operability** | New failure modes, no existing runbooks        | Manageable with runbook updates              | Existing monitoring, runbooks, and on-call coverage |

## Steps

### Step 1: Identify Decision and Options

Extract from context:

- **Decision context** — what problem is being solved, what constraints apply
- **Options** — at least 2, at most 5; each with a name and brief description
- **Dimensions** — default to all five; omit a dimension only if it is genuinely not applicable (state why)

### Step 2: Score Each Option

For each option × dimension pair:

1. Reason about the score based on the decision context and known service characteristics
2. Assign a score 1–5
3. Write a one-line justification

Do not assign scores from memory alone for AWS service characteristics — cross-reference with `aws-service-validator` findings. When `aws-service-validator` is not used, you MUST note the assumption explicitly.

### Step 3: Produce Comparison Table

```markdown
## Trade-Off Analysis: <Decision Title>

| Option   | Cost | Latency | Complexity | Scalability | Operability | Total |
| -------- | ---- | ------- | ---------- | ----------- | ----------- | ----- |
| Option A | 4    | 3       | 5          | 4           | 4           | 20    |
| Option B | 3    | 5       | 3          | 5           | 3           | 19    |
| Option C | 5    | 2       | 2          | 3           | 2           | 14    |

**Scores:** 1 = poor, 5 = excellent. Higher total = better overall fit.
```

### Step 4: Recommendation and Risks

After the table, provide:

```markdown
**Recommendation:** Option A — highest operability and complexity scores align with the team's
existing Lambda + DynamoDB expertise. Latency score of 3 is acceptable given the async processing
requirement.

**Risks per option:**

- **Option A:** Cost increases at >10k events/min; monitor with CloudWatch billing alarms.
- **Option B:** Latency advantage disappears under fan-out scenarios; test at 5× peak load.
- **Option C:** Complexity score of 2 reflects no existing team expertise; budget 2-week ramp-up.
```

### Step 5: Write Report

Write the full trade-off report to `docs/design/<name>-tradeoffs.md`. If called during the creation SOP, embed the table in the relevant ADR's Alternatives section.

## Pitfalls

- **Do not score from memory for AWS service characteristics** — use `aws-service-validator` or note the assumption explicitly.
- **Do not omit a dimension without stating why** — "not applicable" must be justified.
- **Do not recommend the option with the highest total if context overrides it** — a hard constraint (e.g., "must be synchronous") can disqualify an option regardless of score.
- **Avoid straw-manning** — every option must be scored fairly; a score of 1 requires a specific justification.

## Verification

After producing the report, confirm:

- Every option has a score for every applicable dimension
- Every score has a one-line justification (inline or in a notes section)
- The recommendation references the scores explicitly
- Risks are specific, not generic ("may be slower" is not a risk; "adds ~80ms per hop under fan-out" is)

## Quality Gate

The trade-off evaluation passes when:

- At least 2 options are scored
- All five dimensions are addressed (or explicitly excluded with justification)
- The recommendation names the chosen option and references at least 2 dimension scores
- The report is written to `docs/design/<name>-tradeoffs.md` or embedded in the ADR

Wersje

W bazie nie ma innych skilli o nazwie trade-off-evaluator.

Migawka bazy z 13.11.2026 · wersja paczki 43d9fed38f16 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

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

Podobne skille

  • 92weigh
    Ocenia decyzje architektoniczne, opisuje kompromisy i wybiera wzorce, a także przygotowuje ADR i opcje projektowe.
  • 100architecture-designer
    Projektuje architekturę wysokiego poziomu, tworzy diagramy i ADR, ocenia kompromisy technologiczne, planuje skalowalność oraz przegląda istniejące projekty.
  • 100design-alternatives
    Generuje i porównuje alternatywne rozwiązania inżynierskie z macierzą ocenianą według kryteriów, gdy trzeba rozważyć co najmniej 3 podejścia.
  • 100arch-design
    Prowadzi myślenie projektowe o systemie przed dokumentem lub kodem: cele i nie-cele, szacunki rzędu wielkości, komponenty i kontrakty, tryby awarii, operacyjność, bezpieczeństwo i kompromisy.
  • 100architecture-decision
    Ocenia opcje architektury, dokumentuje kompromisy i pisze rekordy decyzji dla ADR, wyboru wzorców, technologii oraz decyzji o długu technicznym.
  • 90tech-eval
    Ocenia opcje technologiczne i tworzy macierz kompromisów z rekomendacją opartą na źródłach, na przykład przy wyborze build czy buy.

Uwagi i zgłoszenia

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