Skip to content
Skillpedia
Deploy & cloud (DevOps)17k · #10764

frontend-integration-yaml

What it does

This skill helps an AI agent turn a simple description of a menu and its pages into a valid FrontendIntegration file. It is for people who set up frontend integrations in KubeSphere and want the YAML made for them.

When to use it

  • ✓When you want a quick FrontendIntegration YAML for a single menu with a table of a custom resource.
  • ✓When you need an iframe page added to a menu through YAML.
  • ✓When you have a simple menu setup and want it converted into the full canonical format.

Skill link

https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-integration-yaml/SKILL.md

Copy 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

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-integration-yaml/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you make a FrontendIntegration YAML with one menu called Backups that shows a table of my Backup resources?”

5 new skills a week. 1 minute to read.

How it works

The agent asks for any missing details, such as the name, menu label and resource group, then fills in the safe defaults. It runs a generator script to produce the complete YAML and returns the result.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Frontend Integration YAML

Generate submit-ready FrontendIntegration YAML from a simplified authoring model with one menu and one or more pages.

When to Use

  • generate FrontendIntegration YAML
  • create a quick integration YAML from a CRD
  • create an iframe based FrontendIntegration YAML
  • convert simplified single-menu config into canonical YAML

Do Not Use

  • troubleshooting existing FrontendIntegration resources
  • managing enable/disable/delete lifecycle
  • inspecting JSBundle, Job, controller, or status flows
  • editing manifest generation rules
  • handling multi-menu authoring models

Required Inputs

Ask the user instead of guessing when any of these are missing:

  • metadata.name
  • menu.displayName
  • menu.placements[]
  • at least one page in pages[]
  • for crdTable: group, version, scope, names.plural
  • for iframe: key and iframe.src

Authoring Model

Use the simplified single-menu model as input to the generator:

  • top-level metadata
  • top-level spec for optional passthrough fields
  • top-level menu
  • top-level pages

Do not author canonical spec.menus[] by hand.

Workflow

  1. Extract the simplified authoring model.
  2. Fill only safe defaults.
  3. Keep the model in single-menu form.
  4. Run scripts/generate_frontend_integration.py.
  5. Return the generated canonical YAML.

Rules

  • Treat the generator script as the source of truth.
  • Do not manually reconstruct canonical YAML when the generator is available.
  • Always output canonical kind: FrontendIntegration.
  • Always expand menu.placements[] into spec.menus[].
  • Always derive children from pages[].
  • If any placement is workspace, force all crdTable.scope values to Namespaced.
  • Default menu.icon to GridDuotone when it is omitted.
  • Do not add runtime-managed metadata unless explicitly requested.

Output

  • Return the generated YAML first, unless explanation is requested.
  • Prefer a single yaml code block.
  • After the YAML, always output this exact guidance line: FrontendIntegration YAML has been generated. Reply 'apply' to deploy it directly.
FAQ

What details does the agent need?

It needs the name, the menu display name, where the menu is placed and at least one page.

Does it guess missing values?

No. The skill asks you for required details instead of guessing them.

Does it handle multiple menus?

No. The skill is built for a single menu with one or more pages.

Details

Original description by the author

Generate canonical FrontendIntegration YAML from a simplified single-menu authoring model for frontend-forge.

repo: kubesphere/kubesphere

Popularity

GitHub stars
17k
Ranking position
#10764
License
—
Updated
7/14/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills