Draft
Conversation
Co-authored-by: m-howard <5014664+m-howard@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add agent skill for debugging Kubernetes with kubectl
feat: add eks-kubectl-debug agent skill
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a structured agent skill for diagnosing and resolving Kubernetes workload issues on Amazon EKS using
kubectland the AWS CLI.Skill structure (
.agents/skills/eks-kubectl-debug/)SKILL.md— Core skill with a 5-phase debugging workflow (gather context → categorize → diagnose → analyze → remediate). Covers 9 issue categories with targetedkubectlcommands: pod scheduling, crash loops, image pull failures, networking/DNS, node health, RBAC, resource limits, configuration errors, and EKS-specific issues.references/kubectl-commands.md— Quick-reference cheatsheet ofkubectlcommands organized by resource type (pods, deployments, services, nodes, events, secrets, RBAC, networking, quotas).references/eks-specifics.md— EKS-specific debugging guidance covering: managed nodegroups, add-ons (VPC CNI, CoreDNS, kube-proxy, EBS/EFS CSI), IRSA trust policy setup,aws-authConfigMap vs. EKS Access Entries, Cluster Autoscaler/Karpenter, AWS Load Balancer Controller, CloudWatch Container Insights, SSM node access, and Fargate.examples/debug-crashloop.md— End-to-end worked example:CrashLoopBackOffcaused by a missing env var in a newly deployed image, traced via--previouslogs, patched via Kubernetes Secret, with rollback and smoke-test steps.Bug fix:
package.jsonAdded
"passWithNoTests": trueto the Jest config. The husky pre-commit hook runsnpm test, which was exiting with code 1 on an empty test suite — blocking all commits to the repo.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.