From f963a8f3881969db72d9eb1dd6646d34699834a6 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 19 Mar 2026 14:22:56 -0500 Subject: [PATCH] refactor: convert json-pretty format skill to a command Move from skills/ to commands/ so it shows as /json-pretty:format in the autocomplete menu with the plugin name prefix. Move the script to scripts/ to match command-based plugin conventions. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../{skills/format/SKILL.md => commands/format.md} | 8 ++++---- .../json-pretty/{skills/format => scripts}/json-pretty.py | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename plugins/json-pretty/{skills/format/SKILL.md => commands/format.md} (85%) rename plugins/json-pretty/{skills/format => scripts}/json-pretty.py (100%) diff --git a/plugins/json-pretty/skills/format/SKILL.md b/plugins/json-pretty/commands/format.md similarity index 85% rename from plugins/json-pretty/skills/format/SKILL.md rename to plugins/json-pretty/commands/format.md index 3affc05..89a5f9f 100644 --- a/plugins/json-pretty/skills/format/SKILL.md +++ b/plugins/json-pretty/commands/format.md @@ -1,6 +1,6 @@ --- -name: format -description: Format, validate, or minify JSON without external online services +description: "Format, validate, or minify JSON without external online services" +allowed-tools: Bash --- ## When to Use @@ -15,9 +15,9 @@ Use when the user asks to: ## Tool Location -`~/.claude/skills/json-pretty/json-pretty.py` +`${CLAUDE_PLUGIN_ROOT}/scripts/json-pretty.py` -Symlinked to `~/.local/bin/json-pretty` for PATH access. +Also symlinked to `~/.local/bin/json-pretty` for PATH access. ## Usage diff --git a/plugins/json-pretty/skills/format/json-pretty.py b/plugins/json-pretty/scripts/json-pretty.py similarity index 100% rename from plugins/json-pretty/skills/format/json-pretty.py rename to plugins/json-pretty/scripts/json-pretty.py