Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

New Adr

ASecurity

Scaffold a new Architecture Decision Record in docs/adr/ with the repo's canonical format and the next available sequential number

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
developmentgodatabase

Works with

cli

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add mattbutlerengineering/mattbutlerengineering --skill new-adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Adr?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for New Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattbutlerengineering-new-adr/badge)](https://www.skillsdirectory.com/skills/mattbutlerengineering-new-adr)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: new-adr
description: Scaffold a new Architecture Decision Record in docs/adr/ with the repo's canonical format and the next available sequential number
disable-model-invocation: true
---

# /new-adr — create an Architecture Decision Record

Scaffolds a new ADR in `docs/adr/` following the format enforced by `pnpm --filter @mbe/cli start check-adr` (run by the pre-commit hook).

## Steps

1. **Find the next ADR number.** List `docs/adr/ADR-*.md`, parse the highest `ADR-NNN-` prefix, increment by 1. Note: multiple ADRs can share a number if they were filed on the same topic day (e.g., ADR-002 appears twice — that's fine), so also check for duplicates at the next number and append a `-b` suffix if needed.

2. **Ask the user two things if not supplied as args:**
   - Short kebab-case title (e.g., `switch-state-preservation`)
   - One-sentence summary of the decision

3. **Create `docs/adr/ADR-NNN-<title>.md`** using the template below. Populate the frontmatter and all four sections.

4. **Add an entry to `docs/adr/README.md`** in the index table, in numeric order.

5. **Confirm the file path** and remind the user that the pre-commit hook will validate the ADR format on commit.

## Template

```markdown
---
id: ADR-NNN
title: <Full Title>
status: active
date: YYYY-MM-DD
---

# ADR-NNN: <Full Title>

## Context

<What problem are we solving? What forces are at play? Cite any prior
ADRs this relates to. 2-5 sentences.>

## Decision

<What did we decide? State it plainly in 1-2 sentences. If there's a
rule or invariant, write it as a rule.>

## Consequences

<What are the trade-offs? What gets easier, what gets harder? Include
both positive and negative consequences. 3-6 bullet points.>

## Alternatives Considered

<What else did we evaluate? Why didn't we pick them? 2-4 alternatives,
one paragraph each. Skip obviously-bad options.>
```

## Rules

- Status defaults to `active`. Use `superseded` only when replacing an older ADR (also update the older one's status).
- Date is today's date in ISO format (YYYY-MM-DD).
- Title in the frontmatter and heading must match exactly.
- Do NOT include implementation details — ADRs are for decisions, not how-to guides.
- Keep each section under 200 words. ADRs are scan-and-go documents.
- If the decision introduces a prohibited pattern (like ADR-001's Tailwind ban), add a `prohibited_patterns:` array to the frontmatter — an array of regex strings that `check-adr` will grep against staged files.

## When to use

Create an ADR when:

- Choosing between multiple credible architectural options (database, framework, protocol)
- Establishing a new coding convention that affects multiple packages
- Deprecating or superseding a prior decision
- A decision would otherwise be buried in a commit message where nobody will find it

Do NOT use for:

- Routine implementation choices inside a single file
- Tactical bug fixes
- Feature additions that follow existing patterns

Attribution

mattbutlerengineeringmattbutlerengineering
View sourceMore from mattbutlerengineering →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284722 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →