spec-driven-dev-kit: Skill for Codex

.agents/skills/architektur-festlegen/SKILL.md

architektur-festlegen is a skill for Codex from trojava/spec-driven-dev-kit. It costs 79 tokens per session (3,643 once invoked), scanned A, original, MIT.

A guided architecture decision skill for software projects. It asks questions, compares technical options with their advantages and disadvantages, and records the agreed choices in project documentation.

In plain words
What is it for?
Use it to define project architecture or write an architecture decision record, after reviewing the project vision, principles, and relevant feature files.
Why use it?
It turns vague technical discussions into explicit decisions that the team can review later. It also keeps project-wide architecture choices separate from decisions about one feature.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; $skill-name invocation.

This is trojava/spec-driven-dev-kit's own configuration. It tells Codex how to work on spec-driven-dev-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spec-driven-dev-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to trojava/spec-driven-dev-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/trojava/spec-driven-dev-kit/main/.agents/skills/architektur-festlegen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/trojava/spec-driven-dev-kit

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architektur-festlegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/trojava/spec-driven-dev-kit/architektur-festlegen/github.svg)](https://agentmods.dev/skills/trojava/spec-driven-dev-kit/architektur-festlegen)
Your own site
<a href="https://agentmods.dev/skills/trojava/spec-driven-dev-kit/architektur-festlegen"><img src="https://agentmods.dev/badge/skills/trojava/spec-driven-dev-kit/architektur-festlegen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architektur-festlegen

Your own site · 80×15
<a href="https://agentmods.dev/skills/trojava/spec-driven-dev-kit/architektur-festlegen"><img src="https://agentmods.dev/badge/skills/trojava/spec-driven-dev-kit/architektur-festlegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.03643
Opus 5.5 $0.00032 $0.01457
Sonnet 5.5 $0.00016 $0.00729
Haiku 4.5 $0.00008 $0.00364

Measured 1mo ago against content hash d1e667aa009e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architektur-festlegen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/architektur-festlegen/SKILL.md · 286 lines

How it starts

The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Architektur festlegen

Rolle

Du bist ein Solution- und Software-Architekt, der aus fachlichen Anforderungen und Projektideen verständliche Architekturentwürfe ableitet.

Auftrag bestimmen

Dieser Skill kennt zwei getrennte Aufträge. Führe nie beide in einem Auftrag aus:

  • Projektweite Vorgaben: docs/architektur.md, einmalig direkt nach der Projektvision.
  • Feature-Entscheidungen: adr.md im Feature-Ordner und bei einer Schnittstelle der Vertrag unter api/, nachdem spezifikation.md freigegeben ist.

Kläre zuerst, welcher Auftrag gemeint ist, und bei Feature-Arbeit, um welches Feature es geht.

Klärung durch Fragen und Optionen

  1. Lies AGENTS.md, docs/vision.md, docs/prinzipien.md, docs/architektur.md und bei Feature-Arbeit zusätzlich alle Dateien des Feature-Ordners und den Schnittstellenvertrag unter api/.
  2. Leite den Entscheidungsbedarf aus Anforderungen, Rahmenbedingungen und Mengengerüsten ab. Frage nur, was das Vorhaben tatsächlich beeinflusst.
  3. Stelle die Fragen gebündelt und in nachvollziehbarer Reihenfolge. Nenne je Frage zwei bis drei konkrete Optionen mit dem wesentlichen Vorteil und Nachteil für dieses Projekt und kennzeichne einen begründeten Vorschlag. Bei Technologie und Architekturstil nennst du alle im Fragenkatalog benannten Optionen.
  4. Bevorzuge die einfachste Option, die die Anforderungen vollständig erfüllt. Schlage keine zusätzliche Technologie ohne belegten Bedarf vor.
  5. Warte auf die Antworten. Ändere während der Klärung keine Datei.
  6. Übernimm nur bestätigte Antworten. Ergänze keine Entscheidungen, nach denen nicht gefragt wurde.
  7. Trage nicht entschiedene Punkte unter Bewusst nicht festgelegt ein, statt sie stillschweigend festzulegen.

Projektweite Vorgaben festlegen

  1. Prüfe, ob docs/vision.md fachlich ausgefüllt ist. Wenn nicht, stoppe und unterstütze zuerst die Klärung der Projektvision.
  2. Kläre nur, was die Projektvision und die absehbar nächsten Features erfordern. Entscheide nichts auf Vorrat. Vertage Fragen, die erst ein späteres Feature sinnvoll beantworten kann, unter Bewusst nicht festgelegt und nenne dabei das Feature oder den Zeitpunkt der Entscheidung.
  3. Nutze den Fragenkatalog am Ende dieses Skills. Kläre Frontend, Backend und Datenspeicherung zuerst, danach die übrigen Bereiche. Stelle die Fragen zu Technologie und Architekturstil immer mit den dort benannten Optionen, auch wenn ein Vorschlag naheliegt.
  4. Ist ein Schnittstellenstil entschieden, halte als A-xx fest, in welcher Datei unter api/ der Vertrag steht und in welchem Format (Zuordnung in api/README.md).
  5. Sind Technologie und Architekturstil bestätigt, lies die passende Referenz unter references/ (Zuordnung in references/README.md) und schlage die dort unter Ableitung als Vorgaben genannten Kandidaten als A-xx zur Bestätigung vor. Die Referenz ist Arbeitsgrundlage, keine verbindliche Quelle; verbindlich wird nur, was als A-xx bestätigt ist. Trägt die Referenz den Status Platzhalter, melde das, trage nur den Architekturstil als A-xx ein und biete an, die Referenz in einem eigenen Auftrag auszuarbeiten. Die Technologie steht in der Bausteintabelle, nicht zusätzlich als A-xx.
  6. Fülle den Überblick aus: Textdiagramm, Bausteintabelle und zwei bis vier bestimmende Treiber. Das ist der wertvollste Teil des Dokuments.
  7. Halte jede bestätigte Entscheidung als genau eine Zeile A-xx fest: prüfbare Vorgabe, ein Satz Begründung, verworfene Alternativen als Stichworte. Formuliere so, dass sich die Vorgabe in einem Review eindeutig beantworten lässt.
  8. Wird eine bestehende Vorgabe abgelöst, ersetze ihre Zeile. Führe kein Entscheidungsprotokoll daneben; die Historie führt die Versionsverwaltung.
  9. Setze den Status erst nach ausdrücklicher menschlicher Bestätigung auf Freigegeben. Freigabereif ist das Dokument, wenn Frontend, Backend und Datenspeicherung entschieden oder bewusst offen gelassen sind und kein offener Punkt das nächste Feature blockiert.
  10. Stoppe danach. Beginne keine Feature-Arbeit.

Read the full file on GitHub · 286 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +56 lines · +8 tokens per session d1e667aa009e
  2. 1mo ago First seen · 230 lines · 71 tokens per session scan A fd89ef158e78

Subscribe to this mod's changes

architektur-festlegen is a skill published in the GitHub repository trojava/spec-driven-dev-kit (9 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 3,643 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens