Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)60k · #3170

manage-app

Skill này làm gì

Skill này giúp agent chạy và bảo trì một app Twenty hiện có, gồm đồng bộ thay đổi, triển khai bản build, đọc log và sửa các bước thất bại. Nó dành cho lập trình viên chạy app trên một instance Twenty.

Khi nào nên dùng

  • ✓Khi bạn muốn đồng bộ các thay đổi mới nhất của app lên máy chủ Twenty.
  • ✓Khi một lần triển khai, đồng bộ hoặc build app Twenty thất bại và cần được chẩn đoán.
  • ✓Khi bạn muốn kiểm tra log của một hàm logic trong app.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/manage-app/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Đồng bộ app Twenty của tôi thất bại với lỗi build. Tìm xem chuyện gì đã xảy ra và sửa nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill kiểm tra các công cụ, remote và cài đặt build của app, rồi chạy các bước đồng bộ, triển khai hoặc log mà bạn yêu cầu. Nó giúp tìm và sửa các vấn đề khiến app không chạy được.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

When To Use

Pick this skill when the user wants to operate, troubleshoot, or ship an existing Twenty app — anything between "I have an app" and "it runs in production". Representative triggers:

  • "sync my app changes to the server"
  • "deploy my Twenty app to production"
  • "check the logs for my logic function"
  • "switch to a different Twenty remote / instance"
  • "add a new remote for staging"
  • "set up CI/CD for my Twenty app"
  • "troubleshoot a failed deploy / sync / build"
  • "uninstall my app from production"
  • "run tests for my Twenty app"
  • "run my logic function manually for testing"

Do not use this skill to scaffold (use create-app), to change app entities or code (use develop-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 when the app does not exist.

Do not add or modify app entities here. Use $develop-app for objects, fields, logic functions, roles, views, navigation, page layouts, skills, agents, connection providers, front component registration, and settings menu items.

Do not prepare marketplace README, screenshots, logos, or npm listing copy here. Use $publish-app for public listing work.

Do not retrieve CRM records here. Use $use-twenty-mcp for workspace data retrieval.

Operating Rules

First confirm the current directory is a Twenty app:

test -f package.json
test -f src/application-config.ts

Inspect current app and scripts before running operational commands:

sed -n '1,220p' package.json
twenty remote list

Treat deploys, uninstalls, production remote changes, and production syncs as externally visible actions. Ask for explicit confirmation before running them when the target is production or user data could be affected.

For command details, remotes, validation command semantics, sync modes, troubleshooting, build, deploy, logs, exec, and CI/CD, read ../../references/manage-app/cli-and-sync.md.

If the user asks to run tests, also read ../../references/develop-app/tests.md before running any test command. Full test suites include integration tests that install and uninstall the app on their target server, so start or verify the isolated test instance and run:

twenty local start --test
TWENTY_API_URL=http://localhost:2021 yarn test

Do not run integration tests against the dev instance on http://localhost:2020 unless the user explicitly asks for that target. If the user asks for unit tests only, use the package's unit-test script and no TWENTY_API_URL override is needed.

Remotes

A remote is a Twenty server that the app can sync or deploy to. Credentials are managed by the standalone CLI. Use twenty auth login and twenty remote list.

Common commands:

# Add a remote interactively.
twenty auth login

# Connect to a local Twenty server.
twenty auth login --url http://localhost:2020

# Add a remote non-interactively.
printf '%s' "$TWENTY_API_KEY" | twenty auth login --with-token --url https://your-twenty-server.com --name production

# List configured remotes.
twenty remote list

# Switch the active remote.
twenty remote use <name>

When the user says "prod", "production", or "workspace de prod", identify the target remote before syncing or deploying. If it is missing, add it with --as production or the user-provided name.

Development Sync

Always use bounded apply to synchronize app changes with the active remote:

twenty app apply

Do not use bare twenty app dev (watch mode). Run twenty app apply each time changes need to be synced.

Bounded apply requires an authenticated remote. If authentication fails, re-add or switch the remote before retrying.

Troubleshooting

Start by identifying which layer is failing:

  • Remote/authentication.
  • Dev sync or bounded apply.
  • Build/package generation.
  • Deploy/upload/install.
  • Runtime function execution.
  • CI/CD environment or secrets.

Collect the minimum useful context before changing configuration:

sed -n '1,220p' package.json
sed -n '1,220p' src/application-config.ts
twenty remote list
twent
Câu hỏi thường gặp

Nó có triển khai lên môi trường thật không?

Có, nó có thể triển khai app lên một instance Twenty, kể cả môi trường production, khi bạn yêu cầu.

Nó có giúp thiết lập build tự động không?

Có, skill bao gồm thiết lập CI và CD cho app Twenty.

Nó có thay đổi tính năng của app không?

Không, việc thay đổi entity và code do skill develop-app xử lý.

Chi tiết

Mô tả gốc của tác giả

Use when the user wants to manage or troubleshoot tooling, remotes, sync, build, deploy, logs, CI/CD, or operational workflows for an existing Twenty app.

repo: twentyhq/twenty

Độ phổ biến

Sao GitHub
60k
Vị trí xếp hạng
#3170
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự