# Update the App Tutorial in Notion

Regenerate the "Tutorial: App basada en Nexus" Notion page from current code and documentation.

## Target

Notion page: `3234fc3785408042be6bf648a2876c54`

## Step 1: Read current sources

Read these files to understand the current state of the API:

1. `packages/sdk/AGENTS.md` — SDK reference and gotchas
2. `packages/backend/AGENTS.md` — Backend reference, CLI, gotchas
3. `packages/client/AGENTS.md` — Client reference, NexusApi structure
4. `packages/ui/AGENTS.md` — UI reference, bootstrap, composables
5. `demos/demo-backend/src/modules/` — app developer examples
6. `demos/demo-embedded/src/main.ts` — frontend bootstrap example (embedded SPA)
7. `packages/sdk/src/types/entity.ts` — entity definition types (verify signatures)
8. `packages/sdk/src/types/manifest.ts` — ModuleManifest, Category (verify valid values)
9. `packages/sdk/src/fields/` — check for new/changed field factories

## Step 2: Read current tutorial

```
mcp__claude_ai_Notion__notion-fetch(id: "3234fc3785408042be6bf648a2876c54")
```

## Step 3: Compare and identify changes

For each section of the tutorial, check if the code snippets and descriptions still match the current API:

- Entity definition signatures (table vs name, key, etc.)
- Field factory parameters and available factories
- Hooks signature
- CLI commands
- Client API (login, createEntityClient, PaginatedResult)
- bootstrap() options
- Available plugins list
- Category valid values

## Step 4: Update Notion

Use `mcp__claude_ai_Notion__notion-update-page` with `command: "update_content"` to update only the sections that changed.

**Rules:**
- Preserve the section structure (13 sections)
- Only update code snippets and descriptions that are outdated
- Keep cross-references to plugin tutorial intact
- All code examples must be verified against current source code
- Do NOT guess API signatures — read the actual types

## Step 5: Report

Show summary of what changed:

| Section | Status | What changed |
|---------|--------|-------------|
| 1. Prerrequisitos | unchanged | — |
| 5. Entity types | updated | Added new entity type X |
| ... | ... | ... |
