ui-employment-checker-console
UI: Employment Checker Console (Next.js)
Use this skill to add the UI surfaces needed for the system:
- upload PDFs
- show processing progress
- browse extracted pages/chunks
- review extracted clauses + validations
- resolve review-needed items (human-in-the-loop)
Inputs
Collect:
API_BASE_URL: local defaulthttp://localhost:8000.POLL_INTERVAL_MS: default1500while running; back off when complete.
Required Screens
Implement minimal screens/routes:
- Upload:
- file picker/dropzone
- submit -> show
job_id+document_id
- Job status:
- poll
GET /jobs/{job_id} - show stage/progress + errors
- poll
- Document overview:
GET /documents/{document_id}- links to pages/clauses/results
- Pages viewer:
- list pages, show
rawvscleantoggle
- list pages, show
- Clauses + validations:
- table with clause type, confidence, review-needed, linked citations
- Results/report:
- render
GET /documents/{document_id}/results - download report artifact (presigned URL or API proxy)
- render
- Review queue (optional but recommended):
- show items where
review_needed=true - capture human decision and persist via API
- show items where
UX Guardrails
- Display citations prominently (page + snippet + link to page view).
- Treat jobs as asynchronous; never block UI waiting for upload processing.
- On failures, show error payload and a “reprocess” action if supported.
Decision Justification Rule
- Every non-trivial decision must include a concrete justification.
- Capture the alternatives considered and why they were rejected.
- State tradeoffs and residual risks for the chosen option.
- If justification is missing, treat the task as incomplete and surface it as a blocker.
More from ajrlewis/ai-skills
architect-python-uv-fastapi-sqlalchemy
Use when scaffolding production-ready FastAPI services with uv, SQLAlchemy, Alembic, Postgres, Docker, and CI gates.
11addon-rag-ingestion-pipeline
Use when adding multi-format RAG ingest, chunk, embed, and retrieval pipelines; pair with architect-python-uv-batch or architect-python-uv-fastapi-sqlalchemy.
11addon-docling-legal-chunk-embed
Use when you need legal PDF to markdown extraction plus clause chunking and embedding prep; pair with addon-rag-ingestion-pipeline and architect-python-uv-batch.
10addon-llm-ancient-greek-translation
Use when adding Koine or Attic Greek translation to Next.js content flows; pair with ui-editorial-writing-surface and addon-nostr-nip23-longform.
10architect-python-uv-batch
Use when scaffolding production-ready Python uv batch or worker projects with Docker required by default.
10addon-human-pr-review-gate
Use when agent-generated code must pass a human PR review gate with trusted checks and merge blocks; pair with addon-decision-justification-ledger and architect-stack-selector.
9