Command Palette

Search for a command to run...

Назад к скиллам
скилл № 35934

hld-review

Evaluate an HLD note against linked ADRs, requirements, and architecture principles across six dimensions

БесплатноБез исполняемых скриптов
DavidROliverBAот 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 - *.md file 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

  1. Parse the command — extract the HLD note title from $ARGUMENTS
  2. 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 - *.md files
    • If still not found, report the error and list available HLD notes
  3. Read the HLD note — load the full content including frontmatter and body
  4. Extract metadata:
    • relatedTo wiki-links from frontmatter
    • tags for domain context
    • confidence, freshness, verified quality indicators
    • Any inline wiki-links in the body text (... references)

Phase 2: Gather Context

  1. Read linked notes — for each wiki-link found in relatedTo and 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)
  2. Query for architecture principles — find all Concept notes with conceptType: principle:

    node .claude/scripts/graph-query.js --type=Concept --tag=conceptType/principle
    

    If the graph query returns no results, fall back to:

    grep -rl "conceptType: principle" *.md
    

    Read each principle note to extract:

    • statement — the principle itself
    • implications — what follows from the principle
    • domain — which domain it applies to
  3. 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 affectedSystems and domain overlap
  4. Check for related ADRs not yet linked — search for ADRs whose relatedTo or project fields 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 relatedTo links or vault search)
  • Note any ADRs that are draft or proposed rather than accepted
  • 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить hld-review с