frontend-forge-fe-operations
यह क्या करती है
यह स्किल AI एजेंट को kubectl के ज़रिए KubeSphere क्लस्टर में frontend extensions के साथ काम करने में मदद करती है। यह उन क्लस्टर ऑपरेटरों के लिए है जो frontend extension पैकेज बनाते, फिर से बनाते, प्रकाशित करते या उनकी समस्याएँ सुलझाते हैं।
कब इस्तेमाल करें
- ✓जब आपको frontend extension बनाना या अपडेट करना हो और उसका पैकेज तैयार करवाना हो।
- ✓जब कोई frontend extension पैकेजिंग या प्रकाशन में अटका हो और आप उसका कारण ढूँढना चाहते हों।
- ✓जब आपको किसी extension को प्रकाशित, अप्रकाशित या हटाना हो और उसकी स्थिति जाँचनी हो।
Skill का लिंक
https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fe-operations/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारा frontend extension Packaging में अटका है। क्या आप उसकी स्थिति जाँचकर पता लगा सकते हैं कि ऐसा क्यों है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट लक्ष्य क्लस्टर में kubectl से extension की स्थिति, conditions, jobs और artifacts पढ़ता है। फिर वह जीवनचक्र के चरणों के अनुसार rebuild, publish या unpublish करता है और नतीजे की जाँच करता है।
तकनीकी सामग्री (मूल 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 context इशारा करता है, इसलिए पहले उस context की पुष्टि करें।
क्या यह स्किल runtime bundles बनाती है?
नहीं। स्किल कहती है कि packaging और publishing मौजूदा क्लस्टर में runtime bundle नहीं बनाते।
क्या यह दूसरे extension प्रकारों में मदद कर सकती है?
नहीं। FrontendIntegration संसाधनों के लिए स्किल आपको एक अलग integration स्किल की ओर भेजती है।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 14/7/2026
कमेंट
- …
इस repository की और skills
frontend-forge-fi-operations
17kआपके एजेंट को KubeSphere में FrontendIntegration संसाधन और frontend-forge extension बनाने, अपडेट करने, चालू या बंद करने और जाँचने में मदद करती है।
frontend-integration-yaml
17kआपके एजेंट को एक मेनू और उसके एक या अधिक पेजों के लिए सबमिट करने योग्य FrontendIntegration YAML बनाने में मदद करती है।
kubeeye
17kआपके एजेंट को KubeEye इंस्टॉल करने, क्लस्टर निरीक्षण नियम और योजनाएँ सेट करने, और फिर निरीक्षण रिपोर्ट पढ़ने में मदद करती है।
kubesphere-cluster-management
17kआपके एजेंट को बिना कोई बदलाव किए KubeSphere क्लस्टर की सूचियाँ, स्थिति, विवरण और संस्करण जानकारी दिखाने देती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।