Demonstrates and tests argument substitution patterns to prevent code corruption in custom Claude Code skills.
This skill serves as a living test harness and architectural blueprint for developers building custom Claude Code skills. It provides a standardized method for capturing CLI arguments into named XML tags, ensuring that positional variables like $1 or $ARGUMENTS do not accidentally corrupt shell scripts or code blocks during execution. By utilizing this pre-declaration pattern, developers can safely include complex bash or awk examples in their skill documentation while maintaining clean, predictable access to user-provided parameters.
主要功能
01Live test harness for verifying $ARGUMENTS substitution behavior
0238 GitHub stars
03Visual demonstrations of common variable corruption pitfalls in bash and awk
04Implementation guide for safe code example referencing
05Standardized routing pattern for building argument-driven skill logic
06Positional argument capture ($0-$9) into structured XML tags
使用场景
01Testing how Claude Code handles complex CLI argument strings before deployment
02Debugging argument-passing logic for multi-parameter automation tasks
03Learning best practices for preventing shell variable corruption in custom skills