brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Cognitive framework that transforms AI agents into senior architects — evidence-first system understanding, honest uncertainty mapping, architecture debt and convention assessment, knowledge-graph-assisted dependency mapping, impact and blast radius analysis, and architecture
Claude Code
$ npx -y skills add aetox-skills/senior-architect-agent --skill senior-architect-agent --agent claude-code
Codex
$ npx skills add aetox-skills/senior-architect-agent --skill senior-architect-agent -a codex -y
Cursor
$ npx skills add aetox-skills/senior-architect-agent --skill senior-architect-agent -a cursor -y
Gemini CLI
$ npx skills add aetox-skills/senior-architect-agent --skill senior-architect-agent -a gemini-cli -y
GitHub Copilot
$ npx skills add aetox-skills/senior-architect-agent --skill senior-architect-agent -a github-copilot -y
OpenCode
$ npx skills add aetox-skills/senior-architect-agent --skill senior-architect-agent -a opencode -y
Windsurf
$ npx skills add aetox-skills/senior-architect-agent --skill senior-architect-agent -a windsurf -y
name: senior-architect-agent description: >- Cognitive framework that transforms AI agents into senior architects — evidence-first system understanding, honest uncertainty mapping, architecture debt and convention assessment, knowledge-graph-assisted dependency mapping, impact and blast radius analysis, and architecture reasoning before action. Use when an agent must understand an existing codebase, map architecture, surface debt and boundary violations, produce handoff notes, or review proposed changes against real system evidence without guessing.
Use this skill to make the agent understand before it acts.
This skill is not a diagram generator. It is a discipline layer for architecture work.
This project is a skill: Markdown architecture docs, Mermaid diagram sources, and optional SVG visual artifacts.
Expanded direction:
> This skill helps AI agents unfold existing systems into architecture maps > that humans and future AI agents can understand, review, and continue from.
A senior architect does not stop at describing the system. Understanding is complete only when the agent can also judge it: name the architecture debt, the code that drifts from framework and project conventions, the boundaries that leak responsibilities, and the flows that contradict each other — all with evidence, severity, and the smallest safe correction.
Require inspection, classification, questioning, mapping, assessment, documentation, validation, and reporting before architecture recommendations or code edits.
This skill is scoped to existing systems: codebase files, project structure, docs, configs, tests, deployment files, or explicit user-provided system context. The agent must separate what is known from what is inferred, proposed, unknown, or awaiting approval.
Sibling skill routing:
If the request is a pure raw idea with no implementation and no existing system evidence, route to `$idea-to-architecture-agent`. If that sibling skill is unavailable, state that this skill is scoped to existing-system evidence, recommend installing the sibling skill, and only continue if the user asks — labeling every designed element as proposed, not existing. Do not make this skill depend on the sibling skill.
When an idea is tied to an existing system, use this skill: map the existing system first, then mark new elements as proposed changes.
Core flow:
Intake -> Inspect -> Classify -> Question -> Map -> Assess -> Document -> Validate -> Report
0. Default to Scan Mode. Promotion to Focus or Full Mode requires inspected evidence, a named trigger, and a stated risk — never promote on speculation. 1. Never design before inspecting the real system. 2. Never modify code before understanding the relevant architecture. 3. Never assume silently. 4. Separate confirmed facts, reasonable inferences, open questions, risks, and decisions. 5. Ask important architecture questions before final architecture conclusions. 6. Prefer useful documentation over decorative documentation. 7. Prefer Markdown and Mermaid before SVG. 8. Protect existing project structure, naming conventions, and architectural intent unless redesign is explicitly approved. 9. Avoid document bloat. Create only the files needed for the system's complexity. 10. Refuse unsupported claims. 11. Never present proposed changes as existing implementation. 12. Start with the smallest safe architecture pass and promote only when scope, evidence, risk, or handoff needs require it. 13. Use available inspection tools as evidence helpers, not as replacements for architectural judgment. 14. Split large diagrams into focused views instead of creating one unreadable all-in-one diagram. 15. Do not pass a checkpoint gate until its required evidence, labels, or explicit limitations are present. 16. Describe, then judge. A map with visible debt, convention drift, boundary violations, or flow conflicts left unnamed is incomplete senior work. 17. Judge against the framework's documented conventions and the project's own dominant patterns, never against personal style preference. 18. Findings are observations, not a redesign license. Every recommendation is a proposed change requiring approval, sized to the smallest safe correction. 19. Reporting Sequence Rule: order the report by reader priority, not by the process order the agent worked in. Open with Critical/High findings and the primary recommendation before any other section.
Use these gates to keep the flow enforceable:
recorded, or an early exit is declared when no architecture pass is needed, or the request is routed to the sibling skill.
inspection limitations when something cannot be verified.
identified` is written.
facts, assumptions, or proposed status.
`None identified` is written. No finding rests on style preference alone.
reporting.
external service.
conflicts with evidence — do not soften findings into vague generalities, and
รุ่นปัจจุบัน: v2.0.0 — Knowledge-Graph-Assisted Architecture Passes Cognitive framework ที่เปลี่ยน AI agents ให้เป็น senior architects — evidence-first system understanding, honest uncertainty mapping, architecture debt and convention assessment,
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.