Loading...
Loading...
Run after making Docyrus API changes to catch bugs, performance issues, and code quality problems. Use when implementing or modifying code that uses Docyrus collection hooks (.list, .get, .create, .update, .delete), direct RestApiClient calls, query payloads with filters/calculations/formulas/childQueries/pivots, or TanStack Query integration with Docyrus data sources. Triggers on tasks involving Docyrus API logic, data fetching, mutations, or query payload construction.
npx skill4agent add docyrus/agent-skills docyrus-api-doctorreferences/checklist-details.md| # | Check | What to look for |
|---|---|---|
| B1 | Missing | Any |
| B2 | | |
| B3 | Child query key not in | If |
| B4 | Formula key not in | If |
| B5 | Aggregation via | Using |
| B6 | | These are mutually exclusive. Use |
| B7 | Formula | |
| B8 | Formula | |
| B9 | Formula | |
| B10 | Formula math operand count | Math operations ( |
| B11 | Formula | |
| B12 | Uncast literal in | String literals inside |
| # | Check | What to look for |
|---|---|---|
| P1 | Unnecessary | When using |
| P2 | | If you only need the count (not the rows), use |
| P3 | Unnecessary | When using |
| P4 | Over-fetching columns | Columns selected in |
| P5 | Large | |
| P6 | Missing | Rendering relation/enum/user field |
| P7 | Fetching rows for existence checks | Fetching records just to check if any exist. Use |
| P8 | Redundant overlapping queries | Multiple queries on the same data source fetching overlapping columns that could be combined into one. |
| # | Check | What to look for |
|---|---|---|
| Q1 | Heavy | Casting API responses with |
| Q2 | Missing | |
| Q3 | No error handling on mutations | |
| Q4 | Missing query invalidation after mutations | After create/update/delete, related query keys must be invalidated so lists refresh. |
| Q5 | Serial cache invalidations | Multiple |
| Q6 | Using deprecated | Replace with the |
| Q7 | Hardcoded data source paths | Raw |
| Q8 | | |
.list(.get(.create(.update(.delete(client.get(client.post(client.patch(client.delete(references/checklist-details.md