pact-architecture-patterns

Guide architectural pattern selection and C4 diagram creation for system design.

71|14|Updated Jun 26, 2025
One-click install
npx skills add https://github.com/Synaptic-Labs-AI/PACT-Plugin --skill pact-architecture-patterns-synaptic-labs-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pact-architecture-patterns
Source: https://github.com/Synaptic-Labs-AI/PACT-Plugin/tree/main/pact-plugin/skills/pact-architecture-patterns
Command: npx skills add https://github.com/Synaptic-Labs-AI/PACT-Plugin --skill pact-architecture-patterns-synaptic-labs-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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.

Core Features & Use Cases

  • C4 diagram templates (Level 1-3) and ASCII/Mermaid diagrams for system context, containers, and components.
  • Design-pattern references (creational, structural, behavioral) and ADR guidance for decision records.
  • Anti-pattern detection and refactoring guidance for architecture decisions and governance.

Quick Start

Describe a system you want to architect and ask for architectural pattern guidance and templates to apply.

Frequently Asked Questions about pact-architecture-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create C4 diagrams for system architecture design?

To create C4 diagrams for system architecture design, you can use templates for Level 1-3 system context, containers, and components, rendered via ASCII or Mermaid formats to visualize boundaries and interactions.

What are common software architecture anti-patterns and how do I refactor them?

Software architecture anti-patterns are flawed structural design choices that hinder scalability and maintainability, which you can identify and refactor using specific architectural review guidance and detection rules.

How do I write an Architecture Decision Record (ADR) for component design?

Writing an Architecture Decision Record (ADR) for component design involves documenting your architectural decisions using reference templates that capture context, decisions, and consequences for governance.

Can I use architectural patterns for both monoliths and microservices?

Yes, you can apply architectural patterns to both monoliths and microservices, as pattern selection guidance covers structural and behavioral design across distributed and single-tier system boundaries.

What is the best way to select design patterns for API contracts?

The best way to select design patterns for API contracts is to evaluate creational, structural, and behavioral pattern references to determine the optimal fit for your component interactions and system boundaries.

When should I not use specific architectural patterns for system design?

You should not use specific architectural patterns when they conflict with your system boundaries or introduce unnecessary complexity, which you can detect using provided anti-pattern reference guidelines.