db
Database rules for working with drizzle schemas and creating backend apis
Install / Use
npx skills add deifos/clipmira-subtitlesInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of db
db scores 36/100 on our quality scale, 589th of 600 Data & Analytics skills we index.
Its Cursor Rules is 1.1 KB long, written without headings with 2 code examples: fairly brief, so expect to fill in details yourself.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- Our last check on 2026-09-01 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-27. Automated pattern scan on 2026-10-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
db compared with similar skills
All 4 of these similar skills score higher than db; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| db (this skill)by deifos | 36 | 0 | — | Cursor Rules |
| Agent-Reachby Panniantong | 100 | 105.3k | 3d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.1k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 90.1k | 1d ago | MCP Server |
| crawl4aiby unclecode | 100 | 86.4k | 2d ago | MCP Server |
Frequently asked questions
- How do I install db?
- Run
npx skills add deifos/clipmira-subtitles. The install tabs above show the steps for each supported agent. - Which AI agents does db work with?
- It is written for Cursor, as a Cursor Rules file. Other agents that read the same format can often use it too.
- Is db safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is db still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubdescription: Database rules for working with drizzle schemas and creating backend apis globs: apps/**/*.ts alwaysApply: false
Leverage strings with drizzle types, instead of enums:
status: text("status").$type<pending | cancelled |error >().notNull()
Only use varchar for ids, similiar to the users table. Otherwise use text.
When creating a new table, leverage the id util packages/id/src/generate.ts
<new_table_prefix>
`packages/id/generate.ts`
const prefixes = {
post: "post",
property: "prop",
// Add new prefixes here
} as const;
For generate.ts, all you have to do is add the table name (or varation) as a key to the const. No need to use nanoid or change any other code. Also abbreviate longer words, i.e property: "cust",
Then inside packages/db/schema.ts you can use it like so:
export const properties = pgTable("properties", {
id: varchar("id", { length: 255 })
.primaryKey()
.$defaultFn(() => newId("property"))
}
</new_table_prefix>
Users table doesn't need items like avatar or name, unless specificially required to sync via clerk
Related Skills
Agent-Reach
105.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
90.1k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
86.4kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key. Join our Discord https://discord.gg/VuxzM8mtf
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
