deploy-pipeline
Skill này làm gì
Skill này giúp agent AI điều phối một đợt phát hành liên quan đến thanh toán, cơ sở dữ liệu và trang web. Skill dành cho các đội nhóm thường xuyên ra mắt sản phẩm nhiều dịch vụ theo cùng một kiểu.
Khi nào nên dùng
- ✓Khi một đợt ra mắt thay đổi giá sản phẩm, cấu trúc cơ sở dữ liệu và giao diện frontend cùng lúc.
- ✓Khi bạn muốn đưa một bản build xem trước của trang web lên production, kèm bước cơ sở dữ liệu tương ứng.
- ✓Khi đội nhóm của bạn chạy một đợt phát hành định kỳ và muốn các bước giống nhau được thực hiện theo cùng một thứ tự mỗi lần.
Liên kết skill
https://github.com/composio-community/awesome-codex-skills/blob/master/deploy-pipeline/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể chạy đợt phát hành hằng tuần của chúng tôi qua Stripe, Supabase và Vercel, và kiểm tra từng bước trước khi bước tiếp theo bắt đầu không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent liên kết từng dịch vụ qua công cụ Composio và chạy các bước phát hành theo thứ tự. Nó kiểm tra kết quả từng bước, chạy các kiểm tra sau triển khai và có thể đăng thông báo ở cuối.
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.
Deploy Pipeline (Stripe / Supabase / Vercel)
Coordinate staged releases across Stripe, Supabase, and Vercel from the shell using the Composio CLI. One script kicks off the whole "ship it" sequence: product/price updates, DB migrations, frontend deploy, smoke checks, changelog post.
When to Use
- Full-stack product launch that touches billing, database, and frontend together.
- Promoting a preview Vercel build to production with a Stripe price flip and a Supabase migration.
- Weekly release trains where the same sequence repeats and you want it reliable.
Prereqs
curl -fsSL https://composio.dev/install | bash
composio login
composio link stripe
composio link supabase
composio link vercel
composio link slack # for release announcements
Discover Tools
composio search "create price" --toolkits stripe
composio search "apply migration" --toolkits supabase
composio search "create deployment" --toolkits vercel
composio tools list stripe
composio tools list supabase
composio tools list vercel
Common slugs (verify with --get-schema):
Stripe
STRIPE_CREATE_PRODUCTSTRIPE_CREATE_PRICESTRIPE_UPDATE_PRODUCTSTRIPE_LIST_PRICES
Supabase
SUPABASE_LIST_PROJECTSSUPABASE_RUN_SQL_QUERYSUPABASE_LIST_MIGRATIONSSUPABASE_APPLY_MIGRATION
Vercel
VERCEL_CREATE_A_NEW_DEPLOYMENTVERCEL_GET_A_DEPLOYMENT_BY_ID_OR_URLVERCEL_LIST_DEPLOYMENTSVERCEL_PROMOTE_DEPLOYMENT
The Pipeline
The order matters: Stripe → Supabase → Vercel → Verify → Announce. Billing changes before DB, DB before frontend.
1. Stripe: Create or Update the Price
composio execute STRIPE_CREATE_PRICE -d '{
"product":"prod_abc123",
"unit_amount":2900,
"currency":"usd",
"recurring":{"interval":"month"},
"lookup_key":"team-plan-v2"
}'
2. Supabase: Apply Migrations
composio execute SUPABASE_APPLY_MIGRATION -d '{
"project_id":"abcxyz",
"name":"add_team_tier_column",
"query":"alter table teams add column tier text default '\''free'\'';"
}'
Sanity-check the schema after:
composio execute SUPABASE_RUN_SQL_QUERY -d '{
"project_id":"abcxyz",
"query":"select column_name from information_schema.columns where table_name='\''teams'\'' and column_name='\''tier'\'';"
}'
3. Vercel: Deploy + Promote
# Trigger a production deployment from a git ref
composio execute VERCEL_CREATE_A_NEW_DEPLOYMENT -d '{
"name":"web",
"target":"production",
"gitSource":{"type":"github","ref":"main","repoId":123456}
}'
Poll until ready:
composio execute VERCEL_GET_A_DEPLOYMENT_BY_ID_OR_URL -d '{"idOrUrl":"dpl_xxx"}' \
| jq '.readyState'
4. Verify
curl -fsS https://app.acme.com/api/health
composio execute SUPABASE_RUN_SQL_QUERY -d '{
"project_id":"abcxyz","query":"select count(*) from teams where tier is null;"
}'
5. Announce
composio execute SLACK_SEND_MESSAGE -d '{
"channel":"releases",
"text":"✅ Team Plan v2 shipped. Stripe price `team-plan-v2` live, Supabase migration applied, Vercel production promoted."
}'
Pipeline as a Workflow File
scripts/ship.ts, run with composio run --file scripts/ship.ts -- --ref main:
const ref = process.argv[process.argv.indexOf("--ref") + 1] ?? "main";
// 1. Stripe
const price = await execute("STRIPE_CREATE_PRICE", {
product: "prod_abc123", unit_amount: 2900, currency: "usd",
recurring: { interval: "month" }, lookup_key: "team-plan-v2"
});
// 2. Supabase
await execute("SUPABASE_APPLY_MIGRATION", {
project_id: "abcxyz",
name: "add_team_tier_column",
query: "alter table teams add column tier text default 'free';"
});
// 3. Vercel
const dep = await execute("VERCEL_CREATE_A_NEW_DEPLOYMENT", {
name: "web", target: "production",
gitSource: { type: "github", ref, repoId: 123456 }
});
// 4. Wait for ready
let state = "QUEUED";
while (state !== "READY" && state !== "ERROR") {
await new Promise(r => setTimeout(r, 4000));
const d = await execute("VERCEL_GET_A_DEPLOYMENT_BY_ID_OR_URL", { idOrUrl: dep.id });
state = d.readyState;
}
if (state !== "READY") throw new Error("Vercel deploy failed");
// 5. Announce
await execute("SLACK_SEND_MESSAGE", {
channel: "releases",
text: `✅ Shipped ${ref}. Stripe price ${price.id}, Vercel ${dep.url}.`
});
Rollback Plan
If verification fails, undo in reverse order:
- Vercel: `VERCEL_PROMOTE_DEPLOYMENT
Câu hỏi thường gặp
Đường ống này dùng những dịch vụ nào?
Nó dùng Stripe cho sản phẩm và giá, Supabase cho di chuyển cơ sở dữ liệu, Vercel cho triển khai và Slack cho thông báo.
Agent có kiểm tra từng bước không?
Có. Skill bao gồm các kiểm tra sau triển khai để xác nhận từng giai đoạn đã thành công.
Tôi có cần liên kết các dịch vụ trước không?
Có. Bạn đăng nhập và liên kết Stripe, Supabase, Vercel và Slack một lần trước khi đường ống có thể chạy.
Chi tiết
Mô tả gốc của tác giả
Run end-to-end deploy pipelines across Stripe, Supabase, and Vercel using the Composio CLI. Promote Stripe products, push Supabase migrations, ship Vercel deployments, and verify with post-deploy checks — all from one script.
Độ phổ biến
- Sao GitHub
- 17k
- Vị trí xếp hạng
- #10751
- Giấy phép
- —
- Cập nhật
- 25/7/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-deep-links
17kGiúp agent của bạn tạo liên kết có thể nhấp để mở trực tiếp một chuỗi, file, thư mục hoặc cài đặt trong ứng dụng như Codex hoặc Cursor.
brand-guidelines
17kGiúp agent của bạn định dạng sản phẩm với màu sắc và phông chữ theo phong cách OpenAI, để khớp với giao diện của Codex.
codebase-migrate
17kGiúp agent của bạn lập kế hoạch và chạy các đợt di chuyển mã lớn qua hàng trăm file, như nâng cấp framework hoặc đổi tên API.
connect-apps
17kCho phép agent của bạn thực hiện hành động thật trong các ứng dụng như Gmail, Slack và GitHub, chẳng hạn gửi email hoặc tạo issue.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.