Agent skill

Database Design

by Leavesfly in Leavesfly/Jimi

“数据库设计规范与优化指南”

— description from SKILL.md by Leavesfly
No licenceAuto-check passedDatabases

Install Database Design

skills CLI
$ npx skills add Leavesfly/Jimi --skill database-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Leavesfly/Jimi database-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Leavesfly/Jimi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/main/resources/skills/database-design .claude/skills/database-design && rm -rf skills-src

Use ~/.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/

Facts

Skill name
database-design
GitHub stars
237
Token cost
~1.1k tokens
SKILL.md length
169 words
Files
2
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

  • Works in 9 steps: 命名规范 → 字段类型选择 → 主键设计 → …
  • SKILL.md covers 表设计原则, 索引设计, SQL 优化 and 范式设计, plus 3 more sections
  • Runs Shell scripts from its folder

About this skill

Database Design is a skill in Leavesfly/Jimi (237 stars). Its SKILL.md is about 1.1k tokens, with 1 other file in the folder. No licence found.

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. 命名规范
  2. 字段类型选择
  3. 主键设计
  4. 外键约束
  5. 索引类型
  6. 索引优化原则
  7. 查询优化
  8. 分页优化
  9. COUNT 优化

What it can do on your machine

Read from SKILL.md and the folder at commit 75e1158. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships script files (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Database Design loads about 1.1k tokens when it runs. Until then it costs about 7 tokens; SKILL.md has 169 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~7
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 169 words (~1,084 tokens).

name
database-design
version
1.0.0
category
development
triggers
database design, 数据库设计, SQL 优化, 表设计, 数据库规范
scriptPath
check-db.sh
scriptType
bash
autoExecute
true
scriptTimeout
10

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in src/main/resources/skills/database-design of Leavesfly/Jimi.

  • SKILL.md
  • check-db.sh

Open the folder on GitHubat commit 75e1158

Compare with similar skills

Database Design 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.

Database Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Database Design this skillLeavesfly/Jimi237—~1.1kAutomated safety check: PassNone
SQL Optimization Patternsynulihao/AgentSkillOS61710 repos~3.3kAutomated safety check: PassNone
Add Mpk Taskmirage-project/mirage2.5k—~4.5kAutomated safety check: PassApache-2.0
B200 Flash Attention4 Plannermirage-project/mirage2.5k—~1.9kAutomated safety check: PassApache-2.0
Experiment Auditwanshuiyin/Auto-claude-code-research-in-sleep17k1 repos~2.7kAutomated safety check: NotesMIT
Datamodellmnimbalyst/nimbalyst1.8k—~713Automated safety check: PassMIT

Similar skills

  • SQL Optimization Patterns

    ynulihao/AgentSkillOS

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.

    617 GitHub starsUsed in 10 repos~3.3k tokens
    DatabasesAuto-check passed
  • Add Mpk Task

    mirage-project/mirage

    Step-by-step guide for adding a new task implementation to Mirage Persistent Kernel (MPK).

    2.5k GitHub stars~4.5k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • B200 Flash Attention4 Planner

    mirage-project/mirage

    A skill your agent uses when the user wants to design or extend a FlashAttention-style forward kernel on B200/Blackwell, involving the two MMAs QKᵀ and PV, online softmax, S/P/O in TMEM, warp roles…

    2.5k GitHub stars~1.9k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Experiment Audit

    wanshuiyin/Auto-claude-code-research-in-sleep

    Audit experiment integrity before claiming results. An agent skill from wanshuiyin/Auto-claude-code-research-in-sleep.

    17k GitHub starsUsed in 1 repo~2.7k tokens
    DatabasesAuto-check: notes
  • Datamodellm

    nimbalyst/nimbalyst

    Create visual data models for database schemas using Nimbalyst's DataModelLM editor.

    1.8k GitHub stars~713 tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Sqlite Schema Design

    fastrepl/anarlog

    Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice.

    9.4k GitHub stars~1.9k tokensUpdated today
    DatabasesAuto-check passed

More from Leavesfly/Jimi

All 9 skills in this repo
  • Weather

    Leavesfly/Jimi

    Get current weather and forecasts (no API key required). An agent skill from Leavesfly/Jimi.

    237 GitHub starsUsed in 19 repos~287 tokens
    Auto-check passed
  • API Design

    Leavesfly/Jimi

    RESTful API design best practices and conventions guide. An agent skill from Leavesfly/Jimi.

    237 GitHub stars~349 tokensUpdated 1 mo ago
    Auto-check passed
  • Git Commit Guide

    Leavesfly/Jimi

    Git 提交规范(Conventional Commits)

    237 GitHub stars~864 tokensUpdated 1 mo ago
    Auto-check passed
  • Unit Testing

    Leavesfly/Jimi

    Java单元测试编写指南(基于JUnit和Mockito)

    237 GitHub stars~667 tokensUpdated 1 mo ago
    Auto-check passed
  • Java Best Practices

    Leavesfly/Jimi

    Java 编码最佳实践与设计模式

    237 GitHub stars~381 tokensUpdated 1 mo ago
    Auto-check passed
  • Code Review

    Leavesfly/Jimi

    代码审查最佳实践指南

    237 GitHub stars~297 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Database Design

How do I install Database Design in Claude Code?

Run `npx skills add Leavesfly/Jimi --skill database-design -a claude-code`. Or copy the skill folder (src/main/resources/skills/database-design in Leavesfly/Jimi) into .claude/skills/database-design in your project. Claude Code loads it when a task matches its description.

How do I install Database Design in Codex?

Run `npx skills add Leavesfly/Jimi --skill database-design -a codex`. Or copy the skill folder (src/main/resources/skills/database-design in Leavesfly/Jimi) into .agents/skills/database-design in your project. Codex loads it when a task matches its description.

Can I use Database Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Leavesfly/Jimi --skill database-design -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-design, .gemini/skills/database-design, .github/skills/database-design and .opencode/skills/database-design in your project.

What does Database Design need to run?

Going by SKILL.md and its folder, Database Design needs a shell for the scripts in its folder.

Does Database Design access the network?

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.

Is Database Design safe to install?

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.

What licence does Database Design use?

No licence was found for Database Design or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Database Design use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Database Design?

Skills that share tags, products or a category with Database Design: SQL Optimization Patterns (ynulihao/AgentSkillOS, 617 stars), Add Mpk Task (mirage-project/mirage, 2.5k stars), B200 Flash Attention4 Planner (mirage-project/mirage, 2.5k stars) and Experiment Audit (wanshuiyin/Auto-claude-code-research-in-sleep, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Database Design?

Leavesfly (a GitHub user) maintains it in Leavesfly/Jimi, which has 237 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 19, 2026.

Source: Leavesfly/Jimi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.