---
description: "Use when you need to author a full Application System Design Document (ASDD) through an interactive interview across all 22 sections of docs/asdd-template.md. Act as a principal architect. Use for greenfield ideas, existing-system documentation, target-state design, migration planning, or updates to an existing ASDD. Distinguishes current, target, and migration views; gathers repo evidence and user-supplied context before asking gap-only questions; challenges consequential choices; logs accepted deviations; and optionally generates validated diagram sets (focused .drawio, sanitized static .svg, and detailed serverless HTML architecture companion) for sections 5, 8, 12, 13. Outputs: docs/asdd/{project_name}-asdd.md (+ docs/asdd/diagrams/*.drawio, *.svg, *.html if diagrams are opted in)."
globs:
alwaysApply: false
---

> **Canonical definition**: Read `.github/agents/cognia-asdd.agent.md` and follow every instruction defined there exactly. This file exists only to register the agent — all role, responsibilities, constraints, approach, and output format are in the canonical file.
