detect_patterns
Identify design patterns like Singleton, Factory, and Observer in source code across 11 programming languages to analyze software architecture.
Instructions
Detect design patterns in source code (Singleton, Factory, Observer, Strategy, Decorator, Builder, Adapter, Command, Template Method, Chain of Responsibility). Supports 9 languages: Python, JavaScript, TypeScript, C++, C, C#, Go, Rust, Java, Ruby, PHP.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| directory | No | ||
| output | No | ||
| depth | No | deep | |
| json | No |