hld-review
Evaluate an HLD note against linked ADRs, requirements, and architecture principles across six dimensions
от DavidROliverBA★ 53 звезды на GitHub
Установить hld-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/hld-review
Evaluate a High-Level Design (HLD) note against linked ADRs, requirements, and architecture principles. Produces a structured review with scoring across six dimensions, severity-rated findings, and actionable next steps.
Usage
/hld-review <HLD note title>
/hld-review HLD - Remote Vault Access Architecture
/hld-review HLD - SecureTransfer Azure Files to S3 Mirroring
Arguments
- $ARGUMENTS: The title of the HLD note to review (required). Must match an existing
HLD - *.mdfile in the vault root.
Review Dimensions
| Dimension | What Is Checked |
|---|---|
| ADR Coverage | Does each significant design choice have a corresponding ADR? Are referenced ADRs accepted? |
| Requirements Traceability | Are all referenced requirements (from relatedTo, project notes, linked concepts) addressed in the design? |
| Principle Compliance | Does the design align with vault architecture principles (Concept notes with conceptType: principle)? |
| Security Architecture | Are threat mitigations documented? Are security boundaries, encryption, and access controls explicit? |
| Integration Clarity | Are system interfaces, data flows, protocols, and error handling paths clearly defined? |
| Operational Readiness | Are monitoring, deployment strategy, runbook considerations, and rollback plans addressed? |
Instructions
Phase 1: Load the HLD
- Parse the command — extract the HLD note title from
$ARGUMENTS - Find the HLD file — search for the file at the vault root matching the title
- If not found, search using Grep for partial title matches across
HLD - *.mdfiles - If still not found, report the error and list available HLD notes
- If not found, search using Grep for partial title matches across
- Read the HLD note — load the full content including frontmatter and body
- Extract metadata:
relatedTowiki-links from frontmattertagsfor domain contextconfidence,freshness,verifiedquality indicators- Any inline wiki-links in the body text (
...references)
Phase 2: Gather Context
Read linked notes — for each wiki-link found in
relatedToand body text:- Read each linked note (ADRs, Systems, Concepts, Projects, Patterns)
- Categorise by type: ADR, System, Concept (principle/capability), Project, Pattern, Threat, other
- Note the status of each ADR (draft/proposed/accepted/deprecated/superseded)
Query for architecture principles — find all
Conceptnotes withconceptType: principle:node .claude/scripts/graph-query.js --type=Concept --tag=conceptType/principleIf the graph query returns no results, fall back to:
grep -rl "conceptType: principle" *.mdRead each principle note to extract:
statement— the principle itselfimplications— what follows from the principledomain— which domain it applies to
Query for related threats — search for Threat notes relevant to the HLD's domain:
- Check tags on the HLD for domain indicators (e.g.,
domain/security,domain/cloud,domain/integration) - Search:
node .claude/scripts/graph-query.js --type=Threat - Match threats by
affectedSystemsand domain overlap
- Check tags on the HLD for domain indicators (e.g.,
Check for related ADRs not yet linked — search for ADRs whose
relatedToorprojectfields reference the same systems or projects as the HLD:node .claude/scripts/graph-query.js --type=Adr --tag=status/accepted
Phase 3: Evaluate Each Dimension
Score each dimension as PASS, PARTIAL, or FAIL using the criteria below.
3.1 ADR Coverage
| Score | Criteria |
|---|---|
| PASS | Every significant design choice (technology selection, architectural pattern, integration approach) has a corresponding accepted ADR |
| PARTIAL | Some design choices have ADRs but others are undocumented, or ADRs exist but are still in draft/proposed status |
| FAIL | Major design choices lack ADR coverage entirely |
How to assess:
- Identify each significant design choice in the HLD (technology selections, architectural patterns, protocol choices)
- Check whether an ADR exists for each choice (via
relatedTolinks or vault search) - Note any ADRs that are
draftorproposedrather thanaccepted - Flag design choices that contradict accepted ADRs
3.2 Requirements Traceability
| Score | Criteria |
|---|---|
| PASS | All requirements referenced in linked project/concept notes are explicitly addressed in the HLD |
| PARTIAL | Most requirements are addressed but some are missing or only implicitly covered |
| FAIL | Significant requirements gaps — linked requirements not addressed in the design |
How to assess:
- Extract requirements from linked Project notes (goals, constraints, scope)
- Extract requirements from linked Concept notes (capabilities, principles)
- Verify each requirement has a corresponding design element in the HLD
- Check for orphaned requirements (mentio
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hld-review?
Evaluate an HLD note against linked ADRs, requirements, and architecture principles across six dimensions
Как установить скилл hld-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hld-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…