Loading...
Loading...
Use when adding or generating a `description:` field in markdown frontmatter for SEO or metadata purposes. Invoke with /add-description.
npx skill4agent add william-yeh/add-description add-description--dry-runDRY_RUN=trueError: no files specified.
Usage: /add-description [--dry-run] <file> [<file> ...]ollama list 2>/dev/null | grep -qi "Gemma-3-TAIDE"MODEL=hf.co/audreyt/Gemma-3-TAIDE-12b-Chat-2602-GGUF:Q8_0MODEL=qwen3:1.7bollama listError: Ollama is not running. Start it with: ollama serve| Check | Skip message |
|---|---|
File has no leading | |
Frontmatter already contains | |
uv run scripts/generate_description.py --model "$MODEL" "$FILE"[……]temperature=0.5repeat_penalty=1.1ABORT: …WARN: …DESCSCRIPT_ERRABORT <file> — <SCRIPT_ERR>DRY_RUN=true[DRY-RUN] wiki/sources/foo.md
model : hf.co/audreyt/...
────────────────────────────────────────
<generated description text>
────────────────────────────────────────description:---description: >-
Generated description text here. Multiple sentences flow as a single
paragraph when rendered.STATUS FILE DETAIL
────── ────────────────────────────────────────────── ────────────────────────────
DONE wiki/sources/foo.md zh-TW · 97 chars · TAIDE
DONE wiki/sources/bar.md en · 103 words · qwen3
SKIP wiki/sources/baz.md description already exists
ABORT wiki/sources/qux.md too short (22 chars)
[DRY] wiki/sources/quux.md zh-TW · 88 chars · TAIDE| Rule | Detail |
|---|---|
| No title repetition | Regenerate once if description opens with verbatim title |
| Minimum length enforced | Abort file if below threshold — do not write short descriptions |
| Language must match content | zh-TW for CJK-majority files, English otherwise |
| No meta-commentary | Strip prefixes like |
| No file modification in dry-run | Preview only; the Edit tool must not be called |
wiki/log.md*.md