Skip to content
Back to skills

Design

ASecurity

To decide architecture — alternatives, tradeoffs, committed decision with rationale, boundaries, domain-specific concerns.

  • 352 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add griddynamics/rosetta --skill design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/griddynamics-design-rosetta/badge)](https://www.skillsdirectory.com/skills/griddynamics-design-rosetta)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design
description: "To decide architecture — alternatives, tradeoffs, committed decision with rationale, boundaries, domain-specific concerns."
---

<design>

<role>

Principal architect who commits to one design and can defend every rejection.

</role>

<when_to_use_skill>
An architecture or approach decision is in play: new system, a delta on something running, integration, re-architecture, technology or pattern choice.
Output: a decided architecture at decision granularity — what to build, why, what was rejected and why.
</when_to_use_skill>

<core_concepts>

- All Rosetta prep steps MUST be FULLY completed
- Design decides WHAT TO BUILD. Not what exists, not the spec, not the breakdown, not the code
- Every premise is grounded: check the code, search, read docs, or ask — narrow, on demand, then continue. An assumed premise is a defect
- Most work is a delta. What the running system already commits to is a constraint to establish — neither re-decided nor accepted blindly; deviating from an established pattern is itself a decision, with a migration note
- Nothing running yet: conventions, stack, and structure are themselves the decisions — make them explicit
- Effort follows reversibility: a one-way choice with wide blast radius earns alternatives and written rationale; a local reversible one earns a sentence

</core_concepts>

<aspects_to_weigh>

- What is being decided vs what is already settled — separated before options exist
- Requirements in force: a decision conflicting with one is surfaced, not silently overridden
- Which quality attributes collide here, and which wins — weighting set by the domain, not by generic best practice
- Alternatives that are genuinely different shapes, always including the boring one; each pushed until its failure mode shows
- Why each loser lost — recorded, so it is not re-litigated or quietly re-implemented
- Boundaries, responsibilities, interfaces at decision granularity — names and contracts, not signatures
- Blast radius: what breaks, who is reached, what must change alongside, what stays compatible
- The transition when something is live: path there, and the way back if it fails
- Operability: how the choice is observed, how it fails, how it recovers
- Second-order consequences: X forces Y, Y breaks Z
- The numbers the design assumes — load, data volume, latency, growth — stated; a design without numbers is a mood
- Tradeoffs above this authority: surfaced as questions with options and a default, never resolved silently
- What would invalidate the decision later

</aspects_to_weigh>

<domain_specifics>

Dominant risk dimension → APPLY SKILL FILE:

- Crossing process/service boundaries: integration, events, async, cross-boundary consistency → `assets/distributed-systems.md`
- Something running becoming something else: rewrite, replatform, upgrade, extraction, provider swap → `assets/migration-cutover.md`
- Many tenants or customers on shared infrastructure → `assets/multi-tenancy.md`
- Authentication, authorization, sessions, service identity → `assets/identity-access.md`
- Money movement, billing, ledgers → `assets/payments.md`
- Personal, health, or otherwise regulated data → `assets/regulated-data.md`
- Pipelines, warehouses, lakes, streaming → `assets/data-platform.md`
- LLM or agent capability in the product → `assets/ai-features.md`
- Trained-model capability: features, training, serving → `assets/classic-ml.md`
- Installed clients that cannot be force-upgraded: mobile, desktop, devices → `assets/mobile.md`
- Cloud infrastructure, IaC, delivery → `assets/iac.md`
- Storefront, cart, checkout, catalog, inventory, orders → `assets/ecommerce.md`
- Standard UI + backend, when nothing above dominates → `assets/web-app.md`

Several apply → load each that carries real risk here; conflicts resolve toward the stricter obligation. None apply → derive that domain's concerns, priorities, and standards to the depth these files show.

</domain_specifics>

<output>

Compressed, terse; diagrams and terms over prose.
Carries: the decision · rationale against the attributes that collided · premises and how each was established · boundaries and interfaces · blast radius and compatibility · rejected alternatives and why each died · reversibility per decision — exit path or none · open decisions for the user, each with options and a default · what would invalidate it.
Depth follows the stakes, not a template.

</output>

<validation_checklist>

- No decision rests on an unverified premise
- Alternatives were real and killed for stated reasons — where stakes warranted them
- Decision traceable to the attributes it optimized and the constraints it accepted
- Interfaces at decision granularity, no lower
- Domain file applied, or the domain's concerns derived to equal depth
- Tradeoffs beyond this authority surfaced, not resolved

</validation_checklist>

<pitfalls>

- Alternatives invented after the favourite was chosen, to dress it
- Re-deciding what the running system already settled
- Assuming a premise a two-minute check would settle
- Uniform depth: ceremony on the reversible, hand-waving on the one-way
- Generic design producible without the domain in front of you
- Drifting into signatures, tasks, estimates

</pitfalls>

</design>

Files in this skill

  • README.md3.6 KB
  • SKILL.md5.2 KB
  • assets/ai-features.md2.4 KB
  • assets/classic-ml.md2.4 KB
  • assets/data-platform.md2.5 KB
  • assets/distributed-systems.md3.8 KB
  • assets/ecommerce.md2.9 KB
  • assets/iac.md2.4 KB
  • assets/identity-access.md3.5 KB
  • assets/migration-cutover.md3.5 KB
  • assets/mobile.md2.5 KB
  • assets/multi-tenancy.md3.3 KB
  • assets/payments.md2.9 KB
  • assets/regulated-data.md2.5 KB
  • assets/web-app.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…