Admin and Seed Data
Manage database seeding, reset operations, and the admin interface.
Best use case
Admin and Seed Data is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manage database seeding, reset operations, and the admin interface.
Teams using Admin and Seed Data should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/admin-and-seed-data/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Admin and Seed Data Compares
| Feature / Agent | Admin and Seed Data | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manage database seeding, reset operations, and the admin interface.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Admin and Seed Data ## Admin API Endpoints Located in `RestReactAspire.Server/Endpoints/AdminEndpoints.cs`, registered under `/api/admin`. | Endpoint | Method | Description | |----------|--------|-------------| | `/seed` | POST | Populates database with sample data (additive) | | `/reset` | POST | Deletes all data from all collections | | `/stats` | GET | Returns current count of patients, doctors, exams | ### Response DTOs (`AdminDto.cs`) - `SeedResponse(int PatientsCreated, int DoctorsCreated, int ExamsCreated, Links)` - `ResetResponse(int PatientsDeleted, int DoctorsDeleted, int ExamsDeleted, Links)` - `StatsResponse(int PatientCount, int DoctorCount, int ExamCount, Links)` ## Seed Data Generator Located in `RestReactAspire.Server/Stores/SeedDataGenerator.cs`. ### Current Data Volumes - **100 patients** — random Italian names, varied dates of birth, email, phone - **30 doctors** — random Italian names, assigned from 15 medical specialties - **200 exams** — distributed across patients and doctors with realistic types, durations, dates, statuses, results, and notes ### Data Characteristics - Patient names drawn from pools of 50 first names and 50 last names. - Doctor specialties: Cardiology, Neurology, Orthopedics, Dermatology, Gastroenterology, Ophthalmology, Pulmonology, Endocrinology, Urology, Oncology, Rheumatology, Nephrology, Hematology, Infectious Disease, General Surgery. - Exam types: Blood Test, MRI Brain, X-Ray Chest, ECG, Skin Biopsy, Colonoscopy, Eye Exam, Spirometry, Thyroid Panel, Ultrasound, Urinalysis, Mammography, CT Scan, Bone Density Scan, Stress Test. - Each exam type has min/max duration ranges for realistic `DurationMinutes`. - Completed exams have type-specific result strings and notes. - Scheduled dates span a 12-month range for meaningful time-series charts. ### Modifying Seed Data - Adjust counts in `GeneratePatients()`, `GenerateDoctors()`, `GenerateExams()`. - Add new name pools, specialties, or exam types to the static arrays. - Ensure cross-references remain valid (exams reference valid patient and doctor IDs). ## Frontend Admin Page - Displays current database stats (patient, doctor, exam counts). - Provides "Seed Database" and "Reset Database" buttons. - Shows operation results after seeding or resetting.
Related Skills
ai-training-data-generation
Generate high-quality training datasets from documents, text corpora, and structured content. Use when creating AI training data from dictionaries, documents, or when generating examples for machine learning models. Optimized for low-resource languages and domain-specific knowledge extraction.
relational-database-web-cloudbase
Use when building frontend Web apps that talk to CloudBase Relational Database via @cloudbase/js-sdk – provides the canonical init pattern so you can then use Supabase-style queries from the browser.
admin-panel-builder
Expert assistant for creating and maintaining admin panel pages in the KR92 Bible Voice project. Use when creating admin pages, building admin components, integrating with admin navigation, or adding admin features.
admin-dashboard-qa
Use this skill when implementing, modifying, or fixing the admin dashboard (admin-dashboard-v2). Triggers for tasks involving dashboard UI, components, pages, features, hooks, or API integration. Orchestrates a rigorous QA workflow with PM review, use case writing, testing, and bug fixing cycles.
julien-infra-hostinger-database
Manage shared database instances on Hostinger VPS srv759970 - PostgreSQL, Redis, MongoDB operations. Use for database connections, backups, user management, performance checks, or troubleshooting database issues.
database-migrations-migration-observability
Migration monitoring, CDC, and observability infrastructure
database-cloud-optimization-cost-optimize
You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and ...
database-admin
Expert database administrator specializing in modern cloud
cluster-admin
Master Kubernetes cluster administration, from initial setup through production management. Learn cluster installation, scaling, upgrades, and HA strategies.
cloudflare-d1-migrations-and-production-seeding
Use this skill whenever the user wants to design, run, or refine Cloudflare D1 schema management, migrations, and data seeding for dev/staging/production environments, especially in conjunction with Hono/Workers apps.
azure-data-api-builder
Deploy Data API Builder (DAB) to Azure Container Apps with Azure SQL, Azure Container Registry (ACR), and Azure Developer CLI (azd). Produces Bicep templates, Dockerfile, and azure.yaml. Use when asked to deploy DAB to Azure, create Bicep for DAB, or set up cloud API hosting.
administration
How to monitor usage, track costs, configure analytics, and measure ROI for Claude Code. Use when user asks about monitoring, telemetry, metrics, costs, analytics, or OpenTelemetry.