跳到正文
Skillpedia
通用编程60k · #3168

create-app

它能做什么

这个技能让智能体使用 Twenty 的独立命令行工具,为 Twenty(一款 CRM)创建新应用。适合希望在 Twenty 上开发自定义功能的开发者。

适用场景

  • ✓当你想为你的 Twenty 工作区开发一个全新应用的时候。
  • ✓当你希望在添加任何功能之前,先创建好项目文件和依赖的时候。
  • ✓当你想先在本地搭建好应用骨架,再连接到 Twenty 实例时。

技能链接

https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/create-app/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/create-app/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我创建一个名为 lead-tracker 的新 Twenty 应用,并准备好它的文件和依赖。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能使用 Twenty 命令行工具创建应用的文件,并安装其依赖。它不会连接工作区,也不会进行部署,这些步骤要在之后完成。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

When To Use

Use for requests such as "create a Twenty app" or "scaffold a new app".

Create an app

Use this skill for a new app. For an existing app, use develop-app or manage-app.

Read ../../references/concepts/how-apps-work.md and ../../references/concepts/operating-rules.md first.

Confirm the app's name and purpose. Use the standalone CLI:

npm install -g twenty
twenty app init <app-name>
cd <app-name>
yarn install

app init only writes files. It does not install dependencies, initialize Git, start Docker, authenticate, or perform an initial sync.

Use --path <directory> for a different destination and --display-name or --description for metadata. The positional name is the package name.

Twenty Cloud and self-hosted instances are supported. Ask for the existing Twenty workspace URL when connection is needed. If the user wants a local environment, run twenty local start, then authenticate separately with twenty auth login. A repository development environment also works.

twenty auth login --url <twenty-instance-url> --name dev
twenty app apply --create --remote dev

Only claim the app is installed after apply succeeds. If the request is just scaffolding, stop after the files and dependencies are created. Do not run broad validation unless requested. For integration tests, use the isolated test instance described in ../../references/develop-app/tests.md.

The template includes a main page, its layout and navigation item, and a health-check function. Remove the placeholder page with its layout and navigation if the app needs no UI. Extend the existing health check rather than declaring a second one.

After creation, use develop-app for entities and UI, manage-app for bounded sync with twenty app apply, and publish-app for release work.

常见问题

这会把我的应用连接到 Twenty 工作区吗?

不会。创建应用只会写入文件和依赖。连接和安装是单独的步骤。

我可以使用 Twenty Cloud 或自托管版本吗?

可以。该技能在之后连接时同时支持 Twenty Cloud 和自托管实例。

需要先安装命令行工具吗?

需要。该技能使用独立的 Twenty 命令行工具,它通过 npm 安装。

详情

作者的原始描述

Use when the user wants to create or scaffold a new Twenty app

repo: twentyhq/twenty

热度

GitHub 星标
60k
排名
#3168
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能