本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)17k · #10764

frontend-integration-yaml

できること

このスキルは、メニューとそのページの簡単な説明を、有効なFrontendIntegrationファイルに変換するよう、AIエージェントを支援します。KubeSphereでフロントエンド連携を設定し、YAMLを作ってもらいたい人向けです。

使う場面

  • ✓カスタムリソースの表を表示する、一つのメニューのFrontendIntegrationのYAMLが素早くほしいとき。
  • ✓iframeのページを、YAMLでメニューに追加したいとき。
  • ✓簡単なメニューの設定を、完全な正式形式に変換したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-integration-yaml/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Backupという名前のメニューを持つFrontendIntegrationのYAMLを作ってください。そのメニューには、Backupリソースの表を表示してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、名前、メニューの表示名、配置先などの不足している詳細を尋ね、安全な既定値を補います。生成スクリプトを実行して完全なYAMLを作り、その結果を返します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.
よくある質問

どのような詳細が必要ですか?

名前、メニューの表示名、メニューの配置先、少なくとも一つのページが必要です。

不足している値は推測しますか?

いいえ。このスキルは、推測せずに必要な詳細を尋ねるよう述べています。

複数のメニューも扱えますか?

いいえ。このスキルは、一つのメニューと一つ以上のページのために作られています。

詳細

作者による元の説明

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

repo: kubesphere/kubesphere

人気

GitHubのスター
17k
ランキング
#10764
ライセンス
—
更新日
2026/7/14

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル