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:
- Parses it into discrete, implementation-ready tasks
- Identifies dependencies between tasks
- Topologically sorts them so tasks execute in the right order
- 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.
- Paste your spec into the editor
- Click Parse — Prism analyzes the spec and shows you the task list
- Review and edit any task before queuing
- 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.