Back to Skills

pact-architecture-patterns

verified

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 GitHub

Marketplace

pact-marketplace

ProfSynapse/PACT-prompt

Plugin

PACT

development

Repository

ProfSynapse/PACT-prompt
37stars

pact-plugin/skills/pact-architecture-patterns/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
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-patterns

Installation paths:

Claude
.claude/skills/pact-architecture-patterns/
Powered by add-skill CLI

Instructions

# 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)  |                            |
|       

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
9645 chars