frontend-forge-fe-operations
하는 일
이 스킬은 AI 에이전트가 kubectl을 통해 KubeSphere 클러스터의 프런트엔드 확장 기능을 다루도록 돕습니다. 프런트엔드 확장 패키지를 만들고, 다시 빌드하고, 게시하거나 문제를 해결하는 클러스터 운영자를 위한 스킬입니다.
사용하는 경우
- ✓프런트엔드 확장 기능을 만들거나 업데이트하고 패키지를 생성해야 할 때.
- ✓프런트엔드 확장 기능이 패키징이나 게시 단계에서 멈춰 있고 원인을 찾고 싶은 경우.
- ✓확장 기능을 게시, 게시 취소, 삭제하고 그 상태를 확인해야 할 때.
스킬 링크
https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fe-operations/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“프런트엔드 확장 기능이 Packaging 상태에서 멈춰 있습니다. 상태를 확인하고 원인을 찾아 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 kubectl로 대상 클러스터에서 확장 기능의 상태, 조건, 작업, 산출물을 읽습니다. 그다음 수명 주기 단계에 따라 다시 빌드하거나 게시하거나 게시를 취소하고, 결과를 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Frontend Forge FE Operations
When to use
Use this skill for operational work around FrontendExtension resources:
- Create or update an FE manifest
- Trigger or inspect package generation
- Force a rebuild with the rebuild-token annotation
- Download the generated package artifact
- Publish, unpublish, or delete an extension
- Inspect FE status, conditions, labels, Jobs, artifact ConfigMaps, and publish targets
- Debug FE package phases such as
Packaging,Ready, andFailed, plus publish/unpublish phases such asPending,Running,Succeeded, andFailed
If the task is about FrontendIntegration runtime JSBundle creation, use the FI operations skill instead. FE package/publish does not create a runtime JSBundle in the current cluster.
Quick Entry
- Create or update FE -> read
references/lifecycle.md - Rebuild package -> read
references/lifecycle.md - Publish, unpublish, delete-with-unpublish, list through API, or download -> read
references/api.md - Inspect package Job, artifact ConfigMap, publish Job, labels, or conditions -> read
references/inspection.md - Debug stuck or failed state -> read
references/inspection.md, then check controller logs
Preconditions
- The current Kubernetes context is pointed at the target cluster.
- The FE CRD exists:
frontendextensions.frontend-forge.kubesphere.io. - The FE controller is installed, usually as the
extension-controllercomponent. - The FE API is installed when using download, publish, unpublish, or delete-with-unpublish HTTP operations.
- The build service configured by
BUILD_SERVICE_BASE_URLis reachable from package Jobs. - Publish target data exists when publishing, normally
ConfigMap/ksbuilder-publish-configinextension-frontend-forge.
Source of truth
Prefer live cluster state for operations and repo docs for expected behavior:
kubectl get fe <name> -o yamlkubectl get jobs -n <work-namespace> -l frontend-forge.kubesphere.io/fe-name=<name>spec/frontend-extension-design.mdspec/crds.mdspec/k8s-resources.mdconfig/samples/frontendextension-inspecttask.yamlcrates/api/src/fe.rscrates/frontend-extension-controllercrates/frontend-forge-extension-api
Resource Model
FrontendExtension- cluster-scoped
- short name:
fe - source object for package, artifact, download, publish, and unpublish state
- Package Job
- namespaced
- default namespace:
extension-frontend-forge - typical name:
fe-<fe-name>-package-<artifact-key-12>-a<attempt>
- Artifact ConfigMap
- namespaced
- default namespace:
extension-frontend-forge - referenced by
status.artifact.storage.ref - contains
binaryData["package.tgz"],data["artifact.json"], anddata["files.json"]
- Publish or unpublish Job
- namespaced
- default namespace:
extension-frontend-forge - typical names:
fe-<fe-name>-publish-<request-id-hash-short>fe-<fe-name>-unpublish-<request-id-hash-short>
- Publish target
ConfigMaporSecret- default chart target is usually
ConfigMap/ksbuilder-publish-configin the release namespace
Default names and namespaces can change through Helm values and controller environment variables. Use FE status, Job labels, and controller deployment env vars before assuming defaults.
Common Commands
Inspect FE:
kubectl get fe <name> -o yaml
kubectl get fe <name> -o jsonpath='{.status}{"\n"}'
kubectl get fe <name> -o jsonpath='{.status.phase}{" "}{.status.publish.phase}{" "}{.status.unpublish.phase}{"\n"}'
kubectl get fe -l frontend-forge.kubesphere.io/package-state=ready
kubectl get fe -l frontend-forge.kubesphere.io/publish-state=published
Create or update:
kubectl apply -f <file.yaml>
kubectl apply -f config/samples/frontendextension-inspecttask.yaml
Find package Job and logs:
kubectl get fe <name> -o jsonpath='{.status.packageJob.namespace}{" "}{.status.packageJob.name}{"\n"}'
kubectl -n <job-namespace> get job <job-name> -o yaml
kubectl -n <job-namespace> logs job/<job-name>
Find artifact ConfigMap:
kubectl get fe <name> -o jsonpath='{.status.artifact.storage.ref.namespace}{" "}{.status.artifact.storage.ref.name}{" "}{.status.artifact.storage.key}{"\n"}'
kubectl -n <artifact-namespace> get cm <artifact-configmap-name> -o yaml
Force a rebuild:
kubectl annotate fe <name> frontend-forge.kubesphere.io/rebuild-token="$(date +%s)" --overwrite
Inspect publish or unpublish J
자주 묻는 질문
에이전트는 어느 클러스터에서 작업하나요?
kubectl 컨텍스트가 가리키는 클러스터를 사용하므로, 먼저 그 컨텍스트를 확인해야 합니다.
이 스킬이 런타임 번들을 만드나요?
아니요. 스킬에 따르면 패키징과 게시는 현재 클러스터에 런타임 번들을 만들지 않습니다.
다른 확장 기능 유형도 도울 수 있나요?
아니요. FrontendIntegration 리소스는 별도의 통합 스킬을 참고하도록 안내합니다.
상세 정보
작성자의 원본 설명
Operate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download packages, publish, unpublish, delete, and debug package/publish controller behavior. Use this skill whenever the user mentions FE operations, FrontendExtension lifecycle, extension package/download/publish/unpublish, artifact ConfigMaps, package Jobs, publisher Jobs, publish target ConfigMaps or Secrets, rebuild-token, package-state/publish-state labels, or troubleshooting FE status in a Kubernetes cluster.
repo: kubesphere/kubesphere
인기도
- GitHub 스타
- 17k
- 순위
- #10762
- 라이선스
- —
- 업데이트
- 2026. 7. 14.
댓글
- …
이 저장소의 다른 스킬
frontend-forge-fi-operations
17k에이전트가 KubeSphere의 FrontendIntegration 리소스와 frontend-forge 확장 기능을 만들고 관리하도록 돕습니다.
frontend-integration-yaml
17k에이전트가 메뉴 하나와 하나 이상의 페이지로 구성된, 바로 제출할 수 있는 FrontendIntegration YAML을 만들도록 돕습니다.
kubeeye
17k에이전트가 KubeEye를 설치하고, 클러스터 점검 규칙과 계획을 설정한 뒤 점검 보고서를 읽도록 돕습니다.
kubesphere-cluster-management
17k에이전트가 아무것도 바꾸지 않고 KubeSphere 클러스터 목록, 상태, 세부 정보, 버전 정보를 보도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.