frontend-forge-fe-operations
What it does
This skill helps an AI agent work with frontend extensions in a KubeSphere cluster through kubectl. It is for cluster operators who create, rebuild, publish or troubleshoot frontend extension packages.
When to use it
- ✓When you need to create or update a frontend extension and generate its package.
- ✓When a frontend extension is stuck in packaging or publishing and you want the cause found.
- ✓When you need to publish, unpublish or remove an extension and check its status.
Skill link
https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fe-operations/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Our frontend extension is stuck in Packaging. Can you check its status and find out why?”
5 new skills a week. 1 minute to read.
How it works
The agent uses kubectl to read the extension's status, conditions, jobs and artifacts in the target cluster. It then follows the lifecycle steps to rebuild, publish or unpublish, and checks the outcome.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Which cluster does the agent work on?
It uses the cluster your kubectl context points to, so you should confirm that context first.
Does this skill create runtime bundles?
No. The skill says packaging and publishing do not create a runtime bundle in the current cluster.
Can it help with other extension types?
No. For FrontendIntegration resources, the skill points you to a separate integration skill.
Details
Original description by the author
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
Popularity
- GitHub stars
- 17k
- Ranking position
- #10762
- License
- —
- Updated
- 7/14/2026
Comments
- …
More skills from this repository
frontend-forge-fi-operations
17kHelps your agent create, update, enable, disable and inspect FrontendIntegration resources and the frontend-forge extension in KubeSphere.
frontend-integration-yaml
17kHelps your agent create ready-to-submit FrontendIntegration YAML for a single menu with one or more pages.
kubeeye
17kHelps your agent install KubeEye and set up cluster inspection rules and plans, then read the inspection reports.
kubesphere-cluster-management
17kLets your agent view KubeSphere cluster lists, status, details and version information without making any changes.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.