From 6b70f99f769f58b9b642dc8a271936b17862cf8c Mon Sep 17 00:00:00 2001 From: Tobin South Date: Tue, 17 Mar 2026 22:45:25 +0000 Subject: docs(plugin-dev): deprecate commands/ in favor of skills//SKILL.md (#717) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit P0 follow-up for EA-471. Updates plugin-dev teaching materials to stop recommending the commands/ directory layout for new plugins: - command-development/SKILL.md: add legacy banner at top pointing to skills/ format - create-plugin.md: update scaffolding to create skills//SKILL.md instead of commands/; mark commands/ as acceptable legacy alternative; update all examples, tables, and testing instructions - example-plugin: migrate example-command to skills/example-command/SKILL.md; keep commands/example-command.md with a legacy-format note; update README to reflect new preferred structure Both formats remain loaded identically — this is a documentation change only. Refs: anthropics/apps#26827 Co-authored-by: Henry Shi --- plugins/example-plugin/commands/example-command.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/example-plugin/commands/example-command.md') diff --git a/plugins/example-plugin/commands/example-command.md b/plugins/example-plugin/commands/example-command.md index 103b7ee3..5cf32af0 100644 --- a/plugins/example-plugin/commands/example-command.md +++ b/plugins/example-plugin/commands/example-command.md @@ -1,10 +1,12 @@ --- -description: An example slash command that demonstrates command frontmatter options +description: An example slash command that demonstrates command frontmatter options (legacy format) argument-hint: [optional-arg] allowed-tools: [Read, Glob, Grep, Bash] --- -# Example Command +# Example Command (Legacy `commands/` Format) + +> **Note:** This demonstrates the legacy `commands/*.md` layout. For new plugins, prefer the `skills//SKILL.md` directory format (see `skills/example-command/SKILL.md` in this plugin). Both are loaded identically — the only difference is file layout. This command demonstrates slash command structure and frontmatter options. -- cgit