chore(skills): add /add-model and /validate-model commands#4475
chore(skills): add /add-model and /validate-model commands#4475waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview The new docs enforce live-docs verification (including two-source pricing checks), outline which capability flags are meaningful via a provider “consumption matrix,” and require structured verification/validation reports plus linting guidance. Reviewed by Cursor Bugbot for commit fc733bd. Configure here. |
Greptile SummaryThis PR adds two new Claude slash commands —
Confidence Score: 5/5Safe to merge — these are instruction-only Markdown skill files with no runtime code paths. Both files are documentation/prompt files that guide agent behavior; they contain no executable code and require explicit human confirmation before any change to models.ts is applied. The two findings are wording ambiguities in validate-model.md that could confuse an agent at the margin but do not create incorrect data or break any code path. validate-model.md — the dangling "update the other" sentence and the toolUsageControl checklist item are worth cleaning up before the commands see heavy use. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A(["/add-model provider model-id"]) --> B[Step 1: Live-fetch provider docs + pricing]
B --> C[Step 2: Apply Consumption Matrix]
C --> D[Step 3: Read sibling entries in models.ts]
D --> E[Step 4: Insert entry + bun run lint]
E -->|lint fails| F[Fix syntax, re-run lint, note in report]
F --> E
E -->|lint passes| G[Step 5: Print Verification Report]
G -->|any UNVERIFIED rows| H[Ask user to confirm before merging]
G -->|all verified| I([Done])
J(["/validate-model provider model-id"]) --> K[Step 1: Read entries from models.ts]
K --> L[Step 2: Live-fetch provider docs]
L --> M[Step 3: Re-grep consumption map]
M --> N[Step 4: Run per-model checklist]
N --> O[Step 5: Print Validation Report with source URLs]
O --> P{Offer to fix?}
P -->|yes| Q[Print diff → get confirmation → edit models.ts → bun run lint → re-check failed rows]
P -->|no| R([Done])
Q --> R
Reviews (2): Last reviewed commit: "chore(skills): add /add-model and /valid..." | Re-trigger Greptile |
9aff383 to
fc733bd
Compare
|
Addressed all three Greptile outside-diff findings in fc733bd:
|
|
@greptile |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit fc733bd. Configure here.
Summary
Type of Change
Testing
Tested manually
Checklist