Classify Change logo

Classify Change

Community
appleboy
classify-change

Classify a proposed code change as Leaf Node or Core Code to decide how much AI usage and review rigor is appropriate. Use this skill whenever the user asks "is this leaf or core", "what kind of change is this", "should I vibe code this", "can AI write this", "how rigorous should the review be", or before starting any non-trivial change. Also useful as a sub-step inside other workflows (planning, PR prep, code review) when classification matters. Asks 6 diagnostic questions about propagation range, change frequency, tech-debt tolerance, examples, failure cost, and review intensity, then outputs a clear classification with the recommended approach. Trigger even when the user describes a change without explicitly asking for classification — the answer changes how they should proceed.

Overview

Publisherappleboy
Repositoryskills
Skill nameclassify-change
Stars
23
Forks
8
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by appleboy on GitHub. Read the source before you install it.

Installation

Install the Classify Change AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/appleboy/skills/tree/main/plugins/classify-change/skills/classify-change
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/appleboy/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/classify-change/skills/classify-change .claude/skills/classify-change
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Classify Change in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Classify Change on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Classify Change is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

classify-change

The single most important rule for AI-assisted coding in production: confine the AI's mass output to leaf nodes, where the inevitable bit of tech debt won't propagate through the system. This skill makes the leaf-vs-core call concrete and consistent, so individual judgment doesn't drift across the team.

When to use

Use whenever the leaf-vs-core distinction matters. Triggers include:

  • "Is this leaf or core?"
  • "What classification is this change?"
  • "Should I vibe code this / can AI write this?"
  • "How carefully do I need to review this?"
  • Before starting non-trivial work, even when the user didn't ask
  • Before or during plan-feature or pr-prepare, when the leaf/core call should be explicit and consistent with this framework

Skip only for changes that are obviously trivial (typo fixes, etc.).

The two categories

Leaf node. Code that nothing else depends on — feature endpoints, UI components, scripts, reports, one-off migrations. Failure is local. Tech debt here doesn't spread. Safe for high AI involvement, lighter review.

Core code. Code many things depend on — auth, payment, data schema, public APIs, shared frameworks, orchestrators. Failure is system-wide. Tech debt here compounds. Requires human leadership and line-by-line review, even if AI assists.

When a change spans both, it counts as core (the stricter rule wins).

The six diagnostic questions

Walk through these in order. Get user input where the answer isn't obvious from the codebase.

Q1 — Propagation range

If we change this, what depends on it?

  • Few callers (one or two specific places) → leaf-leaning
  • Many callers / many modules → core-leaning

Q2 — Expected change frequency

Will this part of the codebase keep evolving, or is it close to "done"?

  • Likely stable for the foreseeable future → leaf-leaning
  • Will keep evolving and needs to stay extensible → core-leaning

Q3 — Tech-debt tolerance

If this code becomes a little ugly, will future work suffer?

  • A bit of debt is fine, contained → leaf-leaning
  • Debt here will block other work → core-leaning

Q4 — Examples that fit

Which of these does the change look most like?

  • Reports, dashboards, single endpoints, UI components, scripts, one-off jobs → leaf
  • Auth, payments, data schema, public APIs, shared utilities, orchestration → core

Q5 — Failure cost

If this code goes wrong, how far does the failure spread?

  • Region of the app, easy rollback → leaf-leaning
  • System-wide, affects users / data → core-leaning

Q6 — Review intensity needed

Can the change be trusted via interface + tests, or must someone read every line?

  • Interface + tests are enough → leaf-leaning
  • Line-by-line read required → core-leaning

Decision logic

After running through the questions:

  • All / mostly leaf-leaning → classify as leaf
  • All / mostly core-leaning → classify as core
  • Mixed / spans both → classify as core (strictest rule wins; consider splitting the change)

Output format

markdown
## Classification: [LEAF NODE | CORE CODE]

## Why
- Q1 (propagation): <answer> → <leaf/core>
- Q2 (frequency): <answer> → <leaf/core>
- Q3 (tech debt): <answer> → <leaf/core>
- Q4 (examples): <answer> → <leaf/core>
- Q5 (failure cost): <answer> → <leaf/core>
- Q6 (review intensity): <answer> → <leaf/core>

## Recommended approach

### If LEAF
- Safe for high AI involvement
- 1 reviewer is enough
- Trust the tests + interface; you don't need to read every line
- 3 e2e tests minimum (1 happy + 2 errors)
- Plan still required, but plan.md can be lightweight

### If CORE
- AI may assist, but a human must lead the design and own the review
- 2+ reviewers, including the module owner
- Line-by-line review of the diff
- PR description must mark which files were human-reviewed line-by-line
- If the change is large, split into a human-led core change + a leaf feature change

Edge cases

"It's a leaf, but it touches core code in passing"

If the change reads core code (imports, calls) but doesn't modify core code, it's still leaf. The classification is about which lines change, not which lines exist.

"It's a script / one-off / migration"

These are leaf even if they read core data — failure is bounded by a single run. But: if the script writes to production data, the verification of the script needs to be core-grade (don't trust it from spot-checks alone).

"The code is in a leaf path but the failure mode is system-wide"

E.g., a script that accidentally writes to every user record. Reclassify based on failure cost, not file location. The point of the framework is failure containment.

"Modeling the boundary will keep moving as models improve"

True. Today's core might be tomorrow's leaf as models become more reliable. Tech leads should re-examine the leaf/core boundary quarterly. But don't move the line based on hope — move it based on track record.

Common mis-classifications

  • A new endpoint is leaf, even if "the API" is core. A single new endpoint is local. Modifying the framework that all endpoints use is core.
  • A new UI page is leaf. Modifying the design system or shared component library is core.
  • A new report is leaf. Modifying the BI infrastructure / data warehouse schema is core.
  • A bug fix is whatever the file it's in is. Don't auto-classify bug fixes as low-risk; if the bug is in core, treat the fix as core.

Stopping condition

End the skill when the user has a clear classification + the recommended approach for it. Carry the classification into plan-feature or pr-prepare to set the review rigor there — this skill is the canonical owner of the leaf/core definition those workflows should follow.

Frequently asked questions

What does the Classify Change AI skill do?

Classify a proposed code change as Leaf Node or Core Code to decide how much AI usage and review rigor is appropriate. Use this skill whenever the user asks "is this leaf or core", "what kind of change is this", "should I vibe code this", "can AI write this", "how rigorous should the review be", or before starting any non-trivial change. Also useful as a sub-step inside other workflows (planning, PR prep, code review) when classification matters. Asks 6 diagnostic questions about propagation range, change frequency, tech-debt tolerance, examples, failure cost, and review intensity, then out...

Why use Classify Change on TypingMind?

Because you install it once and use it with any model. Classify Change is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Classify Change in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/appleboy/skills/tree/main/plugins/classify-change/skills/classify-change. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Classify Change?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Classify Change?

As many as you like. As long as a model supports skills, you can use Classify Change with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Classify Change AI skill free?

It is published on GitHub by appleboy. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇