mirror of
https://github.com/kepano/obsidian-skills.git
synced 2026-12-05 10:05:18 -08:00
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:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user