Логотип Reinvent From Scratch

Reinvent From Scratch

Сообщество
panpanc
reinvent-from-scratch

Объясните математическое понятие, заново выведя его с нуля: обоснуйте каждый ключевой шаг построения, приведите конкретные примеры, покажите применение подхода к 2–3 связанным понятиям с похожими моделями мышления или логикой построения и выполните детерминированную проверку LaTeX в Markdown. Используйте этот навык, когда пользователь просит заново придумать, вывести, открыть заново, обосновать или построить понятие так, словно его создают впервые.

Обзор

Издательpanpanc
Репозиторийmath-skills
Название навыкаreinvent-from-scratch
Звёзды
42
Форки
2
Файлы в комплекте
1
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — panpanc. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Reinvent From Scratch в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/panpanc/math-skills/tree/main/.claude/skills/reinvent-from-scratch
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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/reinvent-from-scratch .claude/skills/reinvent-from-scratch
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Reinvent From Scratch в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Reinvent From Scratch, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Reinvent From Scratch не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Reinvent From Scratch

Explain a mathematical concept as a rediscovery process. The output should make the reader feel the concept was forced by a sequence of natural problems, failed attempts, repairs, and design choices.

Use this skill for concepts and constructions. If the user asks for a named theorem proof, prefer theorem; if they want a long climb from calculus and linear algebra primitives with an audit-and-patch loop, prefer bottom-up.

Workflow

1. Parse the request

  • Parse the invocation arguments. The first non-file argument is the target concept.
  • If an argument is a readable file path, use it as optional context.
  • Resolve the stage count:
    • If the user specifies a count, honor it exactly. Accept phrasings such as --stages 7, stages=7, 7 stages, or in 7 stages.
    • If the user specifies a range, choose a count in that range, preferring the upper end for broad or technical concepts.
    • If no count is specified, default to 10-12 stages: use 10 for focused concepts and 11-12 for broader or more technical concepts.
  • Infer the reader level from the prompt. If unspecified, assume a motivated reader with solid calculus and linear algebra, but not field-specific notation.
  • Save the final markdown as <target_slug>_reinvented.md in the current working directory.

2. Write the document

Use these required sections in this order.

1. The Thing We Are Trying to Invent
  • Name the target concept.
  • State the problem in plain language before naming any advanced machinery.
  • Give a 2-4 sentence preview of the rediscovery route.
  • State what the reader should be able to reconstruct by the end.
2. Starting Ingredients

List 4-8 primitive ingredients the reader needs before inventing the target. For each:

  • Ingredient: name and type.
  • Plain meaning: what it says intuitively.
  • Tiny formal anchor: a compact definition, equation, or condition.
  • Why it will matter: the later pressure it will answer.
  • Micro-example: one concrete example with explicit objects.

Do not introduce the target concept here.

3. The Pressure That Forces a New Idea
  • Describe the mathematical pain point.
  • Show the naive approach a reasonable person would try first.
  • Explain exactly where the naive approach fails.
  • End with a question beginning So we need a way to....
4. Failed Prototypes

Give 2-4 plausible but insufficient attempts. For each:

  • Prototype: what the attempt tries.
  • Why it is tempting: the intuition that makes it look reasonable.
  • Failure mode: the concrete obstruction.
  • Lesson extracted: the requirement carried into the real construction.

At least one prototype must include a small worked example.

5. Reinvention Stages

Build the target in the resolved number of ordered stages. If the user did not specify a stage count, use 10-12 stages. Each stage must use only ingredients or outputs already introduced.

Each stage must include:

  • Stage output: the object, definition clause, test, equivalence, operation, or viewpoint produced.
  • Pressure: the exact problem or failure from earlier sections that makes this stage necessary.
  • Motivation: why this move is natural now.
  • Construction: the precise object, rule, definition clause, or calculation introduced.
  • Why this exact design: why this construction works better than at least one plausible alternative.
  • Concrete check: a small explicit example or calculation. Include LaTeX when mathematical notation helps.
  • Similar moves elsewhere: 2-3 other concepts, theorems, or constructions that share the same motivation, mental model, or construction pattern. For each, name the shared pattern in one short phrase.
  • Next pressure: what gap remains after this stage.

Rules for the stage sequence:

  • Never use the target definition before it is assembled.
  • Name every object by type: set, element, map, vector space, topology, category, relation, operator, etc.
  • Include at least one short derivation or symbolic check in each stage.
  • Make every stage feel motivated by a bottleneck, not by authority.
6. The Assembled Concept
  • Present the final clean definition.
  • Explain how each clause came from a previous stage.
  • Give one near-miss or non-example and name the exact clause it violates.
  • Include a compact dependency chain:
text
starting ingredients -> failed prototypes -> stage outputs -> final concept
7. Why This Is the Right Abstraction
  • State the main mental model in one sentence.
  • Explain what the abstraction preserves.
  • Explain what it deliberately forgets or suppresses.
  • State where the mental model breaks.
  • Include one paragraph beginning The invention worked because....
8. Worked Examples

Give 2-4 examples that increase in complexity. Each example must include:

  • Setup: concrete objects.
  • Goal: what is being built, checked, or recognized.
  • Computation or construction: explicit intermediate steps.
  • Interpretation: what the result means.
  • Sanity check: why the answer is plausible.
  • Common mistake: one likely error and how to avoid it.
9. Transfer Map

List 5-8 related concepts. For each:

  • Concept: name it.
  • Shared motivation: the problem pressure it has in common with the target.
  • Shared construction pattern or mental model: the reusable move.
  • What changes: how the target's pattern is modified there.
  • Suggested next command: for example bottom-up ..., deep-explain ..., or reinvent-from-scratch ....
10. Reconstruction Checklist

Give:

  • A 6-10 item checklist for reinventing the concept without notes.
  • 3 short exercises with answers or solution sketches.
  • One Explain it back: prompt.

Writing Rules

  • Explain why before what whenever a new clause, object, notation, or viewpoint appears.
  • Prefer concrete examples over generic prose.
  • Keep dependency order strict.
  • Distinguish failed prototype, definition, construction, example, non-example, and consequence.
  • Use standard inline and display LaTeX delimiters for math; never put LaTeX math inside fenced code blocks.
  • Keep prose and long labels outside math. Use math text macros only for short connector words such as and, if, for, where, or when.
  • Prefer a single-line display equation when it fits.
  • For multi-line derivations, use an aligned environment and align on relation symbols.
  • Every math delimiter, environment, brace, and paired fence must balance inside the same math expression.

If using Mermaid:

  • Use simple node IDs such as A, stage_2, or idea3.
  • Put labels in quoted bracket labels, for example A["Naive prototype fails"].
  • Keep one dependency edge per line.
  • Ensure every subgraph has a matching end.

Verification

Before finishing:

  1. Check that all required sections are present and non-empty.

  2. Check that Section 5 has the resolved number of stages, or 10-12 stages when the user did not specify a count.

  3. Check that each stage contains every required labeled item, including Similar moves elsewhere with 2-3 related concepts.

  4. Check that every final definition clause is motivated by an earlier stage.

  5. Check that no concept-specific symbol is used before being introduced or decoded.

  6. Check that there are no unclosed fenced code blocks and no LaTeX math inside fenced code blocks.

  7. Resolve REPO_ROOT as the repository root or current directory, resolve GENERATED_FILE as the path to the generated markdown file, then run Markdown math verification:

    bash
    python3 REPO_ROOT/.claude/skills/bottom-up/scripts/verify_markdown_math.py --strict-warnings GENERATED_FILE

    If it reports failures, fix only the flagged math passages and rerun until it passes.

  8. If the document contains Mermaid blocks, run Mermaid verification using the same REPO_ROOT and GENERATED_FILE values:

    bash
    node REPO_ROOT/.claude/skills/bottom-up/scripts/verify_mermaid_blocks.js GENERATED_FILE

    If it reports errors, fix the Mermaid blocks and rerun until it passes.

  9. Read the final document once and patch any unexplained construction, abrupt motivation jump, or invalid LaTeX.

Completion Summary

After saving and verifying the document, print:

text
Generated reinvention explanation for <target>.
Saved as: <target_slug>_reinvented.md
Verified:
  - required sections present
  - stage motivation and transfer notes checked
  - Markdown math verifier passed
  - Mermaid verifier passed / not needed

Then give 2-3 context-aware next steps based on the generated document.

Example Usage

text
reinvent-from-scratch compactness
reinvent-from-scratch compactness --stages 10
reinvent-from-scratch tensor product of modules
reinvent-from-scratch tensor product of modules in 12 stages
reinvent-from-scratch my_notes.md sheaf
reinvent-from-scratch why invent quotient spaces

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Reinvent From Scratch?

Объясните математическое понятие, заново выведя его с нуля: обоснуйте каждый ключевой шаг построения, приведите конкретные примеры, покажите применение подхода к 2–3 связанным понятиям с похожими моделями мышления или логикой построения и выполните детерминированную проверку LaTeX в Markdown. Используйте этот навык, когда пользователь просит заново придумать, вывести, открыть заново, обосновать или построить понятие так, словно его создают впервые.

Зачем использовать Reinvent From Scratch в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Reinvent From Scratch — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Reinvent From Scratch в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/panpanc/math-skills/tree/main/.claude/skills/reinvent-from-scratch. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Reinvent From Scratch?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Reinvent From Scratch?

С любым количеством. В TypingMind вы можете использовать Reinvent From Scratch с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Reinvent From Scratch?

Навык опубликован на GitHub. Издатель — panpanc. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇