Logo de Abstraction Levels

Abstraction Levels

Comunidade
panpanc
abstraction-levels

Explain a mathematical concept at multiple abstraction levels, from intuitive to formal and unifying views. Use when the user asks for "different levels of abstraction", "explain at multiple levels", "ladder of abstraction", or requests a top-mathematician style layered explanation.

Visão geral

Publicado porpanpanc
Repositóriomath-skills
Nome da habilidadeabstraction-levels
Estrelas
42
Forks
2
Arquivos incluídos
1
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por panpanc no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Abstraction Levels no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/panpanc/math-skills/tree/main/.claude/skills/abstraction-levels
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panpanc/math-skills.git /tmp/math-skills
mkdir -p .claude/skills
cp -r /tmp/math-skills/.claude/skills/abstraction-levels .claude/skills/abstraction-levels
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Abstraction Levels em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Abstraction Levels automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Abstraction Levels não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Explain a math concept through a clear abstraction ladder so the same idea is seen from concrete intuition up to high-level structure.

This skill is dedicated to prompts like: You are a top mathematician. Can you explain the concept of <concept> in different levels of abstractions?

Instructions

  1. Parse arguments: The concept is provided in $ARGUMENTS. The first non-file argument is the target concept. If any argument is a readable file path, read it as optional context.

  2. Adopt perspective:

    • Write as a top mathematician who is also a patient teacher.
    • Prioritize conceptual clarity over jargon density.
    • Keep each level self-contained while preserving cross-level continuity.
  3. Choose an abstraction ladder:

    • Choose a natural number of levels based on concept complexity, with minimum 10 levels.
    • Let this count be N, where N >= 10.
  4. Write the document with the following required sections and order:

    1. The Question

    Start with: You are a top mathematician. Can you explain the concept of <concept> in different levels of abstractions? Then give a 2-4 sentence preview of how the ladder will progress.

    2. Concept Snapshot

    • One-sentence definition in plain language
    • Why this concept matters (2-3 sentences)
    • Name the running example

    3. Abstraction Ladder (Levels 1-N, with N >= 10)

    For each level, include all of the following labeled parts:

    • Core view:
    • Running example at this level:
    • One precise statement/formula:
    • What this level makes easy:
    • What this level hides:
    • Bridge upward:

    4. Translation Table Across Levels

    Include a compact table with one row per level and these columns:

    • Level
    • How the concept is phrased
    • Typical objects
    • Main operation
    • Main risk/misconception

    5. Same Claim, Rephrased by Level

    Pick one representative claim/theorem and restate it once per level (from intuitive wording to formal abstract wording).

    6. How to Climb the Ladder

    Give a concrete study path:

    • 3-6 prerequisite ideas
    • 3-6 "next questions" that move the reader up one level at a time
    • One warning about a common abstraction trap
  5. Writing constraints:

    • Use LaTeX ($...$, $$...$$) for math.
    • Do not put math inside fenced code blocks.
    • LaTeX authoring constraints (to reduce renderer failures):
      • Prefer a single-line display equation whenever the derivation comfortably fits on one line; use $$\begin{aligned}...\end{aligned}$$ only when multi-line alignment is genuinely necessary.
      • Keep prose and labels outside math whenever possible; let the surrounding sentence name the event, condition, or interpretation.
      • Use \text{} only for short connector words such as and, if, for, where, or when; do not hide multi-word labels or conditions inside equations.
      • Prefer Factorization condition: $$f=u\circ q.$$ over $$f \text{ factors through } q \Longleftrightarrow f=u\circ q.$$
      • Prefer one symbolic derivation chain per display block; do not mix full English sentences into $$...$$.
      • If a display derivation has more than one equality, implication, or transformation step and spans multiple visual lines, wrap it in $$\begin{aligned}...\end{aligned}$$ and align on &=, &\to, or a similar marker instead of relying on raw line breaks inside $$...$$.
      • Use a conservative command subset unless the document truly needs more: \frac, \sqrt, Greek letters, superscripts/subscripts, \operatorname{Hom}, \operatorname{Im}, simple matrix environments, and \left...\right only when needed.
      • Every $, $$, \(, \), \[, \], \begin{...}, \end{...}, {, }, \left, and \right must balance within the same math expression.
    • If diagrams are helpful, use Mermaid (ASCII-safe labels, one edge per line).
    • Avoid vague statements like "it generalizes things"; name what generalizes and how.
    • Every level must explicitly connect to the previous level.
  6. Naming: Save the output as <concept_slug>_abstraction_levels.md in the current working directory.

    • Use lowercase snake_case.
    • Keep slug short (1-4 words when possible).
  7. Verification checklist:

    • N >= 10.
    • Exactly one running example appears in all levels.
    • Every level includes all 6 required labeled parts.
    • Translation table has one row per level.
    • Section 5 contains one claim rewritten at each level.
    • Run deterministic Markdown-math verification:
      • repo_root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
      • python3 "$repo_root/.claude/skills/bottom-up/scripts/verify_markdown_math.py" --strict-warnings "<concept_slug>_abstraction_levels.md"
      • If this command reports failures, fix only the flagged math passages, usually by closing delimiters/environments or moving prose out of math, and rerun until it passes.
    • No unclosed fenced code blocks.
    • No math inside fenced code blocks.
    • Read and patch any unclear jump before finishing.
  8. Completion line: Print: Explained <concept> across <N> abstraction levels with one invariant running example.

Example usage

/abstraction-levels pushforward and pullback
/abstraction-levels spectral theorem
/abstraction-levels compactness in topology
/abstraction-levels Fourier transform

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Abstraction Levels faz?

Explain a mathematical concept at multiple abstraction levels, from intuitive to formal and unifying views. Use when the user asks for "different levels of abstraction", "explain at multiple levels", "ladder of abstraction", or requests a top-mathematician style layered explanation.

Por que usar Abstraction Levels no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Abstraction Levels é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Abstraction Levels no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/panpanc/math-skills/tree/main/.claude/skills/abstraction-levels. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Abstraction Levels?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Abstraction Levels?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Abstraction Levels com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Abstraction Levels é gratuita?

A habilidade é publicada no GitHub por panpanc. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇