Skip to content
Back to skills

Tasty Abstraction

ASecurity

Use when a user wants to design an abstraction boundary that collapses a complex implementation into a simpler interface without leaking internal state. Not for implementation.

  • 55 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add OutlineDriven/outline-driven-development --skill tasty-abstraction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tasty Abstraction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tasty Abstraction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/outlinedriven-tasty-abstraction-outline-driven-development/badge)](https://www.skillsdirectory.com/skills/outlinedriven-tasty-abstraction-outline-driven-development)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tasty-abstraction
description: 'Use when a user wants to design an abstraction boundary that collapses a complex implementation into a simpler interface without leaking internal state. Not for implementation.'
---

# Tasty abstraction

## Contract

| Field | Bound contract |
|---|---|
| Trigger | User wants to design an abstraction boundary that collapses a complex implementation into a simpler interface |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. Stops before implementation. |
| Side effect | Chat output: one abstraction specification document |
| Done | A standalone specification exists detailing the abstraction boundary, leak surface, and usage constraints |

## Inputs

- Target problem (required): the concrete complexity, repetition, or leak the abstraction must address.
- Raw form (required): the current unabstracted surface the user works with directly.
- Identified failure modes (required): the ways the raw form breaks, surprises, or requires expert knowledge.

## Procedure

1. **Enumerate the raw form's surface and failure modes.** List every operation, concept, and escape hatch the user touches, plus every failure mode supplied as input. If the raw form has no meaningful complexity to collapse, report that finding and write no specification. Done when: the surface and failure modes are enumerated, or the workflow stops because no problem exists.

2. **Propose a collapsed boundary.** The boundary must collapse at least two raw-form concepts into one interface operation, expose every escape hatch the raw form offers as a direct pass-through or named override, and introduce no concept that does not exist in the raw form. Done when: one boundary is proposed meeting all three constraints.

3. **Map escape hatches for raw access.** For every point where the user must reach past the abstraction, state whether the hatch is sealed, exposed as configuration, or documented as a known seam. Done when: every escape hatch is classified.

4. **Document leaked surface and trade-offs.** Every point where the abstraction can break, surprise, or require raw-form knowledge is a leak. For each leak, state the trade-off: what the abstraction gains by leaking here and what the user must still understand. Done when: every leak and trade-off is documented.

5. **Write the specification.** The specification contains: abstraction name, boundary definition, surface comparison table (raw-form concepts mapped to abstraction concepts), escape-hatch mapping, leak surface inventory with trade-offs, and usage contract (when to use, when to bypass, what the user must still understand about the raw form). Deliver as chat output. Done when: the specification is complete and delivered.

## Failure and recovery

| Failure class | Rule |
|---|---|
| `boundary-violation` | The abstraction cannot collapse the raw form without leaking the problem it exists to hide. Report which leak breaks the boundary. Write no specification. |

Partial results are not artifacts. If any step fails, no specification is delivered.

## Output

One abstraction specification delivered as chat output: boundary definition, surface comparison, escape-hatch mapping, leak surface with trade-offs, and usage contract.

Files in this skill

  • SKILL.md3.3 KB
  • agents/openai.yaml223 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.