Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By CCimenv0.1.0MITIn 1 marketplace
Per-branch development databases for the Eneo devcontainer Postgres: every git branch owns a database named eneo_<branch>, cloned once from the branch it was created from. Ships the eneo-dev-db tool and /dev-db command, plus eneo-mig-sim for rehearsing alembic upgrade paths between releases against throwaway databases.
You run one by typing its /name in Claude Code.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Per-branch development databases for the Eneo devcontainer Postgres.
Every git branch owns a real database named eneo_<sanitized-branch>. A branch's
database is created once by cloning the database of the branch it was created
from. After that, switching branches only repoints POSTGRES_DB in
backend/.env. Nothing is copied on a switch, so there is no save step and no
way to lose a branch's data by forgetting one.
This lives in a plugin rather than in the Eneo repo on purpose: a tracked script only exists on the branch that carries it, which is useless precisely when you switch to a branch that does not. The plugin works from every branch, including ones that predate it.
/plugin install eneo-dev-db@eneoplugin
/reload-plugins
The plugin is optional and independent of the other Eneo plugins. It gives
Claude the eneo-dev-db skill, the /eneo-dev-db:dev-db command, and the tools
in bin/ on the Bash tool's PATH.
For use from your own terminal, link the tools into a directory on your PATH.
eneo-mig-sim and check-v21-upgrade look for their siblings next to
themselves, so link all three into the same place:
for tool in eneo-dev-db eneo-mig-sim check-v21-upgrade; do
ln -sf ~/.claude/plugins/marketplaces/eneoplugin/plugins/eneo-dev-db/bin/$tool ~/.local/bin/$tool
done
eneo-dev-db switch # create if needed, repoint .env, alembic upgrade head
eneo-dev-db status # branch, database, size, base, alembic revision
eneo-dev-db prune # list databases whose branch is gone (--yes to drop)
eneo-dev-db fork NAME # scratch copy before something destructive
Run it from anywhere inside the Eneo checkout; it acts on the repository your
working directory is in. -y skips confirmation prompts.
switch kicks the backend's Postgres connection, so restart the backend and
worker afterwards. The exact command is printed. Containers are discovered from
the running compose project, so no names are hardcoded, and the tool works from
the host as well as from inside the devcontainer.
A fresh checkout has POSTGRES_DB=postgres, which is not a per-branch database.
Check out develop and run:
eneo-dev-db switch
The tool notices that the active database predates it and offers to seed
eneo_develop from it, so the data you already have carries over. Say yes.
From then on eneo_develop is the baseline that new branches clone from, and
the original postgres database is left untouched.
First match wins:
--base <branch>git config branch.<name>.eneoDbBasedevelopRules 3 and 4 skip candidates with no database, since there would be nothing to clone. The result is recorded in git config:
git config branch.$(git branch --show-current).eneoDbBase
For a branch stacked on another feature branch, the parent must have been switched to at least once for its schema to be inherited.
The Eneo repo carries scripts/dev-db-init.sh and scripts/dev-db-commit.sh.
They implement the previous model, where snapshot contents were swapped in and
out of one shared active database, and they assume POSTGRES_DB is a fixed
name. Do not run them alongside this tool: dev-db-init.sh will overwrite
whichever database .env currently points at.
eneo-mig-sim runs any git ref's alembic against throwaway eneo_migsim_*
databases, without touching a branch database or backend/.env. Use it to
rehearse an upgrade path between releases before it reaches a real install.
eneo-mig-sim create broken # empty scratch database
eneo-mig-sim alembic broken v2.0.1 upgrade head # run v2.0.1's migrations
eneo-mig-sim alembic broken v2.1.0-rc.1 upgrade head
eneo-mig-sim clone broken repair-attempt # snapshot before a repair
eneo-mig-sim sql broken "SELECT version_num FROM alembic_version;"
eneo-mig-sim dump broken > broken.sql # schema only, for diffing
eneo-mig-sim drop broken
Each ref's backend/ is extracted once with git archive into .mig-sim/ in
the checkout (added to .git/info/exclude) and gets its own uv environment, so
the first run for a ref takes a minute or two.
Two things to know:
HEAD or a branch name, pass a commit sha instead, or delete
.mig-sim/<name> first.eneo-mig-sim clean drops every eneo_migsim_* database and removes
.mig-sim/, including scratch databases you wanted to keep.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ccimen/eneoplugin --plugin eneo-dev-dbPlugins from other owners that cover similar ground