Load relevant ADRs from docs/adr/ into context. Read-only
Scanned 5/27/2026
Install via CLI
openskills install qGolem/orc---
description: Load relevant ADRs from docs/adr/ into context. Read-only
user-invocable: true
context: fork
allowed-tools: Read, Glob, Bash
---
# ADR Context Loader
Load relevant architectural decisions from `docs/adr/` before implementing or verifying tasks.
## Process
1. **List all ADRs** — `Glob docs/adr/**/*.md`
2. **Extract metadata** — Read title (`# ADR-XXX: ...`) and status line from each file
3. **Filter by topic** — Identify ADRs relevant to the caller's task topic (passed as `$ARGUMENTS`)
4. **Load relevant ADRs** — Read full content of matching ADRs
5. **Output summary** — Report which ADRs apply, their decisions, and constraints to respect
## Implementation Steps
### Step 1: Discover all ADRs
```bash
Glob pattern: docs/adr/**/*.md
```
### Step 2: Read metadata
For each ADR file:
- Read the first line containing `# ADR-XXX:` to extract title
- Read the `## Status` section to determine status (Accepted, Rejected, Superseded, etc.)
### Step 3: Filter by relevance
Given the task topic from `$ARGUMENTS`, identify ADRs that match by:
- Title keywords (e.g., "auth" matches "Authentication system architecture")
- Filename patterns (e.g., `ADR-001-*.md`)
- Status (only include Accepted or superseded-but-still-relevant ones)
### Step 4: Load and return content
For each relevant ADR:
- Read the full file
- Include in output summary
### Step 5: Output summary format
```
## Relevant ADRs for [task topic]
### ADR-XXX: [Title]
- **Status**: [Accepted/Superseded]
- **Key Decision**: [one-liner]
- **Constraints to respect**:
- Constraint 1
- Constraint 2
- **Full decision context**: [excerpt or link]
---
### Constraints Summary
- [List all constraints from all ADRs]
```
## Example
If task topic is "auth", and docs/adr/ contains:
- `ADR-001-authentication-strategy.md` → MATCH
- `ADR-002-database-schema.md` → no match
- `ADR-003-oauth-provider-selection.md` → MATCH
Output would include ADR-001 and ADR-003 with their decisions and constraints.
## Output to Caller
Return the summary to the caller's context so they can see:
- Which ADRs apply to their task
- What architectural decisions have been made
- What constraints must be respected during implementation/verification
No comments yet. Be the first to comment!
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.
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.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.