> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ooneex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# seed:create

> Generate a new seed file.

Generate a new seed file inside a module, along with its data yml file and test file. The `seeds.ts` export file is regenerated, and `bin/seed/run.ts` is created for the module if it does not already exist.

## Usage

```bash theme={null}
ooneex seed:create [options]
```

## Examples

```bash theme={null}
ooneex seed:create
```

```bash theme={null}
ooneex seed:create --name=DemoUser --module=blog
```

## Options

| Option     | Description                                                      | Default             |
| ---------- | ---------------------------------------------------------------- | ------------------- |
| `--name`   | Name of the seed. Normalized to PascalCase with a `Seed` suffix. | Prompted if omitted |
| `--module` | Module the seed is created in.                                   | `shared`            |

## AI Skill

This command ships a matching `seed:create` skill. It teaches your AI agent to generate a seed file and its test, then complete the seed data and class to populate the database using `@ooneex/seeds`.

<Tabs>
  <Tab title="Claude">
    ```bash theme={null}
    ooneex claude:init
    ```
  </Tab>

  <Tab title="Codex">
    ```bash theme={null}
    ooneex codex:init
    ```
  </Tab>
</Tabs>
