architectural-pattern-discovery
Discovers architectural and design patterns across all abstraction levels. Analyzes structural patterns, component relationships, recurring solution approaches, and design principles. Works with any technology stack without prior framework knowledge to provide comprehensive pattern understanding from code-level to system-level architecture.
Best use case
architectural-pattern-discovery is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Discovers architectural and design patterns across all abstraction levels. Analyzes structural patterns, component relationships, recurring solution approaches, and design principles. Works with any technology stack without prior framework knowledge to provide comprehensive pattern understanding from code-level to system-level architecture.
Teams using architectural-pattern-discovery 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/architectural-pattern-discovery/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How architectural-pattern-discovery Compares
| Feature / Agent | architectural-pattern-discovery | 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?
Discovers architectural and design patterns across all abstraction levels. Analyzes structural patterns, component relationships, recurring solution approaches, and design principles. Works with any technology stack without prior framework knowledge to provide comprehensive pattern understanding from code-level to system-level architecture.
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
## Pattern Description **What**: Systematically analyzes a codebase to identify recurring architectural, design, and coding patterns across all abstraction levels, from low-level implementation idioms to high-level system architecture, including project-specific solution approaches and technology integration patterns. **When**: Use this skill to understand the complete pattern landscape of a project, during architectural assessments, for refactoring efforts, when onboarding to complex systems, or when planning technology evolution and modernization strategies. **Context**: Applicable across all technology stacks and project types, focusing on observable patterns rather than theoretical frameworks, with emphasis on understanding how patterns actually manifest in practice. ## Project-Specific Conventions ### Architectural Patterns - **Overall Structure**: [e.g., Monolithic, Microservices, Layered, Event-Driven, Serverless] - **Data Management**: [e.g., Centralized Database, Distributed Databases, CQRS, Event Sourcing] - **Communication**: [e.g., RESTful APIs, gRPC, Message Queues, WebSockets, GraphQL] - **Deployment**: [e.g., Container-based, Serverless, Traditional hosting, Multi-cloud] ### Design Patterns - **Structural**: [e.g., Adapter, Decorator, Facade, Proxy, Bridge, Composite] - **Behavioral**: [e.g., Observer, Strategy, Command, State, Iterator, Mediator] - **Creational**: [e.g., Factory, Singleton, Builder, Prototype, Abstract Factory] ### Project-Specific Solution Patterns - **Feature Templates**: [e.g., how new features are consistently structured and integrated] - **Data Processing**: [e.g., standard data transformation and validation pipelines] - **Error Handling**: [e.g., consistent error response patterns and recovery strategies] - **Configuration**: [e.g., how configuration is managed and propagated across systems] ### Technology Integration Patterns - **Framework Integration**: [e.g., how external libraries and frameworks are consistently integrated] - **Database Patterns**: [e.g., ORM usage patterns, query optimization approaches, transaction handling] - **API Design**: [e.g., consistent API structures, versioning strategies, response formats] - **Security Patterns**: [e.g., authentication flows, authorization checks, data protection approaches] ## Common Pitfalls ### ❌ Implicit Patterns **Problem**: Important architectural and design patterns exist but are not explicitly documented or understood by the team. **Why It Fails**: Leads to inconsistent implementations, makes onboarding difficult, and creates technical debt through pattern drift. **Better Approach**: Document discovered patterns using architectural decision records (ADRs) and maintain a living pattern catalog. ### ❌ Pattern Inconsistency **Problem**: Similar problems are solved using different patterns without clear rationale, leading to architectural confusion. **Why It Fails**: Increases cognitive load for developers, makes maintenance harder, and reduces system predictability. **Better Approach**: Establish clear pattern selection guidelines and conduct regular architectural reviews to ensure consistency. ### ❌ Over-Engineering Patterns **Problem**: Applying complex architectural patterns where simpler solutions would suffice. **Why It Fails**: Increases unnecessary complexity, development time, and maintenance overhead without proportional benefits. **Better Approach**: Choose patterns that match the problem's complexity; prioritize simplicity and evolve patterns as complexity grows. ## Related Resources ### Related Skills - **convention-extraction**: For lower-level coding style and naming conventions - **universal-technology-discovery**: To identify the technologies upon which patterns are built - **integration-mapping-discovery**: For detailed analysis of component connections and data flow - **operational-intelligence-discovery**: For understanding deployment and operational patterns ### Related Agents - **architecture-specialist**: For in-depth analysis and recommendation of architectural patterns - **lead-architect-agent**: For defining and evolving project-specific patterns and standards ### External Resources - [Refactoring Guru - Design Patterns](https://refactoring.guru/design-patterns) - [Martin Fowler - Architectural Patterns](https://martinfowler.com/architecture/) - [Architectural Decision Records (ADR)](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) - [Domain-Driven Design (DDD)](https://martinfowler.com/bliki/DomainDrivenDesign.html) - [Patterns of Enterprise Application Architecture](https://martinfowler.com/books/eaa.html)
Related Skills
atlan-sql-connector-patterns
Select and apply the correct SQL connector implementation pattern (SDK-default minimal or source-specific custom). Use when building or extending SQL metadata/query extraction connectors.
asyncredux-connector-pattern
Implement the Connector pattern for separating smart and dumb widgets. Covers creating StoreConnector widgets, implementing VmFactory and Vm classes, building view-models, and optimizing rebuilds with view-model equality.
asyncio-concurrency-patterns
Complete guide for asyncio concurrency patterns including event loops, coroutines, tasks, futures, async context managers, and performance optimization
async-python-patterns
Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
async-patterns-guide
Guides users on modern async patterns including native async fn in traits, async closures, and avoiding async-trait when possible. Activates when users work with async code.
async-await-patterns
Use when writing JavaScript or TypeScript code with asynchronous operations
astro-patterns
Astro best practices, routing patterns, component architecture, and static site generation techniques. Use when building Astro websites, setting up routing, designing component architecture, configuring static site generation, optimizing build performance, implementing content strategies, or when user mentions Astro patterns, routing, component design, SSG, static sites, or Astro best practices.
argparse-patterns
Standard library Python argparse examples with subparsers, choices, actions, and nested command patterns. Use when building Python CLIs without external dependencies, implementing argument parsing, creating subcommands, or when user mentions argparse, standard library CLI, subparsers, argument validation, or nested commands.
architecture-patterns
Software architecture patterns and best practices
architecture-pattern-selector
Recommend architecture patterns (monolith, microservices, serverless, modular monolith) based on scale, team size, and constraints. Use when cto-architect needs to select the right architectural approach for a new system or migration.
architecture-discovery
Guide users through discovering and defining system architecture through structured conversation. Triggers on "I want to build", "design a system", "architect", "planning a new project", "how should I build X".
architectural-planning
Create detailed technical plans and implementation roadmaps by analyzing project architecture and designing solutions that integrate seamlessly with existing patterns. Use when designing features, planning integrations, making architectural decisions. Triggers: 'plan', 'design', 'architecture', 'approach', 'how should I', 'best way', 'integrate', '계획', '설계', '아키텍처', '접근법', '어떻게 해야', '가장 좋은 방법', '통합', '마이그레이션', working with multi-module features, system boundaries, complex migrations.