SQL Pro
Jeffallan/claude-skills
Optimizes SQL queries and designs schemas using CTEs, window functions, covering indexes and EXPLAIN ANALYZE, with notes on dialect differences between major databases.
Full pipeline for DB design. An agent skill from revfactory/harness-100.
$ npx skills add revfactory/harness-100 --skill database-architect -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 database-architect --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/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/19-database-architect/.claude/skills/database-architect .claude/skills/database-architect && 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 "database-architect" agent skill from https://github.com/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architect into .claude/skills/database-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architect", 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/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architectType 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 revfactory/harness-100 --skill database-architect -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 database-architect --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/19-database-architect/.claude/skills/database-architect .agents/skills/database-architect && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "database-architect" agent skill from https://github.com/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architect into .agents/skills/database-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architect", 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 revfactory/harness-100 --skill database-architect -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 database-architect --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/19-database-architect/.claude/skills/database-architect .cursor/skills/database-architect && 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 "database-architect" agent skill from https://github.com/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architect into .cursor/skills/database-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architect", 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/revfactory/harness-100.git --path en/19-database-architect/.claude/skills/database-architect--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 revfactory/harness-100 --skill database-architect -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 database-architect --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/19-database-architect/.claude/skills/database-architect .gemini/skills/database-architect && 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 "database-architect" agent skill from https://github.com/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architect into .gemini/skills/database-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architect", 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 revfactory/harness-100 database-architectInstalls 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 revfactory/harness-100 --skill database-architect -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/19-database-architect/.claude/skills/database-architect .github/skills/database-architect && 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 "database-architect" agent skill from https://github.com/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architect into .github/skills/database-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architect", 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 revfactory/harness-100 --skill database-architect -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 database-architect --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/19-database-architect/.claude/skills/database-architect .opencode/skills/database-architect && 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 "database-architect" agent skill from https://github.com/revfactory/harness-100/tree/main/en/19-database-architect/.claude/skills/database-architect into .opencode/skills/database-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architect", 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.
database-architectFull pipeline for DB design. An agent skill from revfactory/harness-100.
Database Architect is an agent skill from revfactory/harness-100. Full pipeline for DB design. An agent team collaborates to perform data modeling, migration, indexing, query optimization, and security verification. Use this skill for any database design task including 'design a database', 'database modeling', 'table design', 'ERD', 'migration', 'query optimization', 'index design', 'SQL schema', 'PostgreSQL design', 'MySQL design', etc. Also supports optimization and security auditing for existing schemas. Note: actual DB server installation/operation, cloud infrastructure…
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Database schema design, Query optimization and SQL. It works with SQL, MySQL and PostgreSQL. The licence is Apache-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8e8d35c. 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.
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.
Database Architect loads about 1.8k tokens when it runs. Until then it costs about 154 tokens; SKILL.md has 677 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 revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 677 words, ~1,766 tokens.
.claude/skills/database-architect/SKILL.md (or your agent's skills folder).An agent team collaborates to perform data modeling, migration, indexing, query optimization, and security verification in a single pass.
Agent Team — 5 members communicate directly via SendMessage and cross-validate each other's work.
| Agent | File | Role | Type |
|---|---|---|---|
| data-modeler | .claude/agents/data-modeler.md | ERD, normalization, relationship design | general-purpose |
| migration-manager | .claude/agents/migration-manager.md | DDL, version control, rollback | general-purpose |
| performance-analyst | .claude/agents/performance-analyst.md | Indexing, query optimization | general-purpose |
| security-auditor | .claude/agents/security-auditor.md | Access control, encryption, auditing | general-purpose |
| integration-reviewer | .claude/agents/integration-reviewer.md | Alignment, operational readiness verification | general-purpose |
_workspace/ directory at the project root_workspace/00_input.md_workspace/ and skip the corresponding phase| Order | Task | Owner | Dependencies | Artifact |
|---|---|---|---|---|
| 1 | Data Modeling | data-modeler | None | _workspace/01_data_model.md |
| 2 | Migration Generation | migration-manager | Task 1 | _workspace/02_migration.sql, 02_migration_plan.md |
| 3a | Performance Optimization | performance-analyst | Tasks 1, 2 | _workspace/03_performance.md |
| 3b | Security Verification | security-auditor | Tasks 1, 2 | _workspace/04_security.md |
| 4 | Integration Review | integration-reviewer | Tasks 2, 3a, 3b | _workspace/05_review_report.md |
Tasks 3a (performance) and 3b (security) are executed in parallel.
Inter-team communication flow:
Organize the final artifacts based on the review report:
_workspace/| User Request Pattern | Execution Mode | Agents Deployed |
|---|---|---|
| "Design a database", "full design" | Full Pipeline | All 5 agents |
| "Just draw the ERD", "table design only" | Modeling Mode | data-modeler + integration-reviewer |
| "Optimize this schema" (existing SQL) | Optimization Mode | performance-analyst + integration-reviewer |
| "DB security audit" (existing DB) | Security Mode | security-auditor + integration-reviewer |
| "Review this schema" | Review Mode | integration-reviewer only |
Leveraging existing files: If the user provides schemas, ERDs, or other existing files, skip the corresponding steps.
| Strategy | Method | Purpose |
|---|---|---|
| File-based | _workspace/ directory | Store and share primary artifacts |
| Message-based | SendMessage | Real-time delivery of key information, revision requests |
| Task-based | TaskCreate/TaskUpdate | Progress tracking, dependency management |
File naming convention: {order}_{agent}_{artifact}.{extension}
| Error Type | Strategy |
|---|---|
| DBMS not specified | Default to PostgreSQL; add compatibility notes for other DBMSs |
| Insufficient domain information | Data modeler starts with common patterns; document assumptions |
| Agent failure | Retry once -> If still fails, proceed without that artifact; note the omission in the review report |
| 🔴 found during review | Request revision from the relevant agent -> rework -> re-verify (up to 2 rounds) |
| Existing schema parsing failure | Manually analyze and reconstruct the data model |
Prompt: "Design a PostgreSQL database for an e-commerce platform. I need user, product, order, payment, and review tables. Expecting 100K orders per day" Expected Result:
Prompt: "Optimize the performance of this SQL schema" + SQL file Expected Result:
_workspace/02_migration.sqlPrompt: "Design a database, blog platform" Expected Result:
Extension skills that enhance each agent's domain expertise:
| Skill | Target Agent | Role |
|---|---|---|
normalization-patterns | data-modeler | 1NF-BCNF identification, denormalization strategies, domain-specific ERD templates |
query-optimization-catalog | performance-analyst | Index strategies, EXPLAIN analysis, N+1 resolution, partitioning |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/19-database-architect/.claude/skills/database-architect of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
Database Architect 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 |
|---|---|---|---|---|---|---|
| Database Architect this skillrevfactory/harness-100 | 1.3k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| SQL ProJeffallan/claude-skills | 12k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Agent SQL Proxiaoyuge886/aigc | 198 | — | ~315 | Automated safety check: Pass | MIT | |
| SQL Expertaiskillstore/marketplace | 430 | — | ~3.4k | Automated safety check: Pass | None | |
| SQL ToolkitLeoYeAI/openclaw-master-skills | 2.2k | — | ~3k | Automated safety check: Pass | MIT | |
| Golang Databaseunxed/f4 | 240 | 2 repos | ~2.9k | Automated safety check: Pass | MIT |
Jeffallan/claude-skills
Optimizes SQL queries and designs schemas using CTEs, window functions, covering indexes and EXPLAIN ANALYZE, with notes on dialect differences between major databases.
xiaoyuge886/aigc
Expert SQL developer specializing in complex query optimization, database design, and performance tuning across PostgreSQL, MySQL, SQL Server, and Oracle.
aiskillstore/marketplace
Expert SQL query writing, optimization, and database schema design with support for PostgreSQL, MySQL, SQLite, and SQL Server.
LeoYeAI/openclaw-master-skills
Query, design, migrate, and optimize SQL databases. An agent skill from LeoYeAI/openclaw-master-skills.
unxed/f4
Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…
ReJeCtAll/ExpertTeam-Codex
数据库优化专家入口。用于 Codex CLI 的 $expert-database 调用. An agent skill from ReJeCtAll/ExpertTeam-Codex.
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
Works with
Categories
Full pipeline for DB design. An agent skill from revfactory/harness-100. Database Architect is an agent skill from revfactory/harness-100. Full pipeline for DB design.
Database Architect fits situations like: any database design task including design a database; database modeling; query optimization; postgreSQL design.
Run `npx skills add revfactory/harness-100 --skill database-architect -a claude-code`. Or copy the skill folder (en/19-database-architect/.claude/skills/database-architect in revfactory/harness-100) into .claude/skills/database-architect in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill database-architect -a codex`. Or copy the skill folder (en/19-database-architect/.claude/skills/database-architect in revfactory/harness-100) into .agents/skills/database-architect 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 revfactory/harness-100 --skill database-architect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/database-architect, .gemini/skills/database-architect, .github/skills/database-architect and .opencode/skills/database-architect in your project.
SKILL.md names no scripts, command-line tools or credentials: Database Architect 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.
Database Architect is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.1k 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 Database Architect: SQL Pro (Jeffallan/claude-skills, 12k stars), Agent SQL Pro (xiaoyuge886/aigc, 198 stars), SQL Expert (aiskillstore/marketplace, 430 stars) and SQL Toolkit (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.