Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ledgerhq/redux-slice
Redux Toolkit createSlice best practices
Passed 19 of 22 test cases with the skill, and 16 of 22 without it.
and 1 more in the full report
3 fixed16 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Define a state interface for a session slice with an authentication token and user ID, and write the initial state object definition in TypeScript.
| Checked | Without skill | With skill |
|---|---|---|
| The initial state uses the satisfies keyword against the session state interface. | Missed | Passed |
The instructions your model reads when the skill loads.
name for action type prefixesinitialState with satisfies// ✅ GOOD
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
interface MyState {
value: number;
status: "idle" | "loading" | "error";
}
const initialState: MyState = {
value: 0,
status: "idle",
};
const mySlice = createSlice({
name: "myFeature",
initialState,
reducers: {
setValue: (state, action: PayloadAction<number>) => {
state.value = action.payload;
},
setStatus: (state, action: PayloadAction<MyState["status"]>) => {
state.status = action.payload;
},
},
});
export const { setValue, setStatus } = mySlice.actions;
export default mySlice.reducer;
test cases passed, vs 16 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.