summaryrefslogtreecommitdiff
path: root/plugins/plugin-dev/skills
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-09-15 15:15:41 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-09-24 17:49:55 -0700
commitd4981e86b90f08a5aa029cb5cc1f274f6922cc17 (patch)
tree25adfd68b1508763e69b4f07e4235a071686fbcc /plugins/plugin-dev/skills
parentad30d62cd52ad0d0af1beda1eab7f61c601045d0 (diff)
code-modernization: named arguments and namespaced command names
Positional placeholders are zero-based ($0 is the first argument), but every command used $1 for the first one, so arguments arrived shifted: modernize-preflight carddemo java-spring analyzed legacy/java-spring. Each command now declares its arguments in frontmatter (for example `arguments: system module target_stack`) and uses the names. A missing optional argument now expands to an empty string instead of a literal placeholder. Plugin commands resolve only by their namespaced name, so the README, command cross-references, agents, workflow descriptions and the topology viewer now say /code-modernization:modernize-*. The extract-rules workflow is renamed modernize-extract-rules-mine. It shared the command's name, so invoking the command could start the workflow directly and skip the command's instructions. Commands launch workflows by script path, so nothing else changes.
Diffstat (limited to 'plugins/plugin-dev/skills')
0 files changed, 0 insertions, 0 deletions