From 3f25c7e4fe735740ee72147a2f88b87139b71815 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 8 Feb 2026 19:25:29 +0000 Subject: [PATCH] feat(claude/commands): add description front matter to AGENTS.md commands Makes commands discoverable in skill listings by adding description fields to claude-to-agents, generate-agents.md, and refactor-agents.md. Co-Authored-By: Claude Opus 4.6 --- claude/commands/claude-to-agents.md | 12 ++++++++++-- claude/commands/generate-agents.md.md | 1 + claude/commands/refactor-agents.md.md | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/claude/commands/claude-to-agents.md b/claude/commands/claude-to-agents.md index 7b71dbd..54d1186 100644 --- a/claude/commands/claude-to-agents.md +++ b/claude/commands/claude-to-agents.md @@ -1,4 +1,12 @@ -# Task: Convert CLAUDE.md to AGENTS.md +--- +description: Convert a project's CLAUDE.md into an agent-agnostic AGENTS.md file, keeping CLAUDE.md as a thin @-reference +--- + +## Context + +- Check if `CLAUDE.md` and `AGENTS.md` exist in the project root. + +## Your Task Convert this project's `CLAUDE.md` into an `AGENTS.md` file, and replace `CLAUDE.md` with a thin reference to it. @@ -10,7 +18,7 @@ Convert this project's `CLAUDE.md` into an `AGENTS.md` file, and replace - If `CLAUDE.md` does not exist but `AGENTS.md` does, skip to step 7. - If both exist, abort — suggest using `AGENTS.md` directly or removing it first. - - Otherwise `CLAUDE.md` exists and `AGENTS.md` does not — proceed. + - Otherwise, `CLAUDE.md` exists and `AGENTS.md` does not — proceed. 2. **Read `CLAUDE.md`** content in full. diff --git a/claude/commands/generate-agents.md.md b/claude/commands/generate-agents.md.md index e7c1115..65292f2 100644 --- a/claude/commands/generate-agents.md.md +++ b/claude/commands/generate-agents.md.md @@ -1,4 +1,5 @@ --- +description: Analyze the codebase and generate a minimal, hierarchical AGENTS.md structure with progressive disclosure sources: - https://github.com/RayFernando1337/llm-cursor-rules/blob/main/generate-agents.md - https://www.aihero.dev/a-complete-guide-to-agents-md diff --git a/claude/commands/refactor-agents.md.md b/claude/commands/refactor-agents.md.md index ce00f88..8bb262c 100644 --- a/claude/commands/refactor-agents.md.md +++ b/claude/commands/refactor-agents.md.md @@ -1,4 +1,5 @@ --- +description: Refactor an existing AGENTS.md to follow progressive disclosure principles, extracting detailed rules into separate docs source: https://www.aihero.dev/a-complete-guide-to-agents-md ---