Skip to content

🐛 Fix skill directory structure for Claude Code compatibility#9

Merged
clubanderson merged 1 commit intomainfrom
fix/skill-directory-structure
Feb 11, 2026
Merged

🐛 Fix skill directory structure for Claude Code compatibility#9
clubanderson merged 1 commit intomainfrom
fix/skill-directory-structure

Conversation

@clubanderson
Copy link
Copy Markdown
Contributor

Summary

  • Migrated from legacy commands/<name>.md to skills/<name>/SKILL.md format required by Claude Code
  • Fixed allowed-tools patterns from old mcp__plugin_kubectl-claude_kubectl-claude__* to correct mcp__plugin_kubestellar-ops_kubestellar-ops__* and mcp__plugin_kubestellar-deploy_kubestellar-deploy__*
  • Added proper YAML frontmatter (name, description, allowed-tools) to all kubestellar-deploy skills which were previously missing it
  • Updated README to reflect new plugin names, skill structure, and correct tool permission patterns

Fixes #8

Test plan

  • Verify skills appear in Claude Code / menu when plugin is installed
  • Verify /k8s-health and other ops skills invoke correctly with MCP tools
  • Verify /app-status and other deploy skills invoke correctly with MCP tools
  • Verify allowed-tools patterns match actual MCP tool names

🤖 Generated with Claude Code

Migrate from legacy `commands/<name>.md` structure to the current
`skills/<name>/SKILL.md` format required by Claude Code. Also fix
`allowed-tools` patterns to use correct plugin names (kubestellar-ops
and kubestellar-deploy) instead of the old kubectl-claude reference,
and add proper YAML frontmatter to kubestellar-deploy skills.

Fixes: #8

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Andrew Anderson <[email protected]>
Copilot AI review requested due to automatic review settings February 11, 2026 20:42
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Feb 11, 2026
@kubestellar-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@clubanderson clubanderson merged commit 49a7d75 into main Feb 11, 2026
7 checks passed
@github-actions
Copy link
Copy Markdown

Welcome to KubeStellar! 🚀 Thank you for submitting this Pull Request.

Before your PR can be merged, please ensure:

DCO Sign-off - All commits must be signed off with git commit -s to certify the Developer Certificate of Origin

PR Title - Must start with an emoji: ✨ (feature), 🐛 (bug fix), 📖 (docs), 🌱 (infra/tests), ⚠️ (breaking change)

Getting Started with KubeStellar:

Contributor Resources:


🌟 Help KubeStellar Grow - We Need Adopters!

Our roadmap is driven entirely by adopter feedback. Whether you're using KubeStellar yourself or know someone who could benefit from multi-cluster Kubernetes:

📋 Take our Multi-Cluster Survey - Share your use cases and help shape our direction!


A maintainer will review your PR soon. Feel free to ask questions in the comments or on Slack!

@kubestellar-prow kubestellar-prow Bot deleted the fix/skill-directory-structure branch February 11, 2026 20:42
@kubestellar-prow kubestellar-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 11, 2026
@github-actions
Copy link
Copy Markdown

🎉 Thank you for your contribution! Your PR has been successfully merged.


🌟 Help KubeStellar Grow - We Need Adopters!

Our roadmap is driven entirely by adopter feedback - nothing else. Whether you're using KubeStellar yourself or know organizations that could benefit from multi-cluster Kubernetes, we need your help:

📋 Take our Multi-Cluster Survey - Share your use cases and help shape our direction!

🗣️ Spread the word - Tell colleagues, write blog posts, present at meetups

💬 Share feedback on Slack #kubestellar-dev

Every adopter story helps us prioritize what matters most. Thank you for being part of the KubeStellar community!

Copy link
Copy Markdown

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

Migrates this marketplace repo to Claude Code’s newer skill layout so the plugins’ slash-invoked skills are discoverable and the MCP tool permission patterns match the actual plugin/server names.

Changes:

  • Standardized skills to plugins/<plugin>/skills/<skill>/SKILL.md with YAML frontmatter (name, description, allowed-tools)
  • Updated allowed-tools from legacy kubectl-claude patterns to kubestellar-ops / kubestellar-deploy
  • Removed legacy commands/*.md for kubestellar-deploy and updated the root README.md accordingly

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
plugins/kubestellar-ops/skills/k8s-upgrade/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-upgrade-check/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-security/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-rbac/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-ownership/SKILL.md Adds name frontmatter and updates allowed-tools to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-issues/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-health/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-audit-kubeconfig/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-ops/skills/k8s-analyze/SKILL.md Adds name frontmatter and updates allowed-tools/tool wording to kubestellar-ops.
plugins/kubestellar-deploy/skills/gitops-sync/SKILL.md Converts legacy markdown command content into SKILL format with frontmatter and tool constraints.
plugins/kubestellar-deploy/skills/gitops-drift/SKILL.md Adds new SKILL file (frontmatter + task flow) for drift detection.
plugins/kubestellar-deploy/skills/deploy/SKILL.md Converts legacy markdown command content into SKILL format with frontmatter and tool constraints.
plugins/kubestellar-deploy/skills/app-status/SKILL.md Adds new SKILL file (frontmatter + task flow) for app status.
plugins/kubestellar-deploy/skills/app-logs/SKILL.md Adds new SKILL file (frontmatter + task flow) for app logs.
plugins/kubestellar-deploy/commands/gitops-drift.md Removes legacy commands/ format file (replaced by skills/ structure).
plugins/kubestellar-deploy/commands/app-status.md Removes legacy commands/ format file (replaced by skills/ structure).
plugins/kubestellar-deploy/commands/app-logs.md Removes legacy commands/ format file (replaced by skills/ structure).
README.md Updates installation/docs to new plugin names, skill structure, and allowed-tools patterns.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

dco-signoff: yes Indicates the PR's author has signed the DCO. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill directory structure is broken

2 participants