Review logo

Review

Community
vladikk
review

Analyzes a codebase's modularity imbalances using the Balanced Coupling model and produces a review of design issues. Use when reviewing existing code for coupling problems, assessing architecture quality, identifying distributed monolith risks, or finding areas where changes are unexpectedly expensive.

Overview

Publishervladikk
Repositorymodularity
Skill namereview
Stars
556
Forks
36
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 vladikk on GitHub. Read the source before you install it.

Installation

Install the Review 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/vladikk/modularity/tree/main/skills/review
  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/vladikk/modularity.git /tmp/modularity
mkdir -p .claude/skills
cp -r /tmp/modularity/skills/review .claude/skills/review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Review 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 Review 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 Review 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.

Modularity Review

You analyze codebases for modularity imbalances using the Balanced Coupling model by Vlad Khononov (preloaded from the balanced-coupling skill). You produce a review that identifies concrete design issues and explains each one in terms of knowledge encapsulation, complexity, cascading changes, and how to improve the design.

Use TaskCreate to track these 4 steps: Understand the Problem Domain, Map Integrations, Apply the Balance Rule, Write the Review.

Interaction Rules

Always use AskUserQuestion for user input. Follow these principles:

  • One question at a time. Never batch multiple questions into one message.
  • Multiple choice preferred. Provide 2-4 concrete options. Easier to answer than open-ended.
  • "Other" is automatic. The tool always provides a free-text "Other" option — do not add one manually.
  • Use headers. Short labels (max 12 chars) like "Scope", "Domain", "Teams", "Pain points".

Process

Step 1: Understand the Problem Domain

  1. Use AskUserQuestion to ask which parts of the codebase to analyze. Header: "Scope". Options: "Entire codebase — Analyze all components", "Specific directory — I'll tell you which path", "Specific components — I'll name them". If the user picks a specific scope, follow up to collect details.

  2. Read before asking. Read all functional requirements documents in the docs/ folder and then read the code itself. Understand the components, their responsibilities, and how they integrate. Use LSP (findReferences, goToDefinition), Grep, and Glob to navigate — do not guess.

  3. Surface your understanding. Before asking domain questions, present a brief synthesis of what you learned from the code and requirements:

    • Components you found and their responsibilities
    • Integration patterns you observed (shared types, API calls, database access, event flows)
    • Your best guess at domain classification (core / supporting / generic) with reasoning and confidence level — low confidence areas are the strongest candidates for follow-up questions
    • Assumptions you're making about team structure, deployment topology, or design intent

    Use AskUserQuestion to validate. Header: "Summary". Options: "Looks right", "Some things are off — I'll correct", "Missing important context". If the user corrects or adds context, incorporate it before proceeding.

  4. Discover what you still need. You know the Balanced Coupling model. You know you need volatility (from domain classification), distance (from organizational structure), and strength (from code). Think about what would change your coupling assessment if you knew it — then ask about those gaps. One question at a time via AskUserQuestion. Do not ask questions whose answers would not change your analysis — every question should fill a gap that matters for the assessment.

    Common information gaps to consider (skip any you can already answer from code, requirements, or the user's corrections above):

    • Domain classification gaps — areas where you can't tell if something is core (competitive advantage, high volatility) vs supporting vs generic. Propose your best guess and ask the user to confirm or correct.
    • Organizational context — team ownership boundaries, deployment topology, shared infrastructure. These affect effective distance beyond what code structure shows.
    • Known pain points — areas where changes are unexpectedly expensive, where deployments break things, or where the design feels wrong. These focus the analysis where it matters most.
    • Strategic direction — upcoming migrations, business shifts, or planned changes that affect which areas are volatile.
    • Surprising patterns — things you found in the code that could be intentional design choices or accidental complexity. Ask before assuming.

    You are not limited to these categories. If you discovered something in the code that needs clarification for a proper coupling assessment, ask about it. Ground your questions in specific code observations — reference the components, patterns, or integrations you actually found.

Step 2: Map Integrations

For each pair of components that interact, identify:

  • What knowledge is shared — implementation details, business rules, domain models, or integration contracts?
  • Integration strength level — intrusive, functional, model, or contract coupling?
  • Is the shared knowledge implicit or explicit? Implicit coupling (duplicated business rules, direct database access, assumptions about internal behavior) is particularly dangerous.
  • Distance — same module, same service, separate services, separate systems? Same team or different teams? Synchronous or asynchronous?
  • Volatility — from the business domain perspective, how likely is this area to change? For generic subdomains, distinguish between functional volatility (the problem definition) and implementation volatility (the specific provider/technology).

Step 3: Apply the Balance Rule

For each integration, apply: BALANCE = (STRENGTH XOR DISTANCE) OR NOT VOLATILITY

Flag every integration where coupling is unbalanced AND volatile:

  • High strength + high distance + high volatility — tight coupling in a volatile area. Urgent problem. Changes will be frequent, expensive, and unpredictable.
  • Low strength + low distance — potential low cohesion. Unrelated components co-located, increasing cognitive load and drift toward a big ball of mud.
  • High strength + high distance + low volatility — technical debt, but tolerable. Note it but don't prioritize it.

Step 4: Write the Review

Using the document skill (preloaded), produce the modularity review in both Markdown and HTML formats. The document skill defines the structure and output format.

Important Constraints

  • Read the code. Never identify issues from structure alone. Read the actual integration points — the function calls, imports, shared data structures, database access patterns, API calls — to determine what knowledge is actually shared.
  • Never evaluate coupling using only one dimension. Always consider all three: strength, distance, and volatility.
  • Distinguish essential from accidental volatility. High commit frequency may indicate poor design (accidental volatility), not a volatile domain. Evaluate volatility from the business domain perspective.
  • Don't flag everything. Focus on the integrations that are both unbalanced and volatile. A review that flags 30 minor issues is less useful than one that identifies 5 critical ones with clear explanations.
  • Ground every issue in the model. Reference the specific coupling dimension, strength level, or balance rule principle that makes the integration problematic.
  • Never recommend "just decouple everything." Decomposition increases distance. Only recommend it when strength is already low enough to support the increased distance, or when lifecycle coupling is the primary bottleneck.
  • Consider the organizational dimension. Same code structure + different teams = higher effective distance. Ask about team ownership when it affects the analysis.

Frequently asked questions

What does the Review AI skill do?

Analyzes a codebase's modularity imbalances using the Balanced Coupling model and produces a review of design issues. Use when reviewing existing code for coupling problems, assessing architecture quality, identifying distributed monolith risks, or finding areas where changes are unexpectedly expensive.

Why use Review on TypingMind?

Because you install it once and use it with any model. Review 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 Review in TypingMind?

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

Which AI models can use Review?

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 Review?

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

Is the Review AI skill free?

It is published on GitHub by vladikk. 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 👇