Skip to content

✨ Add KubeStellar Console agent#1514

Open
clubanderson wants to merge 3 commits intogithub:stagedfrom
clubanderson:add-kubestellar-console
Open

✨ Add KubeStellar Console agent#1514
clubanderson wants to merge 3 commits intogithub:stagedfrom
clubanderson:add-kubestellar-console

Conversation

@clubanderson
Copy link
Copy Markdown

Add KubeStellar Console Agent

Adds a Copilot agent for KubeStellar Console, a multi-cluster Kubernetes dashboard with AI-powered operations.

Agent Overview

The KubeStellar Console Expert agent helps developers working on KubeStellar Console by providing domain-specific guidance on:

  • Card development patternsuseCache/useCached* hooks, isDemoData/isRefreshing wiring, loading state management
  • Array safety — guarding against undefined before .map()/.filter()/.join()
  • Go backend — Fiber v2 handler patterns, multi-cluster goroutine patterns, demo mode checks
  • Styling — Tailwind CSS with semantic color tokens, cn() utility
  • i18n — all user-facing strings through react-i18next
  • CNCF integrations — Argo CD, Kyverno, Istio, and 20+ more

About the Project

  • License: Apache-2.0
  • CNCF: Part of the KubeStellar CNCF Sandbox project
  • Tech: Go backend (Fiber v2), React/TypeScript frontend (Tailwind CSS)
  • MCP: Includes kc-agent MCP server for bridging kubeconfig to LLMs
  • Website: https://console.kubestellar.io

Copilot AI review requested due to automatic review settings April 26, 2026 11:48
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This PR targets main, but PRs should target staged.

The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.

You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1514 --base staged

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new custom Copilot agent definition for the KubeStellar Console project, expanding this repo’s catalog of reusable, domain-specific agents.

Changes:

  • Added KubeStellar Console Expert agent with front matter (description/model/tools/name).
  • Included guidance covering card patterns, caching hooks, Go/Fiber handler conventions, Tailwind theming, and i18n practices.

Comment on lines +1 to +6
---
description: "Multi-cluster Kubernetes dashboard development expert specializing in KubeStellar Console patterns including card development, cache hooks, Go backend, and CNCF project integrations"
model: "gpt-5"
tools: ["codebase", "terminalCommand", "fetch"]
name: "KubeStellar Console Expert"
---
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New agent file was added under agents/, but it is not listed in docs/README.agents.md. Please add an entry (including the install links, consistent with the other rows) so the agent is discoverable and follows the repo’s documentation requirements for new files.

Copilot generated this review using guidance from repository custom instructions.
@clubanderson clubanderson changed the base branch from main to staged April 26, 2026 12:07
@clubanderson clubanderson requested a review from dvelton as a code owner April 26, 2026 12:07
Copy link
Copy Markdown
Author

@clubanderson clubanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed both review items:

  1. Retargeted PR to staged branch (was main)
  2. Added entry to docs/README.agents.md with VS Code and VS Code Insiders install links, placed alphabetically between Kotlin MCP and Kusto Assistant

Thanks for the review!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 26, 2026

🔍 Skill Validator Results

⛔ Findings need attention

Scope Checked
Skills 1
Agents 1
Total 2
Severity Count
--- ---:
❌ Errors 2
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
[agent:KubeStellar Console Expert] Agent name 'KubeStellar Console Expert' does not match filename 'kubestellar-console.agent.md' (expected 'KubeStellar Console Expert.agent.md').
[agent:KubeStellar Console Expert] Agent name 'KubeStellar Console Expert' contains invalid characters — must be lowercase alphanumeric and hyphens only.
Full validator output ```text Found 1 agent(s) ❌ [agent:KubeStellar Console Expert] Agent name 'KubeStellar Console Expert' does not match filename 'kubestellar-console.agent.md' (expected 'KubeStellar Console Expert.agent.md'). ❌ [agent:KubeStellar Console Expert] Agent name 'KubeStellar Console Expert' contains invalid characters — must be lowercase alphanumeric and hyphens only. Validated 1 agent(s)

{Ansi.Red}Agent spec conformance failures — fix the errors above.{Ansi.Reset}

</details>
> **Note:** The validator returned a non-zero exit code. Please review the findings above before merge.

Copy link
Copy Markdown
Contributor

@aaronpowell aaronpowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you've incorrectly branched from the main branch not staged, and as a result all the materialised plugins are included in this PR.

You can attempt to fix this with a rebase:

git fetch origin staged
git rebase --onto origin/staged origin/main <branch name>
git push --force-with-lease

If that does not resolve it, you can run npm run plugin:clean which will delete the materialised plugins and you can commit that change.

clubanderson and others added 2 commits April 28, 2026 02:11
Adds a Copilot agent for KubeStellar Console, a multi-cluster
Kubernetes dashboard with AI-powered operations. Covers card
development patterns, cache hooks, Go backend conventions, and
CNCF project integrations (Argo CD, Kyverno, Istio, etc.).

Apache-2.0 licensed, CNCF Sandbox project.
https://github.com/kubestellar/console

Signed-off-by: clubanderson <clubanderson@users.noreply.github.com>
Add entry with install links to docs/README.agents.md per review feedback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: clubanderson <clubanderson@users.noreply.github.com>
@clubanderson clubanderson force-pushed the add-kubestellar-console branch from 39eb95c to 2dd8dcf Compare April 28, 2026 02:11
@clubanderson
Copy link
Copy Markdown
Author

Fixed! Rebased add-kubestellar-console onto upstream/staged using git rebase --onto upstream/staged 63d08d5. The PR now only contains our 2 files:

  • agents/kubestellar-console.agent.md
  • docs/README.agents.md

The extra 28 files from the chore: publish from staged commit have been removed.

@aaronpowell
Copy link
Copy Markdown
Contributor

I'm a little confused on this agent, is it for people who are leveraging KubeStellar Console in the k8 projects they are working on, or for people contributing to KubeStellar Console? If it's the latter, I'm not sure the value of it being in the awesome copilot repo over the kubestellar/console repo, since it's a very narrow domain and not generally applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants