correctness-and-error-handling

Installation
SKILL.md

Correctness & Error Handling Fix

Find and fix correctness issues and missing error handling in $ARGUMENTS (or the whole app if no argument is given). Work through every step below. Each step searches for problems and then fixes them in place. Only report issues that cannot be auto-fixed.


Step 1 — Map data flows and fix known defects

Read these files before checking anything:

  • src/main.tsx / src/App.tsx — top-level error boundaries and auth flow
  • All files matching **/hooks/*.ts, **/contexts/*.tsx — shared async state
  • All files matching **/api/*.ts, **/services/*.ts — CDF SDK call sites

For each async data source, note:

  • What happens when the request fails (network error, CDF 403, timeout)?
  • What does the UI show while loading?
  • What does the UI show if the result is empty?
Related skills

More from cognitedata/builder-skills

Installs
167
GitHub Stars
4
First Seen
6 days ago