develop-app
Ce qu’il fait
Ce skill aide votre agent à modifier ce que fait une application Twenty existante, comme son modèle de données, ses écrans, sa logique et ses workflows. Il s'adresse aux développeurs qui créent des fonctions personnalisées sur Twenty.
Quand l’utiliser
- ✓Quand vous voulez ajouter un nouvel objet ou un champ personnalisé à une application Twenty existante.
- ✓Quand vous voulez une fonction logique qui s'exécute à la création d'un enregistrement.
- ✓Quand vous voulez créer une page personnalisée ou un composant d'interface pour votre application.
Lien du skill
https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/develop-app/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Ajoute un champ personnalisé appelé date de renouvellement à l'objet entreprise de mon application Twenty.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Le skill vérifie d'abord que vous êtes dans un dossier d'application existant, puis modifie les entités et le code de l'application. Le déploiement et la publication sont gérés par des skills distincts.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
When To Use
Pick this skill when the user wants to change what an existing Twenty app does — its data model, UI, logic, or workflows. Representative triggers:
- "add a new object to my Twenty app"
- "create a logic function that runs on record create"
- "add a custom field to the company object"
- "build a front component for the deal page"
- "modify an existing entity / object / field"
- "add a workflow with a manual trigger"
- "add roles and permissions to my app"
- "create a standalone page in my app"
Do not use this skill to scaffold a brand-new app (use create-app), to sync/deploy/troubleshoot (use manage-app), to prepare marketplace assets (use publish-app), or to query workspace records (use use-twenty-mcp).
Boundaries
For background on how Twenty apps work — the SDK packages, remotes, sync lifecycle, and rendering model — read ../../references/concepts/how-apps-work.md. Cross-skill operating rules that apply to every Twenty app task are in ../../references/concepts/operating-rules.md; they are authoritative and not restated per skill.
Do not scaffold a new app here. Use create-app first when the app does not exist.
Workflow
First, confirm the setup is sane before changing entities. The current directory should be the root of an existing Twenty app:
test -f package.json
test -f src/application-config.ts
If either file is missing, do not edit blindly. Inspect nearby folders to find the app root, or use create-app when the app does not exist.
If setup, dependencies, remotes, authentication, sync, build, deploy, logs, or CI/CD are failing, switch to manage-app before continuing with entity work.
For app shape and entity file structure, read ../../references/develop-app/app-structure.md.
Plan Before Editing
For any change involving more than one entity, state the plan back in 3–6 lines before editing: objects extended, fields added, logic functions and post-install hooks declared, whether the app needs UI. Confirm with the user when there is a real choice.
Skip for single-entity edits, renames, and copy fixes.
Code Organization
Keep logic functions, post-install hooks, and front components narrow. Extract everything that is not the trigger, inputs, writes, rendering shell, or external call:
src/utils/<name>.util.ts— pure helpers (parsers, mappers, formatters).src/front-components/utils/<name>.util.ts— front-component runtime helpers that are reusable and testable.src/types/<name>.ts— external API and internal DTO types (one PascalCase type per file).src/<service>-client/<name>.ts— wrappers around external SDKs or shared HTTP clients. One folder per service, matching Twenty's*-clientconvention.
Kebab-case filenames. One export per file is mandatory for every helper, type, and client file in src/ — never multiple function exports in one file. The rule counts exports: a local (non-exported) type may stay alongside the util, but once a type is exported or reused it splits into a src/types/<name>.ts file separate from the src/utils/<name>.util.ts file. See app-structure.md for the canonical rule and the full suffix convention.
Refactor when:
- A
*.logic-function.tsor*.post-install.tsfile exceeds the soft cap (see../../references/develop-app/logic.md). - A front component contains duplicated command execution, record loading, logic-function lookup, payload building, result parsing, or snackbar formatting.
- The same parsing or mapping logic appears across object types.
- Multiple field files differ only by name and identifier — use a factory under
src/fields/.
Always create a *.spec.ts test file in a sibling __tests__/ folder for every util/function you add or change, one spec file per source file. See ../../references/develop-app/tests.md.
When a front component triggers a logic function for selected records, always prefer a bulk-capable logic function unless the user explicitly states that the function is only for one record. The default payload shape is records: Array<{ id: string; ...fields }>: inside records, use id for the Twenty record ID because the array name already establishes the record context. Do not add flat single-record compatibility payloads unless the user explicitly asks to preserve an existing single-record API.
Adding New Entities
Use a CLI to add new entities. It generates the correct file structure, UUIDs, SDK imports, and boilerplate. Check first for the standalone
Questions fréquentes
Que peut-il modifier dans une application ?
Il peut modifier les objets, les champs, les fonctions logiques, les rôles, les vues, les mises en page et les composants d'interface.
Crée-t-il une nouvelle application ?
Non, il travaille sur une application existante. Un autre skill sert à en créer une nouvelle.
Déploie-t-il mes modifications ?
Non, la synchronisation et le déploiement sont gérés par le skill manage-app.
Détails
Description originale de l’auteur
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.
repo: twentyhq/twenty
Popularité
- Étoiles GitHub
- 60k
- Position au classement
- #3169
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
create-app
60kAide votre agent à créer une nouvelle application Twenty à partir de zéro, avec les fichiers de projet et les dépendances nécessaires pour commencer à développer.
manage-app
60kAide votre agent à synchroniser, déployer, dépanner et consulter les journaux d'une application Twenty existante, du travail local jusqu'à la production.
publish-app
60kAide votre agent à préparer une application Twenty pour npm ou la boutique, y compris le README, les métadonnées, le logo et les captures d'écran.
use-twenty-mcp
60kPermet à votre agent de se connecter à votre espace de travail Twenty et de consulter les enregistrements, les objets et les champs, pour que vous puissiez poser des questions sur vos données CRM.
Skills similaires
diffs
394kPermet à votre agent de produire un diff réel et partageable de vos modifications, sous forme de lien ou d'image, plutôt qu'un résumé écrit à la main.
coding-agent
394kAide votre agent à confier une tâche de programmation plus importante à Codex, Claude Code ou OpenCode comme travailleur en arrière-plan, puis à suivre sa progression.
gh-issues
394kAide votre agent à trouver des tickets GitHub, choisir ceux à traiter et ouvrir des pull requests avec des correctifs, y compris le suivi des commentaires de relecture.