# Oracle codebase design

> Oracle codebase design is an open-source agent skill for developer tools. Gives agents a shared vocabulary and checklist for designing deep modules and seams. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/martinffx/atelier/tree/main/skills/oracle-codebase-design
- **Repository:** https://github.com/martinffx/atelier
- **GitHub stars:** 53
- **License:** MIT
- **Skill name:** oracle-codebase-design
- **Collection:** https://github.com/martinffx/atelier
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/martinffx/atelier/tree/HEAD/skills/oracle-codebase-design)
- [License: MIT](https://github.com/martinffx/atelier/tree/HEAD/skills/oracle-codebase-design)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Codebase design](https://ai-powered.com/skills/codebase-design-evist0): Codebase design is an open-source agent skill for developer tools.
- [Codebase design](https://ai-powered.com/skills/codebase-design): Codebase design is an open-source agent skill for design and media.
- [Deepening review](https://ai-powered.com/skills/deepening-review): Deepening review is an open-source agent skill for developer tools.
- [Improve arch](https://ai-powered.com/skills/improve-arch): Improve arch is an open-source agent skill for developer tools.
- [Architecture rescue](https://ai-powered.com/skills/architecture-rescue): Architecture rescue is an open-source agent skill for developer tools.
- [Improve codebase architecture](https://ai-powered.com/skills/improve-codebase-architecture): Improve codebase architecture is an open-source agent skill for developer tools.
- [Design an interface](https://ai-powered.com/skills/design-an-interface): Design an interface is an open-source agent skill for developer tools.
- [Interface design](https://ai-powered.com/skills/interface-design): Interface design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/oracle-codebase-design
