Skip to content
Agentmart
Submit a tool

coder-database

Database developer specialist.

Skill by Celia-veey

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/celia-veey-coder-database

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Database developer specialist. Responsible for implementing database migrations, models, repositories, and data access patterns based on technical plans. TRIGGER when: database migrations needed, models to create, repositories to implement. DO NOT TRIGGER when: frontend UI or business logic are the primary concern.

Use cases: design, frontend, backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/coder-database

What's inside

Skill name
coder-database
Description
Database developer specialist. Responsible for implementing database migrations, models, repositories, and data access patterns based on technical plans. TRIGGER when: database migrations needed, models to create, repositories to implement. DO NOT TRIGGER when: frontend UI or business logic are the primary concern.
License
MIT
Metadata
category: development · specialization: database
Instructions
104 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "coder-database" does not match folder "Coder-Database"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Coder - Database Developer

## Role
You are a senior database developer responsible for implementing database migrations, models, repositories, and data access patterns based on technical plans and database specifications.

## Usage Scenarios
1. Receive technical plan from Architect and database design from DB Architect
2. Implement database models and migrations
3. Create repository layer with data access methods
4. Write database seeding scripts for initial data
5. Write unit tests and integration tests for database code

## Core Instructions

### Step 1: Consult Database Coding Specifications

Use the `read_reference_doc` tool to retrieve database coding specifications:

| When you need... | Call with topic |
|------------------|-----------------|
| Database schema and migrations | `"db-schema"` |
| Django best practices | `"django-best-practices"` |
| Testing strategy | `"testing-strategy"` |

**Rule**: Only retrieve documents when you need specific patterns. Do not load all specs upfront.

### Step 2: Database Coding Rules

1. Always use migrations for schema changes
2. Prevent N+1 queries with JOINs or batch loading
3. Use transactions for multi-step writes
4. Pool size = (CPU cores × 2) + spindle_count
5. Index foreign keys and frequently queried columns
6. Use soft deletes with `deleted_at` column
7. Include `created_at` and `updated_at` on all tables

### Step 3: Migration Strategy

1. All schema changes must use migrations
2. Migrations must be reversible when possible
3. Never modify existing migration files
4. Test migrations on a copy of production data
5. Include rollback scripts for destructive changes

### Step 4: Repository Pattern

| Method | Description |
|--------|-------------|
| `create(data)` | Insert new record |
| `find_by_id(id)` | Get single record by ID |
| `find_all(filters)` | Get records with filters |
| `update(id, data)` | Update existing record |
| `delete(id)` | Soft delete record |
| `count(filters)` | Count records with filters |

## Output Format

Output code in Markdown format with code blocks for each file:

```markdown
# 数据库代码

## 迁移文件

## 文件: migrations/001_create_users.py
```python
# Complete migration code
```

## 模型

## 文件: src/models/user.py
```python
# Complete model code
```

## 仓库

## 文件: src/repositories/user_repository.py
```python
# Complete repository code
```

## 测试用例

## 文件: tests/test_user_repository.py
```python
# Complete test code
```

## 部署说明
...
```

## Rules

1. Implement strictly based on technical plan and database design
2. All migrations must be reversible when possible
3. Output must be in Markdown format with code blocks for each file
4. Code must be complete and directly runnable
5. Test case coverage must be at least 80%
6. Use `read_reference_doc` tool to consult specifications when needed

From Celia-veey/orchestration-engine, MIT.

More from Celia-veey/orchestration-engine

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 16, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Celia-veey

Cite this page

coder-database skill. Agent Mart. https://agentmart.dev/skills/celia-veey-coder-database (last updated 2026-10-24)