develop-app

Adds and modifies objects, fields, logic functions, and front components in Twenty apps.

56.0k|8.9k|Updated Dec 1, 2022
One-click install
npx skills add https://github.com/twentyhq/twenty --skill develop-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-app
Source: https://github.com/twentyhq/twenty/tree/main/packages/twenty-codex-plugin/skills/develop-app
Command: npx skills add https://github.com/twentyhq/twenty --skill develop-app

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Extending an existing Twenty CRM app with new objects, fields, views, logic functions, workflows, or front components requires knowing the correct file structure, SDK imports, UUID generation, and sync commands. This Skill guides the AI through entity changes using the Twenty CLI and established conventions, avoiding manual boilerplate errors.

Core Features & Use Cases

  • Entity Creation via CLI: Uses yarn twenty dev:add to scaffold objects, fields, views, logic functions, and front components with correct structure and UUIDs.
  • Code Organization Rules: Enforces kebab-case filenames, one export per file, and dedicated folders for utils, types, and service clients.
  • Verification Workflow: Runs typecheck, lint, and yarn twenty apply once after edits to sync entity definitions to the active remote.
  • Use Case: A developer asks to add a custom field to the company object and a logic function that runs on record create; the Skill plans the change, scaffolds entities with the CLI, writes tests, and syncs the app.

Quick Start

Use the develop-app skill to add a new object with fields and a logic function to my existing Twenty app.

Frequently Asked Questions about develop-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new object or field to a Twenty app?

Run yarn twenty dev:add from the app root to scaffold objects, fields, views, logic functions, and front components. The CLI generates the correct file structure, UUIDs, and SDK imports automatically, so manual file creation is only needed for unsupported entity types.

How do I create a logic function that runs on record create in Twenty?

Use the Twenty CLI's dev:add command to generate the logic function file, then implement the trigger, inputs, and writes. Keep helpers in src/utils and add a spec file in a sibling __tests__ folder for every function you add.

Can I use this skill to scaffold a brand-new Twenty app?

No, this skill only modifies entities inside an existing app whose root contains package.json and src/application-config.ts. To create a new app from scratch, use the create-app skill instead.

What commands sync Twenty app changes to the remote workspace?

After all edits are complete, run yarn twenty dev:typecheck, yarn lint, and yarn twenty apply once. The apply command syncs entity definitions to the active remote; running these repeatedly after each edit is discouraged.

When should I not use the develop-app skill?

Avoid it for scaffolding new apps (use create-app), sync, deploy, or troubleshooting issues (use manage-app), marketplace listing assets (use publish-app), or querying workspace records (use use-twenty-mcp).