# Update the Plugin Tutorial in Notion

Regenerate the "Tutorial: Plugin para Nexus" Notion page from current code and documentation.

## Target

Notion page: `3234fc37854080d9a5dece31975385d2`

## Step 1: Read current sources

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

1. `packages/sdk/AGENTS.md` — SDK reference and gotchas
2. `packages/backend/AGENTS.md` — Backend reference, CLI, gotchas
3. `demos/demo-plugin/` — plugin developer reference (all files)
4. `plugins/secrets/src/index.ts` — simplest real plugin
5. `packages/sdk/src/types/manifest.ts` — PluginManifest interface (verify)
6. `packages/sdk/src/types/entity.ts` — entity types (verify)
7. `packages/backend/src/cli.ts` — CLI commands (verify plugin commands)

## Step 2: Read current tutorial

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

## Step 3: Compare and identify changes

For each section, check if snippets match current API:

- PluginManifest interface (properties, code validation)
- ModuleManifest within plugins
- Entity definition signatures
- Field factory parameters
- CLI plugin commands (add, remove, enable, disable)
- Migration commands for plugins
- ctx (ModuleContext) properties
- Plugin conventions (code, peerDeps, exports, files)
- List of existing plugins and their codes

## Step 4: Update Notion

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

**Rules:**
- Preserve the 14-section structure
- Cross-references to App tutorial must remain valid
- All code examples verified against source
- Update the plugins reference table (section 14) if new plugins were added

## Step 5: Report

Show summary of changes per section.
