Skip to content

Add AGENTS.md and agent skills for trainees' coding agents - #4

Merged
vvcb merged 1 commit into
mainfrom
claude/k8s-tre-training-setup-bxqeoz
Sep 27, 2026
Merged

vvcb merged 1 commit into
mainfrom
claude/k8s-tre-training-setup-bxqeoz

Conversation

@vvcb

@vvcb vvcb commented Sep 26, 2026

Copy link
Copy Markdown

Gives trainees' coding agents (Copilot, Claude Code, Codex, Cursor…) the context to help with the labs: answer questions about the setup, change network policies, create projects, troubleshoot.

What's added

  • AGENTS.md: always-loaded guidance.
    • How KID is wired (GitOps, projects, workspaces, network, guardrails).
    • Environment facts: tools, tre commands, URLs, demo users.
    • A repo map and the validation commands to run before finishing a change.
    • Safety rules: no real data, don't weaken guardrails to make things work, ask before destructive actions.
    • A "teach, don't just solve" stance for lab questions.
  • CLAUDE.md: imports AGENTS.md, because Claude Code reads CLAUDE.md.
  • .agents/skills/: Agent Skills loaded on demand. .claude/skills and .github/skills are symlinks to the same folder, so Claude Code and Copilot find them too.
Skill Covers
kid-lab-guide Lab map, expected results per lab, hints before answers, common mix-ups
kid-network-policy Existing policies, FQDN allow-lists via GitOps or kubectl, policy template, Hubble checks
kid-new-project Project fields and constraints, create/change/retire, Keycloak access
kid-kyverno-policy Kyverno vs Pod Security rejections, repo conventions, offline tests, Audit→Enforce
kid-workspace-config Where each workspace setting lives, invariants, test and rollout
kid-troubleshoot Symptom-based diagnosis and reset options
  • Docs: new page Getting started → Using a coding agent; the README and repo layout mention the new files.

Checks

  • All six skills pass the Agent Skills reference validator (agentskills validate).
  • Every repo path named in AGENTS.md and the skills exists.
  • zensical build passes with no issues.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NVXu5uKZsbbEPGjgYYvAey


Generated by Claude Code

- AGENTS.md: how KID is wired, environment facts, safety rules (no real
  data, don't weaken guardrails, ask before destructive actions), a
  teach-don't-just-solve stance for labs, repo map and validation commands
- CLAUDE.md imports AGENTS.md for Claude Code
- .agents/skills (Agent Skills format, linked as .claude/skills and
  .github/skills): kid-lab-guide, kid-network-policy, kid-new-project,
  kid-kyverno-policy, kid-workspace-config, kid-troubleshoot
- Docs page 'Using a coding agent', README and repo layout updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVXu5uKZsbbEPGjgYYvAey
@vvcb
vvcb merged commit bb2ee85 into main Sep 27, 2026
6 checks passed
@vvcb
vvcb deleted the claude/k8s-tre-training-setup-bxqeoz branch September 27, 2026 16:54
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.

2 participants