mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-16 01:45:29 +02:00
fix(gen-skill-docs): stop the catalog trim chopping descriptions at embedded periods
The description-trim regex treated the first period as end-of-sentence, so skill descriptions with embedded periods (e.g. file extensions, version numbers) truncated mid-thought in the generated catalog — the discovery surface every host loads. Trim now respects the full first sentence; diagram's description regenerates to its intended text. Contributed by @sneakygriff (PR #2171). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
e6dfc46e7a
commit
0c4b5ac6a9
+3
-4
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: diagram
|
||||
version: 1.0.0
|
||||
description: "Turn an English description (or mermaid source) into a diagram triplet: the source, an editable .excalidraw file you can open (gstack)"
|
||||
description: "Turn an English description (or mermaid source) into a diagram triplet: the source, an editable .excalidraw file you can open on excalidraw.com, and rendered SVG + PNG. (gstack)"
|
||||
allowed-tools:
|
||||
- Bash
|
||||
- Read
|
||||
@@ -21,9 +21,8 @@ triggers:
|
||||
|
||||
## When to invoke this skill
|
||||
|
||||
on excalidraw.com,
|
||||
and rendered SVG + PNG (clean mermaid style; the .excalidraw carries the
|
||||
hand-drawn aesthetic). Fully offline.
|
||||
The SVG/PNG use clean mermaid style; the
|
||||
.excalidraw carries the hand-drawn aesthetic. Fully offline.
|
||||
Use when asked to "make a diagram", "draw the architecture", "create a
|
||||
flowchart", "diagram this", or "visualize this flow".
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ version: 1.0.0
|
||||
description: |
|
||||
Turn an English description (or mermaid source) into a diagram triplet:
|
||||
the source, an editable .excalidraw file you can open on excalidraw.com,
|
||||
and rendered SVG + PNG (clean mermaid style; the .excalidraw carries the
|
||||
hand-drawn aesthetic). Fully offline.
|
||||
and rendered SVG + PNG. The SVG/PNG use clean mermaid style; the
|
||||
.excalidraw carries the hand-drawn aesthetic. Fully offline.
|
||||
Use when asked to "make a diagram", "draw the architecture", "create a
|
||||
flowchart", "diagram this", or "visualize this flow". (gstack)
|
||||
allowed-tools:
|
||||
|
||||
Reference in New Issue
Block a user