Skip to content
Skill

Oracle codebase design

Gives agents a shared vocabulary and checklist for designing deep modules and seams

Oracle codebase design is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
53
Last commit
License
MIT
Listing updated

Similar skills

About Oracle codebase design

This skill sets out a design vocabulary for agents working on module interfaces: depth, seams, adapters, leverage and locality. It treats a module as deep when a small interface hides a lot of behaviour, and it steers the agent toward reducing interface size, placing seams deliberately and hiding design decisions inside one module.

Beyond the glossary, it lists design principles such as the deletion test for pass-through modules, parsing untrusted input into domain types at the edge, and keeping pure decisions separate from I/O. It also sets a size and growth rule for god modules, with a default target of 500 lines and a split requirement at twice that size, and points to reference files for principles, a red-flags checklist, dependency categories and a method for comparing several alternative interfaces.

The skill is written as background guidance rather than a task runner. It contains no scripts and no tool requirements, and it is marked as not directly user-invocable, so other skills call it when they need the deep-module vocabulary. It refers to a CONTEXT.md file and to sibling skills for domain modelling and design questioning.

When your agent uses it

Shared vocabulary and principles for designing deep modules. Use when designing or changing a module's interface, deciding where a seam goes, handling untrusted input at the edges, choosing the level to test at, naming modules, or making code more testable. Also use when another skill needs the deep-module vocabulary.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (27 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the atelier plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add martinffx/atelier
/plugin install atelier@atelier

Or copy only this skill to ~/.claude/skills/oracle-codebase-design:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/oracle-codebase-design &&
cp -R "$tmp/skills/oracle-codebase-design" ~/.claude/skills/oracle-codebase-design &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/oracle-codebase-design inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/oracle-codebase-design to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/oracle-codebase-design &&
cp -R "$tmp/skills/oracle-codebase-design" ~/.agents/skills/oracle-codebase-design &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/oracle-codebase-design inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/oracle-codebase-design to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/oracle-codebase-design &&
cp -R "$tmp/skills/oracle-codebase-design" ~/.cursor/skills/oracle-codebase-design &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/oracle-codebase-design inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/martinffx/atelier.git --path skills/oracle-codebase-design

Or copy the folder to ~/.gemini/skills/oracle-codebase-design yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/oracle-codebase-design:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/oracle-codebase-design &&
cp -R "$tmp/skills/oracle-codebase-design" ~/.copilot/skills/oracle-codebase-design &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/oracle-codebase-design inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/martinffx/atelier.git

Then copy atelier/skills/oracle-codebase-design into your agent's skills folder as oracle-codebase-design. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Deep module vocabulary
Defines module, interface, depth, seam, adapter, leverage and locality with consistent terms for design discussions.
Deep versus shallow check
Asks whether an interface can shrink, its parameters simplify or more complexity move inside the module.
God module size rules
Sets size and growth signals for oversized modules, with a 500-line default target and a split requirement at 1000 lines.
Design principles list
Covers parsing input at the edge, functional core with imperative shell, errors as values and information hiding.
Red-flags checklist
Points to a reference list of design smells such as shallow modules, information leakage and pass-through methods.
Alternative interface exploration
Describes a reference method for designing an interface several radically different ways and comparing them.

Good for

  • Review a module's interface and suggest where its seam should go
  • Check whether a new class is a pass-through that adds no depth
  • Decide whether a growing module should be split before adding a feature
  • Name a new module using the project's domain terms
  • Plan how to make a hard-to-test module testable at its interface

Oracle codebase design FAQ

Does Oracle codebase design run scripts or need any tools?

No. The skill lists no scripts and does not set allowed tools. It is guidance and reference material.

Can I invoke Oracle codebase design directly?

No. It is marked as not user-invocable, so other skills load it when they need the deep-module vocabulary.

What size threshold does Oracle codebase design use for oversized modules?

It uses the repository's size target, or 500 lines when none is set. At twice that size, around 1000 lines by default, the change must split the module before growing it.

Which files does the skill include?

Its SKILL.md links to reference files for principles, red flags, deepening clusters and designing interfaces twice. The repository holds five files in total.

How do I install Oracle codebase design in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/oracle-codebase-design to use it in all your projects, or to .claude/skills/oracle-codebase-design in one project. Or install the atelier plugin, which includes it: /plugin marketplace add martinffx/atelier, then /plugin install atelier@atelier.

Does Oracle codebase design run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Oracle codebase design?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Oracle codebase design?

The closest alternatives to Oracle codebase design are Codebase design, Codebase design, Deepening review, Improve arch and Architecture rescue.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from martinffx/atelier

  1. Routes an agent to the right planning mode and workflow skill for each task

    • Open source
    • 53 GitHub stars
    • Developer tools
  2. Guides a repo's setup for Atelier's workflow, previewing edits before writing

    • Open source
    • 53 GitHub stars
    • Developer tools
  3. Writes and checks conventional commit messages and guides safe staging before committing

    • Open source
    • 53 GitHub stars
    • Developer tools
  4. Condenses the current conversation into a handoff document for a fresh agent

    • Open source
    • 53 GitHub stars
    • Developer tools
  5. Lets your agent open, read, comment on and merge GitHub PRs or GitLab MRs

    • Open source
    • 53 GitHub stars
    • Developer tools
  6. Reviews a branch or PR for human corrections and proposes repo fixes to prevent them

    • Open source
    • 53 GitHub stars
    • Developer tools