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

# Generators

> Use local Nx generators to scaffold consistent modules and features

# Generators

Generators live in `tools/generators` and are published locally as `@amisi/generators`.

## Available generators

### feature

```bash theme={null}
bun run nx g @amisi/generators:feature <name> [--tags=...]
```

Creates a new Nx library under `packages/<name>` with import path `@amisi/<name>`.

### adapter

```bash theme={null}
bun run nx g @amisi/generators:adapter <package> <name>
```

Creates `packages/<package>/src/adapters/<name>.ts` and exports it from the package.

### screen

```bash theme={null}
bun run nx g @amisi/generators:screen <package> <ScreenName> [route]
```

* Creates screen implementation in `packages/<package>/src/screens/<screen>.tsx`
* Creates route-only file in `apps/mobile/src/app/<route>.tsx` that re-exports the screen
