develop-app
하는 일
이 스킬은 에이전트가 기존 Twenty 앱의 데이터 모델, 화면, 로직, 워크플로처럼 앱의 동작을 바꾸도록 돕습니다. Twenty에서 맞춤 기능을 만드는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓기존 Twenty 앱에 새 객체나 맞춤 필드를 추가하고 싶을 때.
- ✓레코드가 생성될 때 실행되는 로직 함수를 원할 때.
- ✓앱을 위한 맞춤 페이지나 프런트 컴포넌트를 만들고 싶을 때.
스킬 링크
https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/develop-app/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Twenty 앱의 company 객체에 renewal date라는 맞춤 필드를 추가해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 먼저 기존 앱 폴더 안에 있는지 확인한 뒤, 앱의 엔티티와 코드를 편집합니다. 배포와 게시는 별도의 스킬이 처리합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
앱의 무엇을 바꿀 수 있나요?
객체, 필드, 로직 함수, 역할, 뷰, 레이아웃, 프런트 컴포넌트를 바꿀 수 있습니다.
새 앱을 만드나요?
아닙니다. 기존 앱에서 작동합니다. 새 앱을 만들 때는 별도의 스킬을 씁니다.
변경 사항을 배포하나요?
아닙니다. 동기화와 배포는 manage-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.
repo: twentyhq/twenty
인기도
- GitHub 스타
- 60k
- 순위
- #3169
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
create-app
60k에이전트가 Twenty 앱을 처음부터 설정하도록 돕습니다. 개발을 시작하는 데 필요한 프로젝트 파일과 의존성을 갖춥니다.
manage-app
60k에이전트가 기존 Twenty 앱을 동기화, 배포, 문제 해결하고 로그를 확인하도록 돕습니다. 로컬 작업부터 운영 환경까지 다룹니다.
publish-app
60k에이전트가 Twenty 앱을 npm이나 마켓플레이스에 올릴 수 있게 준비하도록 돕습니다. README, 메타데이터, 로고, 스크린샷을 포함합니다.
use-twenty-mcp
60k에이전트가 Twenty 워크스페이스에 연결해 레코드, 객체, 필드를 조회하도록 돕습니다. CRM 데이터에 대해 질문할 수 있습니다.