一键导入
architecture-validation
Validate generated architecture diagrams for hierarchy issues, missing internet ingress, network segmentation gaps, and missing components.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate generated architecture diagrams for hierarchy issues, missing internet ingress, network segmentation gaps, and missing components.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Trace a public endpoint through App Gateway, APIM, and AKS using harvested subscription data.
On-demand Playwright audit of a subscription's rendered React Flow diagrams - verifies the UI matches harvested Azure reality using screenshots, DOM checks, interaction tests, and diagram-to-asset comparison.
Run Triage-Saurus diagram review (screenshots, threat-model smells, and before/after report).
Promote validated learnings from a completed experiment — create detection rules, update strategy JSON, and update agent instructions for future experiments.
Generate per-resource-type cloud summaries (Key Vault, Storage Account, AKS, etc.) and persist them to the DB for the web app after triage completes.
Run two-phase repo context discovery — automated baseline (Phase 1) then intelligent code analysis (Phase 2) — to build architecture diagrams and inform scan scope.
| name | architecture-validation |
| description | Validate generated architecture diagrams for hierarchy issues, missing internet ingress, network segmentation gaps, and missing components. |
Validate architecture diagrams produced by context discovery against the checklist in Agents/ArchitectureValidationAgent.md.
Before running, confirm an experiment exists and Phase 1 (context discovery) has completed:
python3 Scripts/Experiments/triage_experiment.py resume
Do not pass an experiment ID to resume — it reads active state automatically.
If the experiment status is pending or Phase 1 has not run, run context discovery first (see context-discovery skill).
python3 Scripts/Validate/validate_architecture.py \
--experiment <id> \
--repo <repo_name>
| Flag | Purpose |
|---|---|
--experiment <id> | Experiment ID (e.g. 001) — required |
--repo <name> | Repository name to validate — required |
--output <path> | Override output path for validation_report.md |
To validate all repos in an experiment, run once per repo (loop over the repos listed in experiment.json).
The script checks six categories — read Agents/ArchitectureValidationAgent.md for the full checklist:
🌐 Internet node in diagram| Severity | Action |
|---|---|
| CRITICAL | Fix detection scripts before continuing to Phase 2+ |
| HIGH | Document in experiment notes; proceed with caution |
| MEDIUM / LOW | Continue; track for future improvement |
Output/Learning/experiments/<id>/
validation_report.md ← human-readable issue list with recommended fixes
Override with --output <path> if needed.
Scripts/Context/external_resource_hierarchy.py or Scripts/Context/discover_repo_context.py as directed in the report, then re-run.experiment-run skill to advance the pipeline.Full validation checklist, provider-specific hierarchy patterns, and fix guidance:
Agents/ArchitectureValidationAgent.md