Back to Learn Jev
Starter project 01 · Start here

Signal checker

Paste a message and see how strongly it expresses one idea. The smallest useful Jev project.

Time
15–20 min
Level
First call
Shape
Message + focused statement → Noul value → percentage meter
You’ll practice
Noul · State design · API setup

The agent prompt

Copy this brief into your coding agent from the root of the project you want to build in. It names the behaviour, the constraints, and the checks to run — the decisions Jev makes stay explicit so you can see what the model actually decided.

Build a tiny "Signal checker" in this repository using Jev from TypeSafe AI.

First inspect the existing project and preserve its framework, conventions, and package manager. Use the official TypeSafe skill to confirm the current SDK and API patterns. If that skill is not installed, install it with:
npx skills add typesafe-ai/skills --skill typesafe-ai

The experience should let someone paste a short piece of text, enter one focused statement such as "This message asks for urgent help", and run a Noul question against the text as state. Show the returned 0–1 value as both a percentage and a simple meter. Include one pre-filled example so it works immediately.

Requirements:
- Use the official TypeSafe SDK appropriate for this codebase.
- Read TYPESAFE_API_KEY from the server environment; never expose it to browser code or commit it.
- Keep the Jev question atomic and show the raw numeric result alongside the friendly UI.
- Add loading, empty, error, and success states.
- Add a short README section covering setup and how to run it.
- Add focused tests for the decision call boundary and the main user flow.

Keep the implementation small. At the end, run the relevant checks and tell me exactly which files changed and how to try it.

Built something like this

Community projects in the directory that solve a similar problem: