frontend-forge-fi-operations
Что он делает
Этот скилл помогает ИИ-агенту управлять ресурсами FrontendIntegration и расширением frontend-forge через kubectl. Он нужен администраторам кластера, которые управляют фронтенд-интеграциями в KubeSphere.
Когда использовать
- ✓Когда у вас есть полный YAML-файл FrontendIntegration и его нужно создать в кластере.
- ✓Когда нужно проверить и исправить результат сборки или статус интеграции.
- ✓Когда расширение frontend-forge нужно установить, включить, отключить или удалить.
Ссылка на скилл
https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fi-operations/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“У меня есть YAML для новой FrontendIntegration. Создай её в кластере и проверь, что сборка завершилась.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент сначала проверяет, что расширение frontend-forge установлено и включено. Затем он применяет YAML интеграции через kubectl, следит за заданием сборки и читает её статус и результат.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
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
Частые вопросы
Может ли агент написать YAML с нуля?
Нет. Скилл предназначен для применения готового полного YAML. Другой скилл помогает создать YAML.
Зачем сначала проверять расширение?
Скилл говорит, что все функции интеграций зависят от установленного и включённого расширения frontend-forge.
Управляет ли он другими расширениями?
Нет. Он работает только с расширением frontend-forge.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 17k
- Место в рейтинге
- #10763
- Лицензия
- —
- Обновлён
- 14.07.2026
Комментарии
- …
Другие скиллы из этого репозитория
frontend-forge-fe-operations
17kПомогает агенту управлять ресурсами FrontendExtension в KubeSphere: сборкой, публикацией и отладкой.
frontend-integration-yaml
17kПомогает агенту создать готовый к отправке YAML FrontendIntegration для одного меню с одной или несколькими страницами.
kubeeye
17kПомогает агенту установить KubeEye, настроить правила и планы проверки кластера, а затем читать отчёты о проверках.
kubesphere-cluster-management
17kПозволяет агенту просматривать списки кластеров KubeSphere, их статус, подробности и версии без внесения каких-либо изменений.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.