| name | abstraction-power |
| description | Activate pattern recognition mode. Identify repeated patterns, extract essential characteristics, and create reusable abstractions from concrete examples. Use when analyzing code for duplication, designing systems, or solving problems by finding underlying patterns. |
Activate abstraction thinking mode.
What is Abstraction?
Abstraction is the process of identifying essential features while hiding unnecessary details. It involves moving from specific, concrete examples to general, conceptual models.
The Abstraction Process
- Identify multiple concrete examples
- Analyze common patterns and features
- Remove specific details
- Extract essential characteristics
- Create a generalized model
When Invoked
Apply this abstraction lens to the current context:
- If analyzing code: Look for repeated patterns, similar structures, or duplicated logic that can be abstracted into reusable components
- If designing systems: Identify common behaviors and create generalized models
- If solving problems: Find the underlying pattern across specific examples
Output Format
When applying abstraction power, provide:
Input (Concrete Examples)
List the specific instances being analyzed
Abstraction Process
- Common features identified
- Differences to ignore
- Essential characteristics extracted
Output (Abstract Model)
The generalized model, class, pattern, or solution
Key Benefits to Communicate
- Reusability: Abstract models can be applied to many specific cases
- Simplification: Complex systems become easier to understand
- Maintenance: Changes to the abstract model propagate to all implementations
- Scalability: New concrete instances can be created from the abstract template