Back to skills
SKILL.md
Types
ASecurityImported skill types from vercel
- 3 stars
- 0 votes
- 0 copies
- 1 view
- Added September 11, 2026
Security analysis
100/100npx -y skills add bitwikiorg/skills.md --skill types --agent claude-codeAre you the author of Types?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bitwikiorg-types)---
description: Imported skill types from vercel
name: types
signature: 677c9c0ef9108122bf35284e30b60d0c51a0ea17b2f54d9ab318b369b4a0a81e
source: /a0/tmp/skills_research/vercel/packages/react-best-practices-build/src/types.ts
---
/**
* Type definitions for React Performance Guidelines rules
*/
export type ImpactLevel = 'CRITICAL' | 'HIGH' | 'MEDIUM-HIGH' | 'MEDIUM' | 'LOW-MEDIUM' | 'LOW'
export interface CodeExample {
label: string // e.g., "Incorrect", "Correct", "Example"
description?: string // Optional description before code
code: string
language?: string // Default: 'typescript' or 'tsx'
additionalText?: string // Optional text after code block (explanations, reasons)
}
export interface Rule {
id: string // e.g., "1.1", "2.3"
title: string
section: number // Main section number (1-8)
subsection?: number // Subsection number within section
impact: ImpactLevel
impactDescription?: string // e.g., "2-10× improvement"
explanation: string
examples: CodeExample[]
references?: string[] // URLs or citations
tags?: string[] // For categorization/search
}
export interface Section {
number: number
title: string
impact: ImpactLevel
impactDescription?: string
introduction?: string
rules: Rule[]
}
export interface GuidelinesDocument {
version: string
organization: string
date: string
abstract: string
sections: Section[]
references?: string[]
}
export interface TestCase {
ruleId: string
ruleTitle: string
type: 'bad' | 'good'
code: string
language: string
description?: string
}
Attribution
Comments
Loading comments…