Skill: Architectural Governance
> **Skill ID**: `SKILL_ARCHITECT`
Best use case
Skill: Architectural Governance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
> **Skill ID**: `SKILL_ARCHITECT`
Teams using Skill: Architectural Governance should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/architect/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Skill: Architectural Governance Compares
| Feature / Agent | Skill: Architectural Governance | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
> **Skill ID**: `SKILL_ARCHITECT`
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Skill: Architectural Governance > **Skill ID**: `SKILL_ARCHITECT` > **Tags**: `architecture`, `design-patterns`, `rigor`, `structural-governance` > **Version**: 1.0 ## 1. Structural Rigor (Mandatory) **Trigger**: Before starting any non-trivial feature or project initialization. ### 1.1 Structural Audit The AI must define the architectural pattern: - **Criteria**: Is it a Monolith, Microservice, Layered (N-Tier), or Hexagonal (Ports & Adapters)? - **Requirement**: Create an index file `ARCHITECTURE.md` in the project root if it doesn't exist. ### 1.2 Design Principles (Enforcement) - **SOLID**: Every change must adhere to Single Responsibility and Open-Closed principles. - **DRY/AHA**: Prioritize "Avoid Hasty Abstractions" over "Don't Repeat Yourself". Maintain code readability. - **Dependency Rule**: Inner layers (Domain/Business Logic) must not depend on outer layers (Infrastructure/UI). ## 2. Technical Debt & Safety - **Rule 1**: No "God Objects". Classes/Models must have specific bounded contexts. - **Rule 2**: Security-First. Inputs MUST be validated; secrets MUST be stored in `.env` (never committed). - **Rule 3**: Performance. Optimize O(n^2) operations or justify them in comments. ## 3. Governance Workflow ### 3.1 Architectural Review Before implementing a complex story: 1. **Define**: Briefly outline the data flow and class relationships. 2. **Review**: Check for circular dependencies. 3. **Ratify**: Document the decision in `PROJECT_STATUS.md` under "Architectural Decisions". ## 4. Design Patterns (The "Super Architect" Toolkit) The AI should proactively suggest: - **Factory/Builder**: For complex object creation. - **Strategy**: For interchangeable algorithms. - **Observer**: For decoupled event handling. - **Adapter**: For integrating third-party libraries (especially i18n/Design).
Related Skills
vuln-scan
Multi-language dependency security scan - Use Safety CLI and OSV-Scanner to quickly detect dependency vulnerabilities in Python/JS/Java projects
SKILL_ONBOARDING.md
> **Purpose**: Conduct a one-time "Handshake Interview" with the user to establish their Developer Persona.
usb-debug
No description provided.
sql-lint
SQL code style check - Use SQLFluff to check SQL statement style and syntax (supports PostgreSQL, MySQL, SQLite, etc.)
serial-debug
No description provided.
security-check
Check dependency security vulnerabilities
rust-lint
Rust code quality check - Use Clippy and Rustfmt to ensure Rust code standards and performance optimization
run-tests
Run project test suite
register-debug
No description provided.
owasp-scan
OWASP dependency vulnerability scan - Use OWASP Dependency-Check to detect known CVE vulnerabilities in project dependencies
memory-guardian
Cross-platform memory monitoring and cleanup skill for AI development environments
Skill: Model Context Protocol (MCP)
## Purpose