create-adr skillA
create-adr is agent-read markdown (skill) from codenamev/ai-software-architect: Creates a NEW Architectural Decision Record (ADR) documenting a specific architectural decision. Use when the user requests "Create ADR for [topic]", "Document decision about [topic]", "Write ADR for [choice]", or when documenting technology choices, patterns, or architectural approaches. Do NOT use for reviews (use architecture-review or specialist-review), checking existing ADRs (use architecture-status), or general documentation..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Create Architectural Decision Record (ADR) Creates structured ADRs following the framework's template. ## Process ### 1. Gather Context Ask if needed: - What decision is being made? - What problem does it solve? - What alternatives were considered? - What are the trade-offs? ### 2. Generate ADR Number ```bash # Find highest ADR number ls .architecture/decisions/adrs/ | grep -E "^ADR-[0-9]+" | sed 's/ADR-//' | sed 's/-.*//' | sort -n | tail -1 ``` New ADR = next sequential number (e.g., if highest is 003, create 004) ### 3. Validate and Sanitize Input **Security**: Sanitize user input to prevent path traversal and injection: - Remove or replace: `..`, `/`, `\`, null bytes, control characters - Convert to lowercase kebab-case: spaces → hyphens, remove special chars - Limit length: max 80 characters for filename portion - Validate result: ensure filename contains only [a-z0-9-] ### 4. Create Filename Format: `ADR-XXX-kebab-case-title.md` Examples: - `ADR-001-use-react-for-frontend.md` - `ADR-002-choose-postgresql-database.md` **Valid input**: "Use React for Frontend" → `use-react-for-frontend` **Invalid blocked**: "../etc/passwd" → sanitized or rejected …
Read the whole file at its exact version.
How to install
mdr add codenamev/ai-software-architect/create-adr@git:20260504.d1d5014mdr add codenamev/ai-software-architect/create-adr@sha256:1f55c9d8dfe33cbfPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ambtnzbr3i3aayzr)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260504.d1d5014 latest | 2026-05-04 | d1d5014 | 4,508 B | A | view · diff |
| git:20260504.27ad56d | 2026-05-04 | 27ad56d | 4,474 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4508 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
codenamev/ai-software-architect · 78 stars · license none · pushed 2026-09-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ambtnzbr3i3aayzr GET https://markdownregistry.com/api/v1/resolve?ref=codenamev/ai-software-architect/create-adr GET https://markdownregistry.com/api/v1/blob/1f55c9d8dfe33cbf9b26612507c5a3c2ca6f534276f95ab7deff8e3e1c3f8cb5
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.