Agent skill

abstraction-concrete-examples

Use when explaining concepts at different expertise levels, moving between abstract principles and concrete implementation, identifying edge cases by testing ideas against scenarios, designing layered documentation, decomposing complex problems into actionable steps, or bridging strategy-execution gaps. Invoke when user mentions abstraction levels, making concepts concrete, or explaining at different depths.

Stars 45
Forks 6

Install this agent skill to your Project

npx add-skill https://github.com/lyndonkl/claude/tree/main/skills/abstraction-concrete-examples

SKILL.md

Abstraction Ladder Framework

Table of Contents

  • Purpose
  • When to Use This Skill
  • What is an Abstraction Ladder?
  • Workflow
    • 1. Gather Requirements
    • 2. Choose Approach
    • 3. Build the Ladder
    • 4. Validate Quality
    • 5. Deliver and Explain
  • Common Patterns
  • Guardrails
  • Quick Reference

Purpose

Create structured abstraction ladders showing how concepts translate from high-level principles to concrete, actionable examples. This bridges communication gaps, reveals hidden assumptions, and tests whether abstract ideas work in practice.

When to Use This Skill

  • User needs to explain same concept to different expertise levels
  • Task requires moving between "why" (abstract) and "how" (concrete)
  • Identifying edge cases by testing principles against specific scenarios
  • Designing layered documentation (overview → details → specifics)
  • Decomposing complex problems into actionable steps
  • Validating that high-level goals translate to concrete actions
  • Bridging strategy and execution gaps

Trigger phrases: "abstraction levels", "make this concrete", "explain at different levels", "from principles to implementation", "high-level and detailed view"

What is an Abstraction Ladder?

A multi-level structure (typically 3-5 levels) connecting universal principles to concrete details:

  • Level 1 (Abstract): Universal principles, theories, values
  • Level 2: Frameworks, standards, categories
  • Level 3 (Middle): Methods, approaches, general examples
  • Level 4: Specific implementations, concrete instances
  • Level 5 (Concrete): Precise details, measurements, edge cases

Quick Example:

  • L1: "Software should be maintainable"
  • L2: "Use modular architecture"
  • L3: "Apply dependency injection"
  • L4: "UserService injects IUserRepository"
  • L5: constructor(private repo: IUserRepository) {}

Workflow

Copy this checklist and track your progress:

Abstraction Ladder Progress:
- [ ] Step 1: Gather requirements
- [ ] Step 2: Choose approach
- [ ] Step 3: Build the ladder
- [ ] Step 4: Validate quality
- [ ] Step 5: Deliver and explain

Step 1: Gather requirements

Ask the user to clarify topic, purpose, audience, scope (suggest 4 levels), and starting point (top-down, bottom-up, or middle-out). This ensures the ladder serves the user's actual need.

Step 2: Choose approach

For straightforward cases with clear topics → Use resources/template.md. For complex cases with multiple parallel ladders or unusual constraints → Study resources/methodology.md. To see examples → Show user resources/examples/ (api-design.md, hiring-process.md).

Step 3: Build the ladder

Create abstraction-concrete-examples.md with topic, 3-5 distinct abstraction levels, connections between levels, and 2-3 edge cases. Ensure top level is universal, bottom level has measurable specifics, and transitions are logical. Direction options: top-down (principle → examples), bottom-up (observations → principles), or middle-out (familiar → both directions).

Step 4: Validate quality

Self-assess using resources/evaluators/rubric_abstraction_concrete_examples.json. Check: each level is distinct, transitions are clear, top level is universal, bottom level is specific, edge cases reveal insights, assumptions are stated, no topic drift, serves stated purpose. Minimum standard: Average score ≥ 3.5. If any criterion < 3, revise before delivering.

Step 5: Deliver and explain

Present the completed abstraction-concrete-examples.md file. Highlight key insights revealed by the ladder, note interesting edge cases or tensions discovered, and suggest applications based on their original purpose.

Common Patterns

For communication across levels:

  • Share L1-L2 with executives (strategy/principles)
  • Share L2-L3 with managers (approaches/methods)
  • Share L3-L5 with implementers (details/specifics)

For validation:

  • Check if L5 reality matches L1 principles
  • Identify gaps between adjacent levels
  • Find where principles break down

For design:

  • Use L1-L2 to guide decisions
  • Use L3-L4 to specify requirements
  • Use L5 for actual implementation

Guardrails

Do:

  • State assumptions explicitly at each level
  • Test edge cases that challenge the principles
  • Make concrete levels truly concrete (numbers, measurements, specifics)
  • Make abstract levels broadly applicable (not domain-locked)
  • Ensure each level is understandable given the previous level

Don't:

  • Use vague language ("good", "better", "appropriate") without defining terms
  • Make huge conceptual jumps between levels
  • Let different levels drift to different topics
  • Skip the validation step (rubric is required)
  • Front-load expertise - explain clearly for the target audience

Quick Reference

  • Template for standard cases: resources/template.md
  • Methodology for complex cases: resources/methodology.md
  • Examples to study: resources/examples/api-design.md, resources/examples/hiring-process.md
  • Quality rubric: resources/evaluators/rubric_abstraction_concrete_examples.json

Expand your agent's capabilities with these related and highly-rated skills.

lyndonkl/claude

synthesis-and-analogy

Use when synthesizing information from multiple sources (literature review, stakeholder feedback, research findings, data from different systems), creating or evaluating analogies for explanation or problem-solving (cross-domain transfer, "X is like Y", structural mapping), combining conflicting viewpoints into unified framework, identifying patterns across disparate sources, finding creative solutions by transferring principles from one domain to another, testing whether analogies hold (surface vs deep similarities), or when user mentions "synthesize", "combine sources", "analogy", "like", "similar to", "transfer from", "integrate findings", "what's it analogous to".

45 6
Explore
lyndonkl/claude

socratic-teaching-scaffolds

Use when teaching complex concepts (technical, scientific, philosophical), helping learners discover insights through guided questioning rather than direct explanation, correcting misconceptions by revealing contradictions, onboarding new team members through scaffolded learning, mentoring through problem-solving question frameworks, designing self-paced learning materials, or when user mentions "teach me", "help me understand", "explain like I'm", "learning path", "guided discovery", or "Socratic method".

45 6
Explore
lyndonkl/claude

environmental-scanning-foresight

Use when scanning external trends for strategic planning, monitoring PESTLE forces (Political, Economic, Social, Technological, Legal, Environmental), detecting weak signals (early indicators of change), planning scenarios for multiple futures, setting signposts and indicators for early warning, or when user mentions environmental scanning, horizon scanning, trend analysis, scenario planning, strategic foresight, futures thinking, or emerging issues monitoring.

45 6
Explore
lyndonkl/claude

embedding-fusion-strategy

Use when designing embedding strategies that fuse semantic and structural information for knowledge graphs. Invoke when user mentions node embeddings, structural embeddings, semantic embeddings, contrastive alignment, embedding fusion, vector representations for graphs, or combining text and graph signals. Provides embedding selection, fusion design, and implementation guidance.

45 6
Explore
lyndonkl/claude

constraint-based-creativity

Use when brainstorming feels stuck or generates obvious ideas, need to break creative patterns, working with limited resources (budget/time/tools/materials), want unconventional solutions, designing with specific limitations, user mentions "think outside the box", "we're stuck", "same old ideas", "tight constraints", "limited budget/time", or seeking innovation through limitation rather than abundance.

45 6
Explore
lyndonkl/claude

symmetry-group-identifier

Use when you've identified candidate symmetries and need to map them to mathematical groups for architecture design. Invoke when user mentions cyclic groups, dihedral groups, Lie groups, SO(3), SE(3), permutation groups, or needs to formalize symmetries into group theory language. Provides taxonomy and mathematical foundations from Visual Group Theory principles.

45 6
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results