SKILL.md: shorter AI description, skill-relative template paths, marker pointers

AI description trimmed to 754 chars (test: both stay <= 1024). Both SKILL.md files say templates/ (and <no-ai>) resolve against the skill's own folder, skills side by side; no-AI commands use <skill>/templates/. AI step 5 names the App.tsx/RunPanel.tsx markers and no longer remembers the model per user.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
VasanthandClaude Opus 5.5 committed 2026-10-16 15:59:00 +05:30
1 parent 24a064875e
commit 8bb1cf268e
3 files changed
+25 -7

No files matched your search

+8 -4
View File
@@ -8,6 +8,10 @@ description: Builds a working dashboard page for an RPA bot that does not use AI
Everything this skill needs is bundled in `templates/`. Never read the original
source projects.
**Paths:** `templates/...` is in this skill's own folder (the one holding this SKILL.md),
not in the user's project. Below, `<skill>` is that folder's absolute path: run the
scripts as `python <skill>/templates/<script>.py`, from the user's project.
| File | What it is |
|---|---|
| `templates/dashboard.html` | The single-file page: theme tokens, shell, KPI, donut, run panel, report, sample data. Works in PyQt (QWebChannel) or on the web (polling). |
@@ -27,7 +31,7 @@ If the user's request already answers a question, don't ask it again.
## 1. Scan the project
Before asking anything, look at the project:
- **Frontend:** run `python templates/detect_frontend.py <project root>`. It finds
- **Frontend:** run `python <skill>/templates/detect_frontend.py <project root>`. It finds
plain HTML, React/Vue/Angular/Svelte apps and PyQt web views, and prints each
one's location, stack and colour tokens. `templates/frontend.md` says what it
covers and what to do with its report.
@@ -76,7 +80,7 @@ Ask which extras to add, as one multi-select question (choose any, or none):
off to the project's own auth.
Build only the chosen ones. In step 6, right after copying the page, run
`python templates/sections.py <copied dashboard.html> <chosen: checkpoints admin login>`.
`python <skill>/templates/sections.py <copied dashboard.html> <chosen: checkpoints admin login>`.
It deletes the unchosen sections completely (markup, script and style), so nothing
is left behind. Never cut the blocks by hand. Then follow `templates/sections.md` for
each kept section: what to fill, which events the bot sends, and which host actions
@@ -90,7 +94,7 @@ to answer.
`dashboard/dashboard.html`.
- Existing frontend: put it where `templates/frontend.md` section 3 says.
Then run `python templates/sections.py <copied dashboard.html> <chosen sections>` (step 5).
Then run `python <skill>/templates/sections.py <copied dashboard.html> <chosen sections>` (step 5).
2. Fill every `{{...}}` placeholder:
| Placeholder | Value |
@@ -103,7 +107,7 @@ to answer.
3. Apply the theme by replacing the `body{...}` and `body.dark{...}` token blocks
with the preset from `templates/themes.md`. For Ember, also add its font link.
For a custom colour, run `python templates/palette.py "<hex>"`, paste the
For a custom colour, run `python <skill>/templates/palette.py "<hex>"`, paste the
tokens it prints, and show the user its contrast table. If the user chose keep,
fill the blocks from the project's tokens instead (`templates/frontend.md`
section 4).