invalid-undeclared-variable
CommunityCatch undeclared variables in skill bodies.
Authorcharleshall888
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Detects when a skill body references a variable not declared in its inputs, preventing runtime errors and ambiguous behavior.
Core Features & Use Cases
- Input validation: checks that all placeholders used in the body have corresponding entries in inputs.
- Error reporting: surfaces a clear message pinpointing the undeclared variable and its location in the body.
- Debug assistance: helps developers fix templates quickly during local testing and CI.
Quick Start
Declare every placeholder variable in the inputs section to ensure the skill body runs without undeclared references.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: invalid-undeclared-variable Download link: https://github.com/charleshall888/cortex-command/archive/main.zip#invalid-undeclared-variable Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.