mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user