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 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 19:25:29 +00:00
parent 015ad895b4
commit 3f25c7e4fe
3 changed files with 12 additions and 2 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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
---