# abstraction-power

The abstraction-power skill guides Claude Code from concrete code examples to reusable models by spotting their shared structure. Use it to examine duplicated logic or shape a system design.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 406 repo stars
- Author: syahiidkamil
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/HEAD/.claude/skills/abstraction-power/SKILL.md
- Updated: 2026-06-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/abstraction-power

## What it does

The skill asks Claude Code to compare specific cases, find the traits they share, and set aside details that do not affect the underlying pattern. This can turn several similar functions into a shared model, or reveal why changes keep touching different parts of a system.

Its suggested response lays out the examples, the reasoning behind the generalization, and the resulting model. For diagrams, it favors Mermaid flowcharts, usually `graph TD` or `graph LR`. It reserves `sequenceDiagram` for cases where the order of messages matters.

For instance, if adding payment options, report types, and login providers repeatedly changes a core function, the skill points toward a shared pattern such as a strategy registry. Treat that as a design direction, not a project-specific implementation.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill abstraction-power -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/abstraction-power/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/abstraction-power/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill abstraction-power -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/abstraction-power/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill abstraction-power -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/abstraction-power/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install syahiidkamil/Software-Engineer-AI-Agent-Atlas .claude/skills/abstraction-power
```

2. **Manually: put the files in place**
- File: `.github/skills/abstraction-power/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill abstraction-power -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas --path .claude/skills/abstraction-power
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/abstraction-power/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/HEAD/.claude/skills/abstraction-power/SKILL.md

## When to use it
- spot duplicated logic across functions
- derive a shared interface for similar implementations
- trace repeated changes to a common design issue
- map component relationships with a Mermaid flowchart

## Example prompts
- Compare these functions and propose a shared model for the repeated logic.
- Find the pattern behind changes to the main handler whenever a new variant is added, then suggest a general design.
- Show the abstract component relationships as a Mermaid flowchart.

## Similar
- [km-storage-abstraction](https://affpapa.org/en/nevibecode/skills/km-storage-abstraction.md) — skill · 1 install
- [power-bi-report-design-consultation](https://affpapa.org/en/nevibecode/skills/power-bi-report-design-consultation.md) — skill · 9390 installs
- [power-bi-dax-optimization](https://affpapa.org/en/nevibecode/skills/power-bi-dax-optimization.md) — skill · 9100 installs
- [power](https://affpapa.org/en/nevibecode/skills/power.md) — skill · 2400 installs
- [statistical-power](https://affpapa.org/en/nevibecode/skills/statistical-power.md) — skill · 1600 installs
- [power-bi-salespulse-dashboard](https://affpapa.org/en/nevibecode/skills/power-bi-salespulse-dashboard.md) — skill · 658 installs

From the same set: [syahiidkamil/software-engineer-ai-agent-atlas](https://affpapa.org/en/nevibecode/by/syahiidkamil/software-engineer-ai-agent-atlas.md) — 26 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
