Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jnzader/usegenerationstream-hook
This skill covers patterns for managing generation streams in a React application. Trigger: Load when using `useGenerationStream` for state management.
Passed 22 of 22 test cases with the skill, and 7 of 22 without it.
and 15 more in the full report
15 fixed7 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to import the core types for stream status and step items in my React UI module. What is the standard module path for importing these types in our app?
| Checked | Without skill | With skill |
|---|---|---|
| Imports types from module path @/hooks/useGenerationStream | Missed | Passed |
The instructions your model reads when the skill loads.
This skill covers patterns for managing generation streams in a React application.
Trigger: Load when using useGenerationStream for state management.
| Task | Pattern |
|---|---|
| Manage stream status | StreamStatus |
| Handle step items | StepItem |
StreamStatus to track the state of the generation stream.StepItem to represent individual steps in the generation process.Utilize StreamStatus to track the state of the generation stream, allowing for responsive UI updates.
import { StreamStatus } from '@/hooks/useGenerationStream';
const status: StreamStatus = StreamStatus.RUNNING; // Example usage
Use StepItem to represent individual steps in the generation process, enabling detailed tracking of progress.
import { StepItem } from '@/hooks/useGenerationStream';
test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.