Skip to main content

Prism

Prism turns a product specification — a plain-English description of a feature or system — into a dependency-ordered queue of Nimbus tasks.

What Prism does

You write a spec. Prism:

  1. Parses it into discrete, implementation-ready tasks
  2. Identifies dependencies between tasks
  3. Topologically sorts them so tasks execute in the right order
  4. Queues them to Nimbus

Each task in the queue is specific enough for Nimbus to implement without further clarification.

Using the web UI

Visit get-nimbus.com/prism.

  1. Paste your spec into the editor
  2. Click Parse — Prism analyzes the spec and shows you the task list
  3. Review and edit any task before queuing
  4. Click Queue all to send the tasks to Nimbus

POST /prism/parse

Parse a spec into tasks:

curl -X POST https://api.get-nimbus.com/prism/parse \
-H "X-API-Key: $NIMBUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"spec": "Build a complete authentication system with email/password signup, login, JWT tokens, refresh token rotation, and password reset via email."
}'

Response:

[
{"id": 1, "description": "Create User model with email, hashed_password, created_at fields", "depends_on": [], "priority": 1},
{"id": 2, "description": "Implement password hashing using bcrypt", "depends_on": [1], "priority": 1},
{"id": 3, "description": "Add POST /auth/register endpoint with email validation and duplicate checking", "depends_on": [1, 2], "priority": 1},
{"id": 4, "description": "Add POST /auth/login endpoint returning JWT access token and refresh token", "depends_on": [1, 2], "priority": 2},
{"id": 5, "description": "Implement JWT refresh token rotation with single-use enforcement", "depends_on": [4], "priority": 2},
{"id": 6, "description": "Add password reset flow: POST /auth/forgot-password generates a time-limited token and sends an email", "depends_on": [1], "priority": 3},
{"id": 7, "description": "Add POST /auth/reset-password endpoint that validates the token and updates the password", "depends_on": [6], "priority": 3},
{"id": 8, "description": "Add auth middleware that validates JWT and populates request.user", "depends_on": [4], "priority": 2}
]

POST /prism/queue

Queue the parsed tasks to Nimbus:

curl -X POST https://api.get-nimbus.com/prism/queue \
-H "X-API-Key: $NIMBUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tasks": [...],
"repo_id": "your-repo-id",
"workspace_id": "your-workspace-id"
}'

Tasks with depends_on: [] start immediately. Tasks with dependencies start only after all their dependencies complete successfully.