detect_patterns
Identify design patterns in source code across 9 programming languages to document and 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
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| directory | No | ||
| output | No | ||
| depth | No | deep | |
| json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |