# chengdushuze/omnisheild architecture

> Architecture diagram of the GitHub repository chengdushuze/omnisheild, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/chengdushuze/omnisheild
- Repository: https://github.com/chengdushuze/omnisheild

## Overview

OmniShield is an instruction-and-reference skill for AI coding agents, not a runtime security platform. Its central workflow is a gated audit: discover and inspect a target, report findings and proposed fixes, wait for approval, then fix and re-verify. The repository also provides a zero-dependency scanner for preliminary discovery and substantial guidance on security, payments, edge protection, device compatibility, performance, and coverage. The README documents the gate and capabilities; only the scanner source was sampled, so undocumented runtime links between the skill files are omitted.

Main entry points: [`references/06-report-template.md`](https://github.com/chengdushuze/omnisheild/blob/main/references/06-report-template.md) (Audit Report), [`scripts/omnishield_audit.py`](https://github.com/chengdushuze/omnisheild/blob/main/scripts/omnishield_audit.py) (Pre-Scan), [`SKILL.md`](https://github.com/chengdushuze/omnisheild/blob/main/SKILL.md) (Universal Skill), [`ANTIGRAVITY.md`](https://github.com/chengdushuze/omnisheild/blob/main/ANTIGRAVITY.md) (Antigravity Guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agent_guides["Agent Guides"]
  node_skill_entry["Universal Skill<br/>[SKILL.md]"]
  node_antigravity_guide["Antigravity Guide<br/>[ANTIGRAVITY.md]"]
  node_claude_guide["Claude Guide<br/>[CLAUDE.md]"]
  node_codex_guide["Codex Guide<br/>[AGENTS.md]"]
  node_cursor_guide["Cursor Guide<br/>[CURSOR.md]"]
  node_windsurf_guide["Windsurf Guide<br/>[WINDSURF.md]"]
  node_copilot_guide["Copilot Guide<br/>[COPILOT.md]"]
  node_gemini_guide["Gemini Guide<br/>[GEMINI.md]"]
end

subgraph group_audit_flow["Audit Workflow"]
  node_discovery_scanner["Pre-Scan"]
  node_audit_report["Audit Report"]
end

subgraph group_security_guidance["Security Guidance"]
  node_security_checklist["Security Checklist"]
  node_database_security["Database Security"]
  node_payment_security["Payment Security"]
  node_edge_waf["Edge &amp; WAF Rules"]
  node_production_rules["Production Rules"]
end

subgraph group_quality_guidance["Compatibility &amp; Quality"]
  node_device_matrix["Device Matrix"]
  node_performance_reliability["Performance &amp; Reliability"]
  node_extended_coverage["Extended Coverage"]
end

node_coding_agents(("AI Coding Agents"))

node_coding_agents -->|"use skill"| node_skill_entry
node_coding_agents -->|"use guide"| node_antigravity_guide
node_coding_agents -->|"use guide"| node_claude_guide
node_coding_agents -->|"use guide"| node_codex_guide
node_coding_agents -->|"use guide"| node_cursor_guide
node_coding_agents -->|"use guide"| node_windsurf_guide
node_coding_agents -->|"use guide"| node_copilot_guide
node_coding_agents -->|"use guide"| node_gemini_guide
node_discovery_scanner -->|"aids discovery"| node_audit_report
node_audit_report -.->|"reports against"| node_security_checklist

click node_skill_entry "https://github.com/chengdushuze/omnisheild/blob/main/SKILL.md"
click node_antigravity_guide "https://github.com/chengdushuze/omnisheild/blob/main/ANTIGRAVITY.md"
click node_claude_guide "https://github.com/chengdushuze/omnisheild/blob/main/CLAUDE.md"
click node_codex_guide "https://github.com/chengdushuze/omnisheild/blob/main/AGENTS.md"
click node_cursor_guide "https://github.com/chengdushuze/omnisheild/blob/main/CURSOR.md"
click node_windsurf_guide "https://github.com/chengdushuze/omnisheild/blob/main/WINDSURF.md"
click node_copilot_guide "https://github.com/chengdushuze/omnisheild/blob/main/COPILOT.md"
click node_gemini_guide "https://github.com/chengdushuze/omnisheild/blob/main/GEMINI.md"
click node_discovery_scanner "https://github.com/chengdushuze/omnisheild/blob/main/scripts/omnishield_audit.py"
click node_audit_report "https://github.com/chengdushuze/omnisheild/blob/main/references/06-report-template.md"
click node_security_checklist "https://github.com/chengdushuze/omnisheild/blob/main/references/01-security-checklist.md"
click node_database_security "https://github.com/chengdushuze/omnisheild/blob/main/references/02-database-security.md"
click node_payment_security "https://github.com/chengdushuze/omnisheild/blob/main/references/03-payment-security.md"
click node_edge_waf "https://github.com/chengdushuze/omnisheild/blob/main/references/08-cloudflare-and-edge-waf-rules.md"
click node_production_rules "https://github.com/chengdushuze/omnisheild/blob/main/references/09-100-security-waf-rules.md"
click node_device_matrix "https://github.com/chengdushuze/omnisheild/blob/main/references/04-all-device-matrix.md"
click node_performance_reliability "https://github.com/chengdushuze/omnisheild/blob/main/references/05-performance-reliability.md"
click node_extended_coverage "https://github.com/chengdushuze/omnisheild/blob/main/references/07-exhaustive-100k-coverage.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skill_entry,node_antigravity_guide,node_claude_guide,node_codex_guide,node_cursor_guide,node_windsurf_guide,node_copilot_guide,node_gemini_guide toneBlue
class node_discovery_scanner,node_audit_report toneAmber
class node_security_checklist,node_database_security,node_payment_security,node_edge_waf,node_production_rules toneMint
class node_device_matrix,node_performance_reliability,node_extended_coverage toneRose
class node_coding_agents toneIndigo
```

## Components

### Agent Guides

- [Universal Skill](https://github.com/chengdushuze/omnisheild/blob/main/SKILL.md): `SKILL.md`
- [Antigravity Guide](https://github.com/chengdushuze/omnisheild/blob/main/ANTIGRAVITY.md): `ANTIGRAVITY.md`
- [Claude Guide](https://github.com/chengdushuze/omnisheild/blob/main/CLAUDE.md): `CLAUDE.md`
- [Codex Guide](https://github.com/chengdushuze/omnisheild/blob/main/AGENTS.md): `AGENTS.md`
- [Cursor Guide](https://github.com/chengdushuze/omnisheild/blob/main/CURSOR.md): `CURSOR.md`
- [Windsurf Guide](https://github.com/chengdushuze/omnisheild/blob/main/WINDSURF.md): `WINDSURF.md`
- [Copilot Guide](https://github.com/chengdushuze/omnisheild/blob/main/COPILOT.md): `COPILOT.md`
- [Gemini Guide](https://github.com/chengdushuze/omnisheild/blob/main/GEMINI.md): `GEMINI.md`

### Audit Workflow

- [Pre-Scan](https://github.com/chengdushuze/omnisheild/blob/main/scripts/omnishield_audit.py): `scripts/omnishield_audit.py`
- [Audit Report](https://github.com/chengdushuze/omnisheild/blob/main/references/06-report-template.md): `references/06-report-template.md`

### Security Guidance

- [Security Checklist](https://github.com/chengdushuze/omnisheild/blob/main/references/01-security-checklist.md): `references/01-security-checklist.md`
- [Database Security](https://github.com/chengdushuze/omnisheild/blob/main/references/02-database-security.md): `references/02-database-security.md`
- [Payment Security](https://github.com/chengdushuze/omnisheild/blob/main/references/03-payment-security.md): `references/03-payment-security.md`
- [Edge & WAF Rules](https://github.com/chengdushuze/omnisheild/blob/main/references/08-cloudflare-and-edge-waf-rules.md): `references/08-cloudflare-and-edge-waf-rules.md`
- [Production Rules](https://github.com/chengdushuze/omnisheild/blob/main/references/09-100-security-waf-rules.md): `references/09-100-security-waf-rules.md`

### Compatibility & Quality

- [Device Matrix](https://github.com/chengdushuze/omnisheild/blob/main/references/04-all-device-matrix.md): `references/04-all-device-matrix.md`
- [Performance & Reliability](https://github.com/chengdushuze/omnisheild/blob/main/references/05-performance-reliability.md): `references/05-performance-reliability.md`
- [Extended Coverage](https://github.com/chengdushuze/omnisheild/blob/main/references/07-exhaustive-100k-coverage.md): `references/07-exhaustive-100k-coverage.md`

### Other components

- **AI Coding Agents**

## Connections

- AI Coding Agents → Universal Skill: use skill (evidence: `README.md`)
- AI Coding Agents → Antigravity Guide: use guide (evidence: `README.md`)
- AI Coding Agents → Claude Guide: use guide (evidence: `README.md`)
- AI Coding Agents → Codex Guide: use guide (evidence: `README.md`)
- AI Coding Agents → Cursor Guide: use guide (evidence: `README.md`)
- AI Coding Agents → Windsurf Guide: use guide (evidence: `README.md`)
- AI Coding Agents → Copilot Guide: use guide (evidence: `README.md`)
- AI Coding Agents → Gemini Guide: use guide (evidence: `README.md`)
- Pre-Scan → Audit Report: aids discovery (evidence: `scripts/omnishield_audit.py`)
- Audit Report → Security Checklist: reports against
