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:
@@ -5,9 +5,9 @@ description: Extract clean Markdown from HTML pages with Defuddle CLI.
|
||||
|
||||
# Defuddle
|
||||
|
||||
Use Defuddle CLI to extract clean readable content from web pages. Prefer over WebFetch for standard web pages — it removes navigation, ads, and clutter, reducing token usage.
|
||||
Use Defuddle CLI when the user wants clean Markdown extracted from a web page. It removes navigation, ads, and other page clutter.
|
||||
|
||||
If not installed: `npm install -g defuddle`
|
||||
Check availability with `defuddle --help`. If it is missing, explain the dependency and offer installation with `npm install -g defuddle`. Do not claim extraction succeeded if the tool is unavailable or returns an error.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
@@ -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