Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This layer manages the user interface and user experience of the application. Trigger: When working in frontend/ — adding, modifying, or debugging UI components and interactions.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -54% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -64% | 0% |
| case-01 | ✓→✓ | = Same ✓ | -50% | 0% |
<!-- L1:START -->
This skill covers the frontend layer of the application, focusing on UI components and interactions.
Trigger: When working in frontend/ — adding, modifying, or debugging UI components and interactions. <!-- L1:END -->
<!-- L2:START -->
| Task | Pattern | |--------------------|----------------------------------| | Create a new component | export const NewComponent = () => { ... } |
<!-- L2:END -->
<!-- L3:START -->
Each component should be a functional component returning JSX.
typescript// apps/web/src/components/NewComponent.tsx export const NewComponent = () => { return <div>New Component</div>; };
Use ErrorBoundary to catch and display errors gracefully.
typescript// apps/web/src/components/ErrorBoundary.tsx import React from 'react'; export class ErrorBoundary extends React.Component { // Error handling logic }
bashnpm run start npm run build
Directly modifying shared state can lead to unpredictable UI behavior.
typescript// BAD state.sharedValue = newValue; // This breaks the state management
<!-- L3:END -->
Other measured skills in the registry, with their headline benchmark lift.