with one click
manage-app
Use when the user wants to manage or troubleshoot tooling, remotes, sync, build, deploy, logs, CI/CD, or operational workflows for an existing Twenty app.
Use when the user wants to manage or troubleshoot tooling, remotes, sync, build, deploy, logs, CI/CD, or operational workflows for an existing Twenty app.
Retrieve and present Twenty CRM records as readable summaries or tables, using the connected Twenty MCP server to discover fields, fetch relevant data, format dates and values, build record links, and avoid raw API output.
Use when the user wants to create or scaffold a new Twenty app
Use when the user wants to add or modify Twenty app entities, including objects, layouts, logic functions, and front components inside an existing Twenty app.
Use when the user wants to prepare or verify a Twenty app for npm or marketplace publication, including README/About copy, package metadata, defineApplication marketplace metadata, logos, screenshots, and public assets.
Use when the user wants Codex to connect to an existing Twenty workspace through MCP, retrieve or inspect workspace records and metadata, or present Twenty CRM data as readable Markdown with formatted dates, values, record links, and compact tables instead of raw API output.
Use when turning a qualified Twenty lead — a call-summary brief plus any client braindump/docs — into an implementation design doc a partner can scope and quote from. Trigger when pointed at a lead folder (e.g. partners-experience/<LEAD>/) and asked to "draft a design doc", "translate this into Twenty terms", "scope this for a partner", or "prep the partner handoff" for a discovery-qualified prospect. Chains after twenty-lead-intro-call-summary.
| name | manage-app |
| description | Use when the user wants to manage or troubleshoot tooling, remotes, sync, build, deploy, logs, CI/CD, or operational workflows for an existing Twenty app. |
Pick this skill when the user wants to operate, troubleshoot, or ship an existing Twenty app — anything between "I have an app" and "it runs in production". Representative triggers:
Do not use this skill to scaffold (use create-app), to change app entities or code (use develop-app), to prepare marketplace assets (use publish-app), or to query workspace records (use use-twenty-mcp).
For background on how Twenty apps work — the SDK packages, remotes, sync lifecycle, and rendering model — read ../../references/concepts/how-apps-work.md.
Do not scaffold a new app here. Use $create-app when the app does not exist.
Do not add or modify app entities here. Use $develop-app for objects, fields, logic functions, roles, views, navigation, page layouts, skills, agents, connection providers, and front component registration.
Do not prepare marketplace README, screenshots, logos, or npm listing copy here. Use $publish-app for public listing work.
Do not retrieve CRM records here. Use $use-twenty-mcp for workspace data retrieval.
First confirm the current directory is a Twenty app:
test -f package.json
test -f src/application-config.ts
Inspect current app and scripts before running operational commands:
sed -n '1,220p' package.json
yarn twenty remote:list
Treat deploys, uninstalls, production remote changes, and production syncs as externally visible actions. Ask for explicit confirmation before running them when the target is production or user data could be affected.
For command details, remotes, validation command semantics, sync modes, troubleshooting, build, deploy, logs, exec, and CI/CD, read ../../references/manage-app/cli-and-sync.md.
If the user asks to run tests, also read ../../references/develop-app/tests.md before running any test command. Full test suites include integration tests that install and uninstall the app on their target server, so start or verify the isolated test instance and run:
yarn twenty docker:start --test
TWENTY_API_URL=http://localhost:2021 yarn test
Do not run integration tests against the dev instance on http://localhost:2020 unless the user explicitly asks for that target. If the user asks for unit tests only, use the package's unit-test script and no TWENTY_API_URL override is needed.
A remote is a Twenty server that the app can sync or deploy to. Credentials are stored locally in ~/.twenty/config.json.
Common commands:
# Add a remote interactively.
yarn twenty remote:add
# Connect to a local Twenty server.
yarn twenty remote:add --local
# Add a remote non-interactively.
yarn twenty remote:add --url https://your-twenty-server.com --api-key $TWENTY_API_KEY --as production
# List configured remotes.
yarn twenty remote:list
# Switch the active remote.
yarn twenty remote:use <name>
When the user says "prod", "production", or "workspace de prod", identify the target remote before syncing or deploying. If it is missing, add it with --as production or the user-provided name.
Always use one-shot sync to synchronize app changes with the active remote:
yarn twenty dev --once
Do not use bare yarn twenty dev (watch mode). Run yarn twenty dev --once each time changes need to be synced.
One-shot sync requires an authenticated remote. If authentication fails, re-add or switch the remote before retrying.
Start by identifying which layer is failing:
Collect the minimum useful context before changing configuration:
sed -n '1,220p' package.json
sed -n '1,220p' src/application-config.ts
yarn twenty remote:list
yarn twenty dev --once --verbose
For remote or authentication issues:
yarn twenty remote:add --local for local app-dev servers.yarn twenty remote:add --url <url> --as <name> for remote servers.For sync issues:
yarn twenty dev --once --verbose to get a bounded failure.$develop-app to fix the entity definitions.For build or deploy issues:
yarn twenty dev:build before yarn twenty app:publish --private or yarn twenty app:publish.package.json version when updating an already deployed app.yarn twenty app:publish --private --remote <name> instead of relying on the active remote when production is involved.For runtime behavior:
yarn twenty dev:function:logs to inspect function execution logs.yarn twenty dev:function:exec -n <function-name> -p '<json>' to reproduce a logic function with a controlled payload.For CI/CD failures:
.github/workflows/.TWENTY_DEPLOY_URL points to a reachable server from the runner.TWENTY_DEPLOY_API_KEY is configured as a secret, not committed in source.Build before deploy when the user asks for release readiness or when debugging packaging issues:
yarn twenty dev:build
Publish an app to npm, or publish privately to a configured Twenty server registry:
yarn twenty app:publish
yarn twenty app:publish --private --remote production
yarn twenty app:install --remote production
Before deploying an update, check that package.json has a strictly higher semver version than the currently deployed version. Re-deploying the same version is rejected. After a private publish, install the deployed version with yarn twenty app:install when the target workspace should use it.
Use $publish-app instead when the user wants npm marketplace publishing, listing copy, screenshots, or public app store metadata.
Use function logs when debugging runtime behavior on the connected server:
yarn twenty dev:function:logs
yarn twenty dev:function:logs -n <function-name>
Run a logic function manually when testing behavior without its trigger:
yarn twenty dev:function:exec -n <function-name>
yarn twenty dev:function:exec -n <function-name> -p '{"key":"value"}'
Uninstall only after confirmation:
yarn twenty app:uninstall
yarn twenty app:uninstall --yes
Apps generated with create-twenty-app can use GitHub Actions for CI and CD. For deployment automation, check the app's .github/workflows/ files and configure:
TWENTY_DEPLOY_URLTWENTY_DEPLOY_API_KEYDo not put API keys in source files. Use the repository or CI secret store.