$npx -y skills add martinemde/skillet --skill interpolation-skillTests variable interpolation features like {baseDir}. Use for testing path expansion.
| 1 | # Interpolation Skill |
| 2 | |
| 3 | This skill demonstrates variable interpolation. |
| 4 | |
| 5 | ## Base Directory |
| 6 | |
| 7 | The base directory for this skill is: {baseDir} |
| 8 | |
| 9 | ## Instructions |
| 10 | |
| 11 | When invoked, this skill should: |
| 12 | |
| 13 | 1. Read configuration from {baseDir}/config.json |
| 14 | 2. Load reference data from {baseDir}/references/data.txt |
| 15 | 3. Execute scripts from {baseDir}/scripts/process.sh |
| 16 | |
| 17 | ## File References |
| 18 | |
| 19 | See [the reference guide]({baseDir}/references/REFERENCE.md) for details. |
| 20 | |
| 21 | Run the extraction script: |
| 22 | ```bash |
| 23 | {baseDir}/scripts/extract.py |
| 24 | ``` |
| 25 | |
| 26 | ## Notes |
| 27 | |
| 28 | All paths using {baseDir} should be expanded to the absolute path |
| 29 | of the directory containing this SKILL.md file. |