seed-data

seed-data is a cursor rule for Cursor from bernierllc/agents-environment-config. It costs 0 tokens per session (2,207 once invoked), scanned A, original, MIT.

A set of rules for sorting application data into reference data, seed data, or fixture data. Reference data is shared lookup information, seed data initializes an environment, and fixtures support tests.

In plain words
What is it for?
Use it when adding sample records, test data, initial database data, or data shared across environments.
Why use it?
It removes uncertainty about where data belongs and how it should be handled in development, testing, and production environments.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: reads .claude/ paths.

Good fit Use it when adding sample records, test data, initial database data, or data shared across environments.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/bernierllc/agents-environment-config/seed-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/bernierllc/agents-environment-config

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for seed-data

README.md
[![agentmods](https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/seed-data/github.svg)](https://agentmods.dev/rules/bernierllc/agents-environment-config/seed-data)
Your own site
<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/seed-data"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/seed-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seed-data

Your own site · 80×15
<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/seed-data"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/seed-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02207
Opus 5.5 $0.00000 $0.00883
Sonnet 5.5 $0.00000 $0.00441
Haiku 4.5 $0.00000 $0.00221

Measured 3mo ago against content hash 5add48177bb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

seed-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/frameworks/database/seed-data.mdc · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Seed Data Management

Core Principle

Not all "data the app needs" is the same thing. Treat data as one of three distinct tiers — reference, seed, or fixture — and route each tier through the correct mechanism. Conflating them is the root cause of broken deploys, flaky tests, and dirty production databases.

Three Categories of Application Data

Reference Data (→ Migrations)

Data the application depends on to function. If it's missing, the app breaks.

Examples: workflow statuses, system roles, permissions, feature flags, lookup tables, enum values stored in DB

Deployed to: ALL environments, automatically Mechanism: Database migrations (not seed scripts)

  • Must be idempotent (INSERT ... ON CONFLICT DO NOTHING or equivalent)
  • Versioned alongside schema changes — the migration that adds a status column also inserts the valid status values
  • Tested: migration tests verify reference data exists after running

Framework patterns:

  • Supabase: Include in migration SQL files under supabase/migrations/
    -- supabase/migrations/20260410_add_workflow_statuses.sql
    CREATE TABLE workflow_statuses (id text PRIMARY KEY, label text NOT NULL);
    INSERT INTO workflow_statuses (id, label) VALUES
      ('draft', 'Draft'),
      ('review', 'In Review'),
      ('published', 'Published')
    ON CONFLICT (id) DO NOTHING;
    
  • Alembic: Use op.bulk_insert() in migration upgrade() functions
    def upgrade():
        statuses = op.create_table('workflow_statuses', ...)
        op.bulk_insert(statuses, [
            {'id': 'draft', 'label': 'Draft'},
            {'id': 'review', 'label': 'In Review'},
        ])
    
  • Prisma: Include in migration SQL or use prisma db seed with a migration-aware script that guards on existing rows.
  • Django: Use data migrations (RunPython in migration files) — never loaddata fixtures at deploy time.

Seed Data (→ Bootstrap Scripts)

Baseline operational data to bootstrap a usable environment. Not required for the app to function, but required for it to be useful.

Read the full file on GitHub · 184 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 184 lines · 0 tokens per session scan A 5add48177bb3

Subscribe to this mod's changes

seed-data is a cursor rule published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,207 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

seed-data compared with cursor rules from other repositories

seed-data next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
seed-databernierllc/agents-environment-configCursor rule11yesterdayMITA0Cursor
prisma-rulesbeel-collab/presets.devCursor rule37d agoMITA0Cursor
as-contract-cast-smellprisma/ormCursor rule48ktodayApache-2.0A937Cursor
no-backward-compatibilityprisma/ormCursor rule48ktodayApache-2.0A0Cursor
postgresqlsanjeed5/awesome-cursor-rules-mdcCursor rule3.6k7d agoCC0-1.0A2,337Cursor
java-springboot-jpa-cursorrules-prompt-fileXD3an/awesome-ai-coding-all-in-oneCursor rule142d agononeA1,006Cursor
schemaGktuOktay/ai-skillsCursor rule22mo agoMITA0Cursor