SKILL.md--- name: tutti-agent-workspace-app description: "Build or evolve a complex agent-enabled Tutti workspace app repository. Use for Tutti apps with web/server/shared monorepos, @tutti-os/agent-acp-kit local agent runtimes, kit-owned TUTTI_CLI agent/composer discovery, dynamic agent catalogs, run-scoped MCP tool gateways, app-owned package builders, web-first debugging, i18n harnesses, and production package validation. For simple package creation or repair, use tutti-workspace-app-factory instead." --- # Tutti Agent Workspace App Use this skill when the task is to create or evolve a full Tutti app repository, not just a final package directory. The target app is usually a local-first web app with a server, shared contracts, optional local agent runtime, and an app-owned `scripts/package-tutti-app.mjs`. For the final package contract, defer to `$tutti-workspace-app-factory` and its references. This skill owns app architecture patterns; the factory skill owns `tutti.app.json`, `tutti.cli.json`, `bootstrap.sh`, runtime env, storage, i18n harness, and static package validation rules. ## When To Use Use this skill for: - New agent-enabled Tutti app repositories. - Existing web/server apps being converted into maintainable Tutti app repos. - Apps that need `@tutti-os/agent-acp-kit` for app-owned local Agent execution and `@tutti-os/agent-acp-kit/tutti` for auto CLI-backed/standalone platform context. - App-specific MCP or command gateways that expose domain tools to local agents. - Multi-package `pnpm` workspaces with `apps/web`, `apps/server`, and `packages/shared`. - App-owned packaging, smoke tests, i18n enforcement, and CLI/reference endpoints. - GitHub Actions release workflows for publishing Tutti app releases and staging/production catalogs. Use `$tutti-workspace-app-factory` instead for a small standalone package, package repair, or manifest-only validation. ## Required References Read only the references needed for the task: - `references/app-architecture.md` for repository layout, web/server/shared boundaries, and dependency choices. - `references/agent-acp-kit.md` when implementing local agent providers, ACP event mapping, or run-scoped MCP tools. - `references/dynamic-agent-providers.md` when implementing agent catalog/composer endpoints, standalone behavior, agent pickers, default selection, or canonical agent-id persistence. Read this before hard-coding any agent or provider list. - `references/package-builder.md` when adding `scripts/package-tutti-app.mjs`, `bootstrap.sh`, Tutti CLI output docs, or package validation. - `references/github-actions-release.md` when creating or changing `.github/workflows/publish-tutti-app.yml`, `.github/workflows/publish-tutti-app-staging.yml`, release variables, or catalog publishing. - `references/i18n-and-web-debugging.md` when changing UI copy, language handling, web-first debug flow, or smoke/e2e checks.