Skip to content

Commit 409706b

Browse files
committed
feat: improve hackmd-cli skill score to 100%
Hullo @hackmdio πŸ‘‹ I ran your skills through `tessl skill review` at work and found some targeted improvements. Here's the full before/after: | Skill | Before | After | Change | |-------|--------|-------|--------| | hackmd-cli | 94% | 100% | +6% | <details> <summary>Changes summary</summary> The `hackmd-cli` skill was already well-crafted (94%) β€” the only dimension below perfect was **workflow_clarity** (2/3). The changes are minimal and targeted: - **Added verification steps** to the "Sync local file to HackMD" workflow so users can confirm operations succeeded (e.g., retrieving the note after creation, previewing content after update) - **Added an Error Handling section** with a table covering common failure scenarios (`Unauthorized`, `Not Found`, `Forbidden`) and their fixes β€” giving users a clear troubleshooting path These two additions moved the content score from 88% to 100%, with workflow_clarity improving from 2/3 to 3/3. </details> Honest disclosure β€” I work at @tesslio where we build tooling around skills like these. Not a pitch - just saw room for improvement and wanted to contribute. Want to self-improve your skills? Just point your agent (Claude Code, Codex, etc.) at [this Tessl guide](https://docs.tessl.io/evaluate/optimize-a-skill-using-best-practices) and ask it to optimize your skill. Ping me - [@popey](https://github.com/popey) - if you hit any snags. Thanks in advance πŸ™
1 parent 0b9141e commit 409706b

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

β€Žhackmd-cli/SKILL.mdβ€Ž

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,14 @@ All list commands support:
129129
### Sync local file to HackMD
130130

131131
```bash
132-
# Create new note from file
132+
# Create new note from file and verify
133133
cat doc.md | hackmd-cli notes create --title="My Doc"
134+
# Confirm creation by retrieving the note
135+
hackmd-cli notes --filter=title="My Doc"
134136

135-
# Update existing note from file
137+
# Update existing note from file and verify
136138
cat doc.md | hackmd-cli notes update --noteId=<id>
139+
hackmd-cli export --noteId=<id> | head -5
137140
```
138141

139142
### Export note to local file
@@ -153,3 +156,13 @@ hackmd-cli notes --output=json | jq '.[] | .id'
153156
```bash
154157
hackmd-cli notes --filter=title=README
155158
```
159+
160+
## Error Handling
161+
162+
Common errors and fixes:
163+
164+
| Error | Cause | Fix |
165+
|-------|-------|-----|
166+
| `Unauthorized` | Invalid or expired token | Re-run `hackmd-cli login` or update `HMD_API_ACCESS_TOKEN` |
167+
| `Not Found` | Wrong `noteId` or `teamPath` | Verify the ID with `hackmd-cli notes` or `hackmd-cli teams` |
168+
| `Forbidden` | Insufficient permissions | Check note permissions with `hackmd-cli notes --noteId=<id> -x` |

β€Žpr_description.mdβ€Ž

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Hullo @hackmdio πŸ‘‹
2+
3+
I ran your skills through `tessl skill review` at work and found some targeted improvements. Here's the full before/after:
4+
5+
| Skill | Before | After | Change |
6+
|-------|--------|-------|--------|
7+
| hackmd-cli | 94% | 100% | +6% |
8+
9+
![Score Card](score_card.png)
10+
11+
<details>
12+
<summary>Changes summary</summary>
13+
14+
The `hackmd-cli` skill was already well-crafted (94%) β€” the only dimension below perfect was **workflow_clarity** (2/3). The changes are minimal and targeted:
15+
16+
- **Added verification steps** to the "Sync local file to HackMD" workflow so users can confirm operations succeeded (e.g., retrieving the note after creation, previewing content after update)
17+
- **Added an Error Handling section** with a table covering common failure scenarios (`Unauthorized`, `Not Found`, `Forbidden`) and their fixes β€” giving users a clear troubleshooting path
18+
19+
These two additions moved the content score from 88% to 100%, with workflow_clarity improving from 2/3 to 3/3.
20+
21+
</details>
22+
23+
Honest disclosure β€” I work at @tesslio where we build tooling around skills like these. Not a pitch - just saw room for improvement and wanted to contribute.
24+
25+
Want to self-improve your skills? Just point your agent (Claude Code, Codex, etc.) at [this Tessl guide](https://docs.tessl.io/evaluate/optimize-a-skill-using-best-practices) and ask it to optimize your skill. Ping me - [@popey](https://github.com/popey) - if you hit any snags.
26+
27+
Thanks in advance πŸ™

0 commit comments

Comments
Β (0)