adr-spec-gate

adr-spec-gate is a skill for Claude Code, Codex from avizmarlon/agent-skills. It costs 49 tokens per session (1,979 once invoked), scanned A, original, MIT.

A required design-document step before starting a project or substantial feature. It produces a specification describing what to build and an architecture decision record (ADR) explaining important design choices.

In plain words
What is it for?
Use it to document project requirements, define what is in or out of scope, and record the reasoning behind non-obvious technical decisions.
Why use it?
It reduces unclear requirements, late discoveries, repeated decisions, and plans that exist only in a chat conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to document project requirements, define what is in or out of scope, and record the reasoning behind non-obvious technical decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avizmarlon/agent-skills/adr-spec-gate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add avizmarlon/agent-skills --skill adr-spec-gate
Clone the repo
git clone --depth 1 https://github.com/avizmarlon/agent-skills

Made for: Claude Code, 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 adr-spec-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/avizmarlon/agent-skills/adr-spec-gate/github.svg)](https://agentmods.dev/skills/avizmarlon/agent-skills/adr-spec-gate)
Your own site
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/adr-spec-gate"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/adr-spec-gate/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 adr-spec-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/adr-spec-gate"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/adr-spec-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,979 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.00049 $0.01979
Opus 5 $0.00024 $0.00989
Sonnet 5 $0.00010 $0.00396
Haiku 4.5 $0.00005 $0.00198

Measured 10d ago against content hash f9fd2125f8b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

adr-spec-gate 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 10d 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.

skills/adr-spec-gate/SKILL.md · 225 lines

How it starts

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

ADR + Spec Gate — Mandatory Entry Point for Development

Overview

Every new project and every non-trivial feature must pass through a dual-gate entry point before any code is written. This skill enforces the discipline of explicit design documentation before implementation.

The two required artifacts:

  1. Specification (Spec) — What to build, why, and how.
  2. Architecture Decision Record (ADR) — Why non-obvious design choices were made.

This gate prevents common failures: discovering broken assumptions mid-build, remaking decisions that were already made weeks earlier, and projects that only "exist" in chat and dissolve when the conversation ends.


1. Specification

A specification is a document that fully describes a feature or system at the design level, sufficient for another engineer (or AI agent) to continue implementation without asking the original author questions.

Minimal Specification Template

# <Feature/System Name> Specification

## Objective
What problem does this solve? (1-2 sentences)

## Scope
What is IN scope?
- Explicit feature list
- Boundaries

What is OUT of scope?
- What will NOT be built now (and why)

## Requirements
- User-visible requirements
- Non-functional requirements (performance, security, scale)
- Constraints (regulatory, technical, business)

## Proposed Architecture
- High-level design
- Key components and interactions
- Data model (if applicable)
- External dependencies

## Inputs and Outputs
- What does the system accept?
- What does it produce?
- Format and validation rules

## Error Handling
- What can fail?
- How should failures be handled?
- Recovery strategy

## Success Metrics
- How will we know this was built correctly?
- Quantifiable measures if possible

Spec Location

  • Default: docs/<feature-name>-spec.md or a dedicated SPEC.md in the root.
  • For existing features: add a new section to the living spec rather than fragmenting.

Spec Quality Check

  • Spec is detailed enough for another engineer to continue without asking questions?
  • Scope boundaries are explicit (not just implicit)?
  • Non-functional requirements are named (performance, scale, security)?
  • Error cases are described, not swept under "error handling TBD"?
  • Success metrics are measurable or at least checkable?

Read the full file on GitHub · 225 lines

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. 10d ago First seen · 225 lines · 49 tokens per session scan A f9fd2125f8b9

Subscribe to this mod's changes

adr-spec-gate is a skill published in the GitHub repository avizmarlon/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 1,979 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

agent-carnet

Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.

yamadashy/repomix · 67 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

security-audit

Audit a codebase or directory for security issues (hardcoded secrets, injection, unsafe deserialization, weak crypto, authz gaps) and produce a structured findings report. Use when the user asks for a security review, an audit, or to check code for vulnerabilities. Report only — never fix.

omnigent-ai/omnigent · 64 tokens

taiyi-ui-design

A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.

Dong90/oh-my-taiyiforge · 35 tokens

taiyi-evolve

A workflow skill that compares the implemented code with the frozen design after development and testing. It records architecture changes and proposes updates to DESIGN.md, the document describing the intended system structure.

Dong90/oh-my-taiyiforge · 37 tokens

taiyi-diagram-c4

A code-scanning tool that builds C4 architecture documents from a repository. It separates facts observed in the code from conclusions inferred about the design and uses Mermaid diagrams as the source format.

Dong90/oh-my-taiyiforge · 48 tokens