Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Defines type-safe frontend TypeScript types for generation requests and SSE events, plus user and request validation patterns.
50% 100%+50 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Type-safe frontend types for generation workflows and SSE events.
Trigger: when adding new generation types or events to the frontend.
| Task | Pattern |
|---|---|
| Validate user login | User |
| Create generation request | GenerateRequest |
github_user_id and login from User interfaceGenerateRequest with required repo_url, mode, and providerValidates github_user_id and login from User interface to ensure authenticated session state before initiating generation workflows.
import { User } from '@/lib/types';
if (!User || !User.github_user_id) {
throw new Error('User not authenticated');
}
Constructs GenerateRequest with required repo_url, mode, and provider fields to start a new generation pipeline.
Next to this one in the catalogue, plus more from the same author.