Skip to main content

TheOrcDev/8bitcn-ui

SkillsMP 已收集 TheOrcDev/8bitcn-ui 中的 23 个 Skill。打开任一 Skill 可查看来源和详情。

最近记录的来源活动
SkillsMP 收录数据更新
已收集 skills
23
GitHub 星标
1,986
GitHub Forks
116

这个仓库中的 skills

已展示 23 / 23 个已收集 Skill。

职业分类
网页开发工程师
描述

Create pixelated borders, shadows, and effects for 8-bit retro components. Apply when building 8-bit styled UI components that need authentic pixel art aesthetics.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Create documentation with gaming-specific examples, retro styling, and 8-bit terminology. Apply when documenting gaming blocks, RPG components, or retro-styled UI elements.

原文语言:英语

更新
职业分类
网页开发工程师
描述

Optimize 8-bit animations for smooth performance. Apply when creating animated pixel art, game UI effects, or any retro-styled animations.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Import directly from source files instead of barrel files. Apply when using libraries like lucide-react, @mui/material, or @radix-ui/react-* to reduce bundle size and improve dev boot time.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use next/dynamic for lazy-loading heavy components. Apply when importing large components like editors, charts, or rich text editors that aren't needed on initial render.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Best practices for wrapping shadcn/ui components. Apply when creating 8-bit styled variants of existing shadcn/ui components.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Create component documentation with installation, usage examples, and preview sections. Apply when documenting 8-bit components with proper structure and examples.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Create MDX documentation files with proper frontmatter, imports, and component integration. Apply when creating or updating Fumadocs documentation pages in content/docs/.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Register 8-bit components in registry.json for shadcn/ui add command. Apply when adding new components to the component library distribution.

原文语言:英语

更新
职业分类
网页开发工程师
描述

Patterns for game-like interfaces - health bars, XP bars, mana bars. Apply when building RPG/retro gaming UI components with state-driven visuals.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use early returns to avoid unnecessary computation in loops and functions. Apply when processing arrays, validating input, or checking multiple conditions where the result can be determined before all iterations complete.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Hoist RegExp creation outside render or memoize with useMemo(). Apply when using regular expressions in React components or frequently called functions.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use Set and Map for O(1) membership lookups instead of array.includes(). Apply when checking membership repeatedly or performing frequent lookups against a collection.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use toSorted() instead of sort() to avoid mutating arrays. Apply when sorting arrays that are React props, state, or otherwise shared/referenced elsewhere.

原文语言:英语

更新
职业分类
网页开发工程师
描述

Register components in registry.json for shadcn/ui add command. Apply when adding new 8-bit components to the component library.

原文语言:英语

更新
职业分类
网页与数字界面设计师
描述

Wrap animated SVG elements in a div to enable hardware acceleration. Apply when animating SVG icons or elements, especially in 8-bit retro components with pixel art animations.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use explicit ternary operators instead of && for conditional rendering. Apply when rendering values that could be 0, NaN, or other falsy values that might render unexpectedly.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Extract static JSX elements outside components to avoid re-creation on every render. Apply when rendering static elements repeatedly or in lists.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use functional setState updates to prevent stale closures and unnecessary callback recreations. Apply when updating state based on the current state value in React components.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Use lazy state initialization with useState function form. Apply when computing expensive initial values like building search indexes, parsing JSON, or complex calculations.

原文语言:英语

更新
职业分类
软件开发工程师
描述

Extract expensive work into memoized components with React.memo. Apply when components perform expensive computations that can be skipped when props haven't changed.

原文语言:英语

更新
职业分类
网页开发工程师
描述

Organize 8-bit CSS with custom properties, pixel fonts, and responsive pixel art. Apply when creating or modifying retro-styled components and their CSS.

原文语言:英语

更新
职业分类
网页开发工程师
描述

UI component conventions for 8-bit styled components. Use when working with shadcn/ui components or implementing retro-styled UI elements.

原文语言:英语

更新
已展示 23 / 23 个已收集 Skill。