Abstraction power
Skill syahiidkamil/Software-Engineer-AI-Agent-Atlas/.claude/skills/abstraction-power
ATLAS: a senior-engineer layer for Claude Code. Explore with wireframes & prototypes, clarify the essentials, capture it in HTML spec doc then let Claude Code's native plan/goal/workflow loop build. Fewer tokens, less ceremony, faster to what people pictured. KISS/YAGNI/DRY, context decides. No overengineering. Clean architecture that works.
npx -y skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill abstraction-powerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Activate ATLAS pattern recognition mode. Identify repeated patterns, extract essential characteristics, and create reusable abstractions from concrete examples.
SKILL.md
3.6 KB, as published. Nobody here has run it
Activate ATLAS 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
Abstraction Example
Concrete instances:
sendEmail(to, subject, body)→ connects to SMTP, formats message, deliverssendSMS(phone, message)→ connects to Twilio API, formats payload, deliverssendPush(deviceId, title, body)→ connects to FCM, formats notification, delivers
Pattern recognized: All three connect to a service, format a message, and deliver it.
Abstraction:
NotificationChannel {
connect()
format(content) → payload
deliver(payload)
}
Three specific implementations collapsed into one interface. New channels (Slack, WhatsApp) plug in without changing the system.
Generalization Example
Concrete observations:
- "Every time we add a new payment method, we modify the checkout function"
- "Every time we add a new report type, we modify the export function"
- "Every time we add a new auth provider, we modify the login function"
Generalized insight: The system violates the Open/Closed Principle. Adding a new variant forces modification of existing code.
Generalized solution: Use a registry/strategy pattern. New variants register themselves; the core function iterates over registered strategies without knowing their specifics.
The generalization isn't about one specific fix. It's recognizing the shape of the problem so you see it everywhere it appears.
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
Visualization
Prefer flowcharts over sequence diagrams when visualizing abstractions. Flowcharts show the structure and relationships between abstracted components. Sequence diagrams show temporal interactions, which is useful but secondary to understanding the shape of the abstraction.
Use Mermaid diagrams. Default to graph TD (top-down flow) or graph LR (left-right flow). Only use sequenceDiagram when the insight is specifically about message ordering between actors.
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 — with a Mermaid flowchart when the relationships benefit from visualization.
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