
Data layer patterns edho ferdian
Guides an agent through designing Postgres schemas, Prisma, Redis caching and safe
Data layer patterns edho ferdian is an open-source agent skill for databases. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 22
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Data layer patterns edho ferdian
This skill helps an agent plan a data layer before the code exists: table shapes, ORM setup, cache and queue choices, and the order in which schema changes should roll out. It starts by asking for or inferring the access pattern and expected data volume, then routes the work to topic references covering Postgres, MySQL/MariaDB, Prisma, Redis, cross-ORM migrations, JPA, schema invariants and MyBatis. Expand-contract is the default for changes that could lock a large table or lose data.
The skill is explicitly design-time rather than a review lens. When the request is to audit or review existing SQL, migrations or schemas, it points the agent to separate review skills instead of applying its own content. It also hands off service code, performance measurement, access control and production deployment to other skills in the same family.
The skill is written with Bahasa Indonesia for communication and English for schema names, code and generated files. It includes a worked example of splitting a column with Prisma, covering dual writes, batched backfill, read switching, cache key versioning and rollback per phase.
When your agent uses it
Design and set up the data layer: Postgres schemas, Prisma, Redis caching and queues, and safe expand-contract migrations. Use for "desain schema untuk X", "setup Prisma/Redis", "strategi migration yang aman", "cache invalidation strategy".
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 10 files (75 KB) on GitHub on 2 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 ekosistem-edho-ferdian plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add edhoferdian/EEF
/plugin install ekosistem-edho-ferdian@eef-marketplaceOr copy only this skill to ~/.claude/skills/data-layer-patterns-edho-ferdian:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/data-layer-patterns-edho-ferdian &&
cp -R "$tmp/.agents/skills/data-layer-patterns-edho-ferdian" ~/.claude/skills/data-layer-patterns-edho-ferdian &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/data-layer-patterns-edho-ferdian inside it instead.
Copy the skill folder to ~/.agents/skills/data-layer-patterns-edho-ferdian to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/data-layer-patterns-edho-ferdian &&
cp -R "$tmp/.agents/skills/data-layer-patterns-edho-ferdian" ~/.agents/skills/data-layer-patterns-edho-ferdian &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/data-layer-patterns-edho-ferdian inside it instead.
Copy the skill folder to ~/.cursor/skills/data-layer-patterns-edho-ferdian to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/data-layer-patterns-edho-ferdian &&
cp -R "$tmp/.agents/skills/data-layer-patterns-edho-ferdian" ~/.cursor/skills/data-layer-patterns-edho-ferdian &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/data-layer-patterns-edho-ferdian inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/edhoferdian/EEF.git --path .agents/skills/data-layer-patterns-edho-ferdianOr copy the folder to ~/.gemini/skills/data-layer-patterns-edho-ferdian yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/data-layer-patterns-edho-ferdian:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/data-layer-patterns-edho-ferdian &&
cp -R "$tmp/.agents/skills/data-layer-patterns-edho-ferdian" ~/.copilot/skills/data-layer-patterns-edho-ferdian &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/data-layer-patterns-edho-ferdian inside it instead.
Get the folder:
git clone --depth 1 https://github.com/edhoferdian/EEF.gitThen copy EEF/.agents/skills/data-layer-patterns-edho-ferdian into your agent's skills folder as data-layer-patterns-edho-ferdian. Agents that support SKILL.md read one folder per skill.
What it does
- Schema design guidance
- Covers choosing tables, columns and indexes for Postgres and MySQL based on how data will be read and written.
- Prisma and ORM setup
- Explains Prisma setup, connection pooling, N+1 avoidance and the migration workflow.
- Redis caching strategy
- Outlines caching, queue and cache invalidation patterns along with common anti-patterns to avoid.
- Expand-contract migrations
- Describes staged, reversible schema changes that avoid locking large tables or losing data.
- Schema invariants
- Lists constraints and invariants a schema should enforce at design time.
- Worked column-split example
- Walks through a Prisma column split with dual writes, backfill, read switch and rollback steps.
Good for
- Design a Postgres schema for a new feature
- Set up Prisma with connection pooling
- Plan a safe migration for adding a required column
- Define a Redis cache invalidation strategy
- Choose indexes and constraints before writing queries
Data layer patterns edho ferdian FAQ
When does Data layer patterns edho ferdian trigger?
It triggers on requests such as designing a schema for a feature, setting up Prisma or Redis, planning a safe migration strategy, or defining a cache invalidation strategy.
Does Data layer patterns edho ferdian review existing database code?
No. It is for design time. Reviews of existing SQL, migrations or schemas are handed off to separate review skills.
Which databases are covered?
Postgres and MySQL/MariaDB have dedicated reference files, and JPA and MyBatis are also covered in separate references.
What does Data layer patterns edho ferdian need to run?
The skill has no scripts and no tool restrictions are set. It relies on the agent reading its reference files.
How do I install Data layer patterns edho ferdian in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/data-layer-patterns-edho-ferdian to use it in all your projects, or to .claude/skills/data-layer-patterns-edho-ferdian in one project. Or install the ekosistem-edho-ferdian plugin, which includes it: /plugin marketplace add edhoferdian/EEF, then /plugin install ekosistem-edho-ferdian@eef-marketplace.
Does Data layer patterns edho ferdian 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 Data layer patterns edho ferdian?
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 Data layer patterns edho ferdian?
The closest alternatives to Data layer patterns edho ferdian are Database migrations, Database migrations, PostgreSQL optimization, Db change management and PostgreSQL code review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from edhoferdian/EEF

Guides an agent through mapping, writing and quarantining end-to-end browser tests
- Open source
- 22 GitHub stars
- Developer tools

Guides writing unit and component tests in React, pytest, Go and Vue
- Open source
- 22 GitHub stars
- Developer tools

Guides an agent in designing REST API contracts, versioning and OpenAPI schemas
- Open source
- 22 GitHub stars
- Developer tools

Routes a vague request to the right EEF skill, or a short sequence of them
- Open source
- 22 GitHub stars
- Developer tools

Guides an agent on server-side layering, error handling, retries, queues and integrations
- Open source
- 22 GitHub stars
- Developer tools

Diagnoses billing incidents and checks pricing claims against code before any refund
- Open source
- 22 GitHub stars
- Finance and payments





