Code Module Review logo

Code Module Review

Community
Integralist
code-module-review

Explain and review how a scoped piece of code is structured. Use when the user asks how a feature or package is put together; whether a PR or existing code has clean module boundaries; where new logic should live or which module should own it; or how the code could be reshaped.

Overview

PublisherIntegralist
Repositoryagent-skills
Skill namecode-module-review
Stars
26
Forks
1
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 Integralist on GitHub. Read the source before you install it.

Installation

Install the Code Module 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/Integralist/agent-skills/tree/main/.agents/skills/code-module-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/Integralist/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/.agents/skills/code-module-review .claude/skills/code-module-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Code Module 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 Code Module 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 Code Module 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.

Map a scoped piece of code, then assess whether its modules and seams belong where they are. Back every claim with source evidence. This is review-only: change code only when the user asks.

Use the vocabulary and principles in code-module-design, the project's domain terms from GLOSSARY.md, and conventions-mermaid for every diagram.

1. Scope

Resolve the target from the user's file, diff, PR, feature, or package. If none is clear, ask which code to map. For a PR or diff, follow callers, dependencies, and neighbouring modules only as far as needed to establish ownership; do not scan the whole codebase. Read nearby package docs, GLOSSARY.md, and ADRs. If only CONTEXT.md exists, use it and note it is the legacy glossary. Continue when you can name the code being traced and its neighbours.

2. Map the current state

Read source, imports, call sites, and peers before drawing. Keep static dependencies separate from runtime calls: an import alone does not prove a call.

Draw only views that add information beyond the others:

  • Placement: the target and neighbouring modules that own related responsibilities, showing static dependencies and plausible existing homes for the logic.
  • Interaction: runtime participants and control or data flow. Use a sequence diagram for ordered exchanges, or a flowchart when branching or ownership reads better.
  • Call path: one entry point through the functions implementing the behaviour, including transformations, side effects, and error paths. Use real names and source locations.

Keep each view readable; split diagrams rather than shrinking them. For every skipped view, say why. Cite path:line in nearby text, not diagram labels. Validate each view, or mark it unvalidated if mmdc is unavailable.

3. Assess ownership and seams

Use source evidence to check:

  • Which existing module owns the concept, based on responsibility, callers, types, and imports—not its name alone.
  • Whether callers coordinate several shallow modules that one deeper module could own behind a smaller interface.
  • Whether logic sits with the concept it changes or leaks into a caller, shared utility, or unrelated package.
  • Whether a likely change to a format, policy, or default requires edits in several modules, or callers must know an implementation detail.
  • Whether callers handle an ordinary case or configuration choice that the owning module could handle once.
  • Whether dependencies cross the seam in the right direction, and whether a proposed seam has a second adapter to justify it.
  • Whether moving logic would improve locality or leverage without pushing complexity onto callers.
  • Whether the module's tests reach it through its interface, or pin internal helpers. Pinned helpers suggest the seam is in the wrong place.

A finding must name its demonstrated cost: duplicated responsibility, leaked implementation, caller coordination, coupling, or another specific cost. A layout that differs from a preferred pattern is not a cost. If a claim relies on project precedent, use the precedent skill and cite at least two peers. Finish with evidence for every finding, or conclude that placement is sound or the evidence is inconclusive.

4. Report

Label inferences and proposals as such. Include:

  • Scope and summary: what was traced and the short answer.
  • Current state: each view, with a short explanation and path:line citations.
  • Boundary findings, ranked by impact: current responsibility, evidence, cost, and the smallest coherent alternative. If there are none, say the boundaries look sound.
  • Target view: only for findings that warrant structural change; show the proposed ownership or interaction at the same level as the current view.
  • Unknowns and next step: facts that could change the assessment and one focused follow-up.

Finish when the report is delivered.

Hand off when appropriate

Frequently asked questions

What does the Code Module Review AI skill do?

Explain and review how a scoped piece of code is structured. Use when the user asks how a feature or package is put together; whether a PR or existing code has clean module boundaries; where new logic should live or which module should own it; or how the code could be reshaped.

Why use Code Module Review on TypingMind?

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

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

Which AI models can use Code Module 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 Code Module Review?

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

Is the Code Module Review AI skill free?

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