Agent skill
types
Imported skill types from vercel
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/types
SKILL.md
/**
- 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 }
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?