Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)17 mil · #10763

frontend-forge-fi-operations

O que ela faz

Esta skill ajuda um agente de IA a operar recursos FrontendIntegration e a extensão frontend-forge com kubectl. É para administradores de cluster que gerenciam integrações de front-end no KubeSphere.

Quando usar

  • ✓Quando você tem um arquivo YAML completo de FrontendIntegration e precisa criá-lo no cluster.
  • ✓Quando a saída de build ou o status de uma integração precisa ser verificado e corrigido.
  • ✓Quando a extensão frontend-forge precisa ser instalada, ativada, desativada ou desinstalada.

Link da skill

https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fi-operations/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fi-operations/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Tenho o YAML de uma nova FrontendIntegration. Você pode criá-la no cluster e verificar se o build termina?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente primeiro confere se a extensão frontend-forge está instalada e ativa. Depois aplica o YAML da integração com kubectl, acompanha o job de build e lê o status e a saída.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Frontend Forge FI Operations

Operate FrontendIntegration resources and the frontend-forge extension with kubectl.

When to Use

  • Create a FrontendIntegration from complete FrontendIntegration YAML
  • 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-forge extension

Do Not Use

  • Generate new FrontendIntegration YAML 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

  • kubectl must be configured for the target cluster.
  • frontend-forge extension installation and enabled state are prerequisites for all FI functionality.
  • frontend-forge-controller exists only after the frontend-forge extension is installed.
  • FrontendIntegration is cluster-scoped. Do not add -n when operating on FI resources.

Read First

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-forge extension exists
  • the frontend-forge InstallPlan exists
  • spec.enabled=true on 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.

  1. Run the preflight checks.
  2. If the user provides YAML content, write it to a temporary file.
  3. Apply the YAML with kubectl apply -f.
  4. 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 FrontendIntegration YAML.
  • Prefer kubectl apply -f for FI creation.
  • Keep FI troubleshooting available after the preflight checks pass.
  • Keep command details in references; keep SKILL.md focused on routing and decision logic.
  • Use extension and installplan resources as the source of truth for extension state.
  • Treat `frontend-forge-cont
Perguntas frequentes

O agente consegue escrever o YAML do zero?

Não. A skill serve para aplicar um YAML completo que você já tem. Outra skill ajuda a gerar o YAML.

Por que verificar a extensão primeiro?

A skill diz que todos os recursos de integração dependem da extensão frontend-forge estar instalada e ativa.

Ela gerencia outras extensões?

Não. Ela gerencia somente a extensão frontend-forge.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
17 mil
Posição no ranking
#10763
Licença
—
Atualizada em
14/07/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas