Architectural design patterns, C4 diagram templates, component design guidelines, and anti-patterns for PACT Architect phase. Use when: designing system components, creating architecture diagrams, defining component boundaries, planning API contracts, selecting design patterns, or reviewing architectural decisions. Triggers on: architecture design, C4 diagrams, component design, system design, microservices, monolith, API design, interface contracts, architect phase.
View on GitHubProfSynapse/PACT-prompt
PACT
January 25, 2026
Select agents to install to:
npx add-skill https://github.com/ProfSynapse/PACT-prompt/blob/main/pact-plugin/skills/pact-architecture-patterns/SKILL.md -a claude-code --skill pact-architecture-patternsInstallation paths:
.claude/skills/pact-architecture-patterns/# PACT Architecture Patterns
Design patterns and templates for the Architect phase of PACT. This skill provides
quick references for architectural decisions and links to detailed pattern implementations.
## C4 Model Quick Reference
The C4 model provides four levels of abstraction for system architecture documentation.
### Level 1: System Context
Shows your system as a box surrounded by users and other systems it interacts with.
```
+------------------+
| External User |
+--------+---------+
|
v
+------------------+ +----+----+ +------------------+
| Payment Gateway |<-->| Your |<-->| Email Service |
+------------------+ | System | +------------------+
+---------+
^
|
+--------+---------+
| Admin User |
+------------------+
```
**What to include:**
- Your system (single box)
- Users/personas
- External systems
- High-level interactions
### Level 2: Container
Shows the high-level technical building blocks (not Docker containers).
```
+----------------------------------------------------------------+
| Your System |
| +----------------+ +----------------+ +--------------+ |
| | Web App | | API | | Database | |
| | (React) |---->| (Node.js) |---->| (Postgres) | |
| +----------------+ +----------------+ +--------------+ |
| | |
| v |
| +----------+ |
| | Cache | |
| | (Redis) | |
|