Database Design
xenitV1/Antigravity-Workflows
Database design principles and decision-making. An agent skill from xenitV1/Antigravity-Workflows.
A skill your agent uses when the user prompts "make variants".
$ npx skills add romeerez/orchid-orm --skill variants -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install romeerez/orchid-orm variants --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/variants .claude/skills/variants && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "variants" agent skill from https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variants into .claude/skills/variants/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "variants", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variantsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add romeerez/orchid-orm --skill variants -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install romeerez/orchid-orm variants --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/variants .agents/skills/variants && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "variants" agent skill from https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variants into .agents/skills/variants/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "variants", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add romeerez/orchid-orm --skill variants -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install romeerez/orchid-orm variants --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/variants .cursor/skills/variants && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "variants" agent skill from https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variants into .cursor/skills/variants/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "variants", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/romeerez/orchid-orm.git --path .agents/skills/variants--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add romeerez/orchid-orm --skill variants -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install romeerez/orchid-orm variants --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/variants .gemini/skills/variants && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "variants" agent skill from https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variants into .gemini/skills/variants/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "variants", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install romeerez/orchid-orm variantsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add romeerez/orchid-orm --skill variants -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/variants .github/skills/variants && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "variants" agent skill from https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variants into .github/skills/variants/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "variants", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add romeerez/orchid-orm --skill variants -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install romeerez/orchid-orm variants --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/romeerez/orchid-orm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/variants .opencode/skills/variants && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "variants" agent skill from https://github.com/romeerez/orchid-orm/tree/main/.agents/skills/variants into .opencode/skills/variants/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "variants", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
variantsA skill your agent uses when the user prompts "make variants".
Variants is an agent skill from romeerez/orchid-orm. Use when the user prompts "make variants".
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Databases, covering ORMs and data access. It works with PostgreSQL. The licence is MIT.
10 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f819fb5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Variants loads about 3.1k tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 1,315 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from romeerez/orchid-orm at commit f819fb5, republished under its MIT licence (© romeerez). 1,315 words, ~3,069 tokens.
.claude/skills/variants/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Read a specific idea from changes/<feature-name>/ideas.md, research solution variants for it, and write or update changes/<feature-name>/<NUMBER-idea-name>/variants.md.
Input: The argument after /variants should include both:
changes/<feature-name>/ideas.mdExamples:
/variants 712-composite-foreign-keys 2/variants row-level-security-integration "Policy-aware query configuration"/variants composite-foreign-keys-in-relations 3Goal
Produce a document that explains the goal of one specific idea and proposes one or more genuinely different user-facing solutions for achieving it.
This command is about solution design, not implementation planning. The output should help a human compare approaches, and it should also be clear enough that a later AI can use it as a reliable basis for a more detailed proposal.
The existing research.md is background context, but it is usually not enough on its own. Unless the idea is trivial and the solution space is obvious, do fresh idea-specific research to:
Steps
Identify the target change folder
Search changes/ for the folder that best matches the user's feature input.
Prefer:
research.md and ideas.mdIf multiple folders are plausible, stop and ask the user which one to use. Do not guess when the match is ambiguous.
If no relevant change folder exists, tell the user that no matching researched change was found. Do not create a new change folder here.
Resolve the target idea
Read the full changes/<feature-name>/ideas.md.
Match the requested idea by:
### 2. <Idea title>If the title match is ambiguous, stop and ask one focused clarifying question. Do not guess between similarly named ideas.
Record:
Why, Adds, How, Depends on, and any use cases that help clarify the ideaRead existing research for idea-specific context
Read changes/<feature-name>/research.md after identifying the idea.
Use it to understand:
Ignore research sections that do not materially affect the selected idea. The purpose of this step is to narrow the problem before doing variant research.
Decide how much new research is needed
Make an explicit judgment:
ideas.mdresearch.mdresearch.mdBias toward doing fresh research unless the idea is truly simple.
This command should usually perform broader solution-oriented research than ideas.md already contains.
Research solution variants
When fresh research is needed, research specifically for this idea rather than the whole feature.
Prioritize:
Research goals:
Do not do generic background research that does not affect the proposed variants. Keep the research focused on how the idea could be expressed to users.
Inspect relevant orchid-orm documentation
Read docs/src/.vitepress/dist/llms.txt, but only the sections that are relevant to the selected idea or its candidate solutions.
Use the docs to understand:
Read relevant references from research.md
At the end of research.md, review the reference list.
Read only the references that appear relevant to:
It is not necessary to read every reference. Prefer the sources that materially improve solution quality.
Derive the solution variants
Propose one or more solutions that are genuinely different ways to achieve the idea's goal.
Good solution differences include:
Bad solution differences include:
If the idea only supports one serious solution, that is acceptable. Do not invent weak alternatives just to produce multiple options.
Write or update variants.md
The output path must be:
changes/<feature-name>/<NUMBER-idea-name>/variants.md
Where:
NUMBER is the idea number from ideas.mdidea-name is a short kebab-case form of the idea titleIf the idea folder does not exist yet, create it.
If variants.md already exists, read it now, preserve useful content, remove stale or unsupported claims, and reconcile it with the current idea and research.
Use this structure:
# <Idea Title>
## Goal
<Explain what this idea is trying to achieve for users and why it matters.>
## Context from existing research
<Brief summary of the relevant context from `research.md`, orchid-orm docs, and any prior references that materially shape the solution space.>
## Solution 1: <Solution name>
- Summary: <One paragraph describing the solution at a user-facing level.>
- User-facing interface: <Describe the public API, configuration, methods, or other visible surface users would work with.>
- How it works: <Explain the principles clearly enough that both a human reader and a later AI can understand the exact intended behavior without guessing. Stay out of implementation internals, but remove ambiguity about what the solution means.>
- Workflow: <Describe the sequence of what a user does and what they get. Use a short list if it is clearer.>
- Pros: <Benefits of this solution.>
- Cons: <Limitations, awkwardness, or trade-offs of this solution.>
#### Example use case
- <Brief scenario showing when a user would choose this solution and what result they get.>
<Optional minimal code example when it materially improves clarity.>
## Solution 2: <Solution name> <!-- optional -->
- Summary: <One paragraph describing the solution at a user-facing level.>
- User-facing interface: <Describe the public API, configuration, methods, or other visible surface users would work with.>
- How it works: <Explain the principles clearly enough that both a human reader and a later AI can understand the exact intended behavior without guessing. Stay out of implementation internals, but remove ambiguity about what the solution means.>
- Workflow: <Describe the sequence of what a user does and what they get. Use a short list if it is clearer.>
- Pros: <Benefits of this solution.>
- Cons: <Limitations, awkwardness, or trade-offs of this solution.>
#### Example use case
- <Brief scenario showing when a user would choose this solution and what result they get.>
<Optional minimal code example when it materially improves clarity.>
## Comparison <!-- optional: only when there are multiple solutions -->
- <How solution 1 is better than solution 2 for certain users or priorities.>
- <How solution 2 is better than solution 1 for certain users or priorities.>
- <Which solution seems most natural for orchid-orm users, if that conclusion is justified.>
## References
- <Relevant source and why it matters to this idea or a proposed solution.>Document guidance:
How it works must be concrete and unambiguous enough that a later AI can use it for a more detailed proposal without inventing missing behaviorComparison section only when there is more than one real solutionSource handling
The resulting solution descriptions should reference relevant sources when they are based on those sources.
Source expectations:
Do not add references that were not actually used. Do not dump a large bibliography just because it exists.
Before finishing, verify:
changes/<feature-name>/<NUMBER-idea-name>/variants.md pathideas.mdresearch.md were used, and irrelevant parts were ignoredresearch.md were read when they helped the ideaPros and Cons reflect real trade-offs rather than fillerGuardrails
ideas.md before reading research.mdresearch.md as sufficient by default for solution qualitydocs/src/.vitepress/dist/llms.txt or all references blindly; stay selective and relevant© romeerez, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/variants of romeerez/orchid-orm.
Open the folder on GitHubat commit f819fb5
Variants next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Variants this skillromeerez/orchid-orm | 543 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Database DesignxenitV1/Antigravity-Workflows | 130 | 8 repos | ~378 | Automated safety check: Pass | MIT | |
| Database Postgreslatitude-dev/latitude-llm | 4.7k | — | ~3.6k | Automated safety check: Pass | MIT | |
| Stash Deploymentcipherstash/stack | 157 | — | ~6.5k | Automated safety check: Pass | MIT | |
| Safe SQL Executionsupabase/supabase | 111k | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Better Drizzlealmeidazs/better-drizzle | 348 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 |
xenitV1/Antigravity-Workflows
Database design principles and decision-making. An agent skill from xenitV1/Antigravity-Workflows.
latitude-dev/latitude-llm
Drizzle schema, repositories, RLS, SqlClient wiring, Postgres migrations, psql / reset, or platform mappers (toDomain / toInsertRow).
cipherstash/stack
Deploy a CipherStash encryption rollout to a live environment without losing data — the multi-deploy ladder (schema-add + dual-write → backfill → read cutover → stop dual-writes → drop plaintext)…
supabase/supabase
A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…
almeidazs/better-drizzle
Write, review, and debug code that uses better-drizzle, the typed repository layer over Drizzle ORM 1.x (better(db), client.users.findMany, paginate, cursor, upsertMany, relation include/connect…
curvenote/curvenote
Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.).
romeerez/orchid-orm
A skill your agent uses when the user prompts "write spec" or "make spec".
romeerez/orchid-orm
A skill your agent uses when user asks to write a task list, not to do a task
romeerez/orchid-orm
A skill your agent uses when need to optimize TypeScript types.
romeerez/orchid-orm
A skill your agent uses when the user prompts "code doc" to create or update internal Orchid ORM code documentation from changes/ specs, short-code feature folders, or existing implementation code.
romeerez/orchid-orm
A skill your agent uses when the user prompts "write ideas" or "make ideas".
romeerez/orchid-orm
A skill your agent uses when the user prompts "implementation note" for an existing change idea.
Works with
Categories
A skill your agent uses when the user prompts "make variants". Variants is an agent skill from romeerez/orchid-orm. Use when the user prompts "make variants".
Variants fits situations like: the user prompts make variants; tasks that involve ORMs and data access.
Run `npx skills add romeerez/orchid-orm --skill variants -a claude-code`. Or copy the skill folder (.agents/skills/variants in romeerez/orchid-orm) into .claude/skills/variants in your project. Claude Code loads it when a task matches its description.
Run `npx skills add romeerez/orchid-orm --skill variants -a codex`. Or copy the skill folder (.agents/skills/variants in romeerez/orchid-orm) into .agents/skills/variants in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add romeerez/orchid-orm --skill variants -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/variants, .gemini/skills/variants, .github/skills/variants and .opencode/skills/variants in your project.
SKILL.md names no scripts, command-line tools or credentials: Variants is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Variants is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Variants: Database Design (xenitV1/Antigravity-Workflows, 130 stars), Database Postgres (latitude-dev/latitude-llm, 4.7k stars), Stash Deployment (cipherstash/stack, 157 stars) and Safe SQL Execution (supabase/supabase, 111k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
romeerez (a GitHub user) maintains it in romeerez/orchid-orm, which has 543 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 8, 2026.
Source: romeerez/orchid-orm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.