frontend-forge-fi-operations
Skill này làm gì
Skill này giúp agent AI vận hành các tài nguyên FrontendIntegration và mở rộng frontend-forge bằng kubectl. Skill dành cho quản trị viên cụm quản lý các tích hợp frontend trong KubeSphere.
Khi nào nên dùng
- ✓Khi bạn đã có một file YAML FrontendIntegration đầy đủ và cần tạo nó trong cụm.
- ✓Khi đầu ra build hoặc trạng thái của một tích hợp cần được kiểm tra và sửa.
- ✓Khi mở rộng frontend-forge cần được cài đặt, bật, tắt hoặc gỡ cài đặt.
Liên kết skill
https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fi-operations/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
“Tôi đã có YAML cho một FrontendIntegration mới. Bạn có thể tạo nó trong cụm và kiểm tra xem bản build có hoàn tất không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent trước hết kiểm tra mở rộng frontend-forge đã được cài và bật chưa. Sau đó nó áp dụng file YAML tích hợp bằng kubectl, theo dõi job build và đọc trạng thái cùng đầu ra của nó.
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.
Frontend Forge FI Operations
Operate FrontendIntegration resources and the frontend-forge extension with kubectl.
When to Use
- Create a
FrontendIntegrationfrom completeFrontendIntegrationYAML - Update, enable, disable, or delete an existing FI
- Inspect FI status, build jobs,
JSBundle, ConfigMap, manifest, or source-spec annotations - Troubleshoot FI reconciliation or build output
- Create, enable, disable, uninstall, or inspect the
frontend-forgeextension
Do Not Use
- Generate new
FrontendIntegrationYAML from natural language - Manage extensions other than
frontend-forge - Assume FI operations are valid before checking extension state
- Use patch as the creation path for a new FI when the user already has YAML
Preconditions
kubectlmust be configured for the target cluster.frontend-forgeextension installation and enabled state are prerequisites for all FI functionality.frontend-forge-controllerexists only after thefrontend-forgeextension is installed.FrontendIntegrationis cluster-scoped. Do not add-nwhen operating on FI resources.
Read First
- Read references/extension-management.md before any FI operation.
- Read references/lifecycle.md for FI create, update, enable, disable, and delete workflows.
- Read references/inspection.md for FI inspection and troubleshooting.
Preflight
Always run these checks before any FI create, update, enable, disable, delete, inspect, or troubleshoot flow:
kubectl get extension frontend-forge
kubectl get installplan frontend-forge -o yaml
Only continue to FI operations when:
- the
frontend-forgeextension exists - the
frontend-forgeInstallPlan exists spec.enabled=trueon the InstallPlan
If the extension is missing or disabled, switch to the extension management workflow first.
FI Operations
Create FI From YAML
Only create FI from complete FrontendIntegration YAML content or a YAML file path.
- Run the preflight checks.
- If the user provides YAML content, write it to a temporary file.
- Apply the YAML with
kubectl apply -f. - Inspect the result.
See references/lifecycle.md for the exact create and post-apply inspection commands.
Update Existing FI
- Prefer editing YAML and re-applying it.
- Use patch only for targeted lifecycle changes when the user explicitly wants patch semantics.
See references/lifecycle.md for the exact update, enable, disable, and delete commands.
Disable FI
Disable an existing FI by patching spec.enabled=false.
See references/lifecycle.md for the exact disable command and post-check flow.
Enable FI
Enable an existing FI by patching spec.enabled=true.
See references/lifecycle.md for the exact enable command and post-check flow.
Delete FI
Delete the FI resource only after the preflight checks pass.
See references/lifecycle.md for the exact delete command.
Extension Management
Use fixed resource names for frontend-forge:
- extension:
frontend-forge - InstallPlan:
frontend-forge
Create Extension
Ask the user for the frontend-forge extension version. If it is not provided, resolve the latest version first.
See references/extension-management.md for the exact version lookup command and InstallPlan YAML.
Disable Extension
Patch installplan/frontend-forge so spec.enabled=false.
Enable Extension
Patch installplan/frontend-forge so spec.enabled=true.
Uninstall Extension
Delete installplan/frontend-forge.
Inspect Extension State
Inspect extension/frontend-forge and installplan/frontend-forge.
See references/extension-management.md for the exact create, enable, disable, uninstall, and inspect commands.
Rules
- Treat extension readiness as the first gate for all FI operations.
- Create new FI resources only from
FrontendIntegrationYAML. - Prefer
kubectl apply -ffor FI creation. - Keep FI troubleshooting available after the preflight checks pass.
- Keep command details in references; keep
SKILL.mdfocused on routing and decision logic. - Use
extensionandinstallplanresources as the source of truth for extension state. - Treat `frontend-forge-cont
Câu hỏi thường gặp
Agent có thể tự viết YAML từ đầu không?
Không. Skill dùng để áp dụng YAML hoàn chỉnh bạn đã có. Một skill khác giúp sinh YAML.
Vì sao phải kiểm tra mở rộng trước?
Skill nói mọi tính năng tích hợp đều phụ thuộc vào việc mở rộng frontend-forge đã được cài và bật.
Nó có quản lý các mở rộng khác không?
Không. Nó chỉ quản lý mở rộng frontend-forge.
Chi tiết
Mô tả gốc của tác giả
Operate FrontendIntegration resources and the frontend-forge extension. Use when Codex needs to create a FrontendIntegration from FrontendIntegration YAML, update or patch FI lifecycle state, inspect or troubleshoot FI build output, or create, enable, disable, uninstall, and inspect the frontend-forge extension through its InstallPlan and extension resources.
repo: kubesphere/kubesphere
Độ phổ biến
- Sao GitHub
- 17k
- Vị trí xếp hạng
- #10763
- Giấy phép
- —
- Cập nhật
- 14/7/2026
Bình luận
- …
Thêm skill từ kho mã này
frontend-forge-fe-operations
17kGiúp agent của bạn quản lý tài nguyên FrontendExtension trong KubeSphere, gồm xây dựng, xuất bản và gỡ lỗi chúng.
frontend-integration-yaml
17kGiúp agent của bạn tạo file YAML FrontendIntegration sẵn sàng để gửi đi cho một menu với một hoặc nhiều trang.
kubeeye
17kGiúp agent của bạn cài đặt KubeEye và thiết lập quy tắc cùng kế hoạch kiểm tra cụm, sau đó đọc các báo cáo kiểm tra.
kubesphere-cluster-management
17kCho phép agent của bạn xem danh sách cụm KubeSphere, trạng thái, chi tiết và thông tin phiên bản mà không thực hiện bất kỳ thay đổi nào.
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.