Skills: Check for Defuddle and Knap before using them

Ports the setup checks written for the ChatGPT submission, so every
listing ships the same skills: check the tool is installed, offer to
install it instead of installing unasked, and don't report success when
it failed.
This commit is contained in:
Steph Ango
2026-11-06 14:59:55 -08:00
parent e389391fa6
commit 330aed55c3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ description: Render Markdown from templates and structured data using Knap CLI.
Use Knap CLI to render Markdown templates with variables, filters, and logic.
If not installed: `npm install -g knap` (requires Node.js 20 or later). Alternatively, use `npx knap`.
Check availability with `knap --help`. If it is missing, explain that Knap requires Node.js 20 or later and offer installation with `npm install -g knap` or execution with `npx knap`. Do not claim a template was rendered if the tool is unavailable or returns an error.
Run `knap --help` for available commands and options. Discover the language through the CLI's offline reference: