develop-app
Fungsinya
Skill ini membantu agent Anda mengubah apa yang dilakukan aplikasi Twenty yang sudah ada, seperti model data, layar, logika, dan alur kerjanya. Skill ini ditujukan untuk pengembang yang membangun fitur kustom di Twenty.
Kapan dipakai
- βSaat Anda ingin menambahkan objek atau field kustom baru ke aplikasi Twenty yang sudah ada.
- βSaat Anda ingin fungsi logika yang berjalan ketika sebuah record dibuat.
- βSaat Anda ingin membangun halaman kustom atau komponen depan untuk aplikasi Anda.
Link skill
https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/develop-app/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTambahkan field kustom bernama renewal date ke objek company di aplikasi Twenty saya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill pertama-tama memeriksa bahwa Anda berada di dalam folder aplikasi yang sudah ada, lalu mengedit entitas dan kode aplikasi. Deploy dan publikasi ditangani oleh skill terpisah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apa saja yang bisa diubah dalam aplikasi?
Skill dapat mengubah objek, field, fungsi logika, peran, tampilan, tata letak, dan komponen depan.
Apakah ia membuat aplikasi baru?
Tidak, skill ini bekerja pada aplikasi yang sudah ada. Skill terpisah digunakan untuk membuat yang baru.
Apakah ia men-deploy perubahan saya?
Tidak, sinkronisasi dan deploy ditangani oleh skill manage-app.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 60k
- Peringkat
- #3169
- Lisensi
- β
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
create-app
60kMembantu agent Anda membuat aplikasi Twenty baru dari awal, lengkap dengan file proyek dan dependensi yang dibutuhkan untuk mulai membangun.
manage-app
60kMembantu agent Anda melakukan sinkronisasi, deploy, pemecahan masalah, dan memeriksa log aplikasi Twenty yang sudah ada, dari pekerjaan lokal hingga produksi.
publish-app
60kMembantu agent Anda menyiapkan aplikasi Twenty untuk npm atau marketplace, termasuk README, metadata, logo, dan tangkapan layarnya.
use-twenty-mcp
60kMemungkinkan agent Anda terhubung ke ruang kerja Twenty dan mencari record, objek, dan field, sehingga Anda dapat bertanya tentang data CRM Anda.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.