MCP HubMCP Hub
Вернуться к навыкам

web-artifacts-builder-performance

vamseeachanta
Обновлено Today
12 просмотров
3
2
3
Посмотреть на GitHub
Другоеdesign

О программе

Этот поднавык, ориентированный на производительность, предоставляет лучшие практики для оптимизации веб-артефактов. Он включает рекомендации по минимизации зависимостей, использованию CDN, ленивой загрузке и оптимизации изображений, а также стандарты доступности и адаптивного дизайна. Используйте его при создании веб-компонентов, чтобы обеспечить их высокую скорость, доступность и адаптивность для мобильных устройств.

Быстрая установка

Claude Code

Рекомендуется
Основной
npx skills add vamseeachanta/workspace-hub
Команда плагинаАльтернативный
/plugin add https://github.com/vamseeachanta/workspace-hub
Git клонированиеАльтернативный
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/web-artifacts-builder-performance

Скопируйте и вставьте эту команду в Claude Code для установки этого навыка

Документация

Performance (+2)

Performance

  1. Minimize dependencies: Only include what you need
  2. Use CDN with version pinning: [email protected] not library@latest
  3. Lazy load when possible: Defer non-critical scripts
  4. Optimize images: Use SVG or base64 for small images

Accessibility

<!-- Always include -->
<html lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Use semantic HTML -->
<main>, <nav>, <article>, <section>, <header>, <footer>

<!-- Add ARIA labels -->
<button aria-label="Close dialog">x</button>

<!-- Ensure color contrast -->
/* Minimum 4.5:1 for normal text */

Responsive Design

/* Mobile-first approach */
.container {
    padding: 10px;
}

@media (min-width: 768px) {
    .container {
        padding: 20px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

GitHub репозиторий

vamseeachanta/workspace-hub
Путь: .claude/skills/_internal/builders/web-artifacts-builder/performance

Похожие навыки

content-collections

Мета

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

Просмотреть навык

polymarket

Мета

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

Просмотреть навык

creating-opencode-plugins

Мета

This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.

Просмотреть навык

cloudflare-turnstile

Мета

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

Просмотреть навык