KS
Killer-Skills

sql-schema — how to use sql-schema how to use sql-schema, sql-schema setup guide, sql-schema alternative, sql-schema vs dotnet ef migrations, sql-schema install, what is sql-schema, sql-schema for AI agents, sql-schema best practices, sql-schema workflow optimization

v1.0.0
GitHub

About this Skill

Perfect for Database Management Agents needing advanced SQL Server container management via .NET Aspire sql-schema is a skill for managing SQL Server container initialization and database schema definitions using a Script-Load pattern

Features

Uses .NET Aspire (MoreSpeakers.AppHost) for SQL Server container initialization
Defines database schema in scripts/database/
Follows a Script-Load pattern for database schema management
Modifies columns and adds new seed data as needed
Locates loading logic in src/MoreSpeakers.AppHost/AppHost.cs

# Core Topics

cwoodruff cwoodruff
[6]
[3]
Updated: 2/24/2026

Quality Score

Top 5%
36
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add cwoodruff/morespeakers-com/sql-schema

Agent Capability Analysis

The sql-schema MCP Server by cwoodruff is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use sql-schema, sql-schema setup guide, sql-schema alternative.

Ideal Agent Persona

Perfect for Database Management Agents needing advanced SQL Server container management via .NET Aspire

Core Value

Empowers agents to manage SQL Server containers using the Script-Load pattern, providing database schema definitions and initialization capabilities via .NET Aspire and SQL Server containers, leveraging scripts from `scripts/database/`

Capabilities Granted for sql-schema MCP Server

Initializing database schema definitions
Managing SQL Server containers
Updating seed data and column modifications

! Prerequisites & Limits

  • Does not use `dotnet ef migrations`
  • Requires .NET Aspire (`MoreSpeakers.AppHost`)
  • Specific to SQL Server containers
Project
SKILL.md
1.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

SQL Schema Management Skill

Overview

MoreSpeakers.com uses a "Script-Load" pattern via .NET Aspire (MoreSpeakers.AppHost) to initialize the SQL Server container. We DO NOT use dotnet ef migrations.

Source of Truth

The database schema is defined in scripts/database/.

Workflow

1. Identify the Change

Determine if you need a new table, a modified column, or new seed data.

2. Locate the Loading Logic

Check src/MoreSpeakers.AppHost/AppHost.cs. Look for the sqlText concatenation logic:

csharp
1var sqlText = string.Concat( 2 File.ReadAllText(Path.Combine(path, @"../../scripts/database/create-database.sql")), 3 " ", 4 File.ReadAllText(Path.Combine(path, @"../../scripts/database/create-tables.sql")), 5 // ... other files 6);

3. Apply the Change

Option A: Modify Existing Files (Preferred for clean slate)

  • If adding a core table, add T-SQL to scripts/database/create-tables.sql.
  • If adding a view, use scripts/database/create-views.sql.

Option B: Create New Script (For specific updates)

  1. Create a new file, e.g., scripts/database/update-schema-features.sql.
  2. CRITICAL: You MUST update AppHost.cs to include this new file in the string.Concat list, or it will be ignored.

4. Writing SQL

  • Idempotency: Always write idempotent SQL. The script may run on container startup.
    sql
    1IF NOT EXISTS (SELECT * FROM sys.tables WHERE name = 'MyTable') 2BEGIN 3 CREATE TABLE MyTable (...) 4END
  • Foreign Keys: Ensure referenced tables are created before the table defining the key (check file order in AppHost.cs).

5. Verification

  • Run dotnet run --project src/MoreSpeakers.AppHost.
  • The container will spin up and execute the concatenated SQL script.

PROHIBITED ACTIONS

  • dotnet ef migrations add
  • dotnet ef database update
  • ❌ Modifying the DbContext OnModelCreating without adding corresponding SQL scripts.

Related Skills

Looking for an alternative to sql-schema or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication