Part 1 of 3

Getting Structured JSON Output

Prompting AI to return verdicts, matches, and transferable skills.

The Fit Assessment is different from chat—it needs to return structured data that your UI can display with color-coded verdicts.

What to Ask Your AI IDE

"Create a fit assessment feature with:

  • An API route at /api/fit-assessment
  • Input: job description text
  • Output: structured JSON with verdict, summary, matching skills, and transferable skills
  • Use my background from ai-context.ts"

The Three Verdicts

STRONG MATCH

Most skills align

PARTIAL MATCH

Some gaps, some fits

NOT A FIT

Missing key skills