Vant skill review performance
Skill dhaupin/vant/models/public/skills/vant-skill-review-performance
Is it fast?From its SKILL.md
npx -y skills add dhaupin/vant --skill vant-skill-review-performanceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.6 KB, 458 tokens by cl100k_base, as published. Nobody here has run it
Performance Review
Is it fast?
Rule #1
Measure. Don't guess.
# Profile before you optimize
node --prof app.js
What To Check
1. Time
// Time operations
const start = Date.now()
doThing()
console.log(Date.now() - start)
| Check | Target |
|---|---|
| API < 200ms | |
| Page < 1s | |
| Build < 30s |
2. Network
# Check size
curl -s -o /dev/null -w "%{size_download}" URL
| Size | Rating |
|---|---|
| > 1MB | SLOW |
| > 500KB | MEDIUM |
| < 100KB | FAST |
3. Queries
// N+1 query?
items.map(i => db.get(i.id))
| Pattern | Issue | Fix |
|---|---|---|
| query in loop | N+1 | Batch |
| select * | Too much | Select needed |
| no cache | Repeat | Cache |
4. Async
// Blocking?
await heavy()
await more()
| Pattern | Issue | Fix |
|---|---|---|
| Sequential | Slow | Promise.all |
| No timeout | Hang | Timeout |
| No limit | OOM | Limit |
Output
## Performance - [endpoint]
### Timing
- [TIME] [endpoint]: [ms]ms
- Target: [target]ms
### Network
- [SIZE] [kb]kb
### Queries
- [COUNT] queries for [records]
- Issue: [pattern]
### Recommendations
1. [fix 1]
2. [fix 2]
Fix Priority
| Priority | When |
|---|---|
| 1 | Blocks user |
| 2 | Noticeable delay |
| 3 | Optimization |
Role: Performance Reviewer
Input: Code or endpoint
Output: Is fast?
Measure it. Fix what matters.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.