production-performance-and-efficiency
Enforces production-grade performance, resource efficiency, and architectural rigor. Focuses on minimizing latency, unnecessary work, network transfers, and…
от hemanth17r★ 33 звезды на GitHub
Установить production-performance-and-efficiency в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Production Performance & Efficiency Standards
Core Principles
Build for correctness, security, reliability, maintainability, and efficiency. Minimize unnecessary computation, data transfer, database operations, network requests, and user waiting time.
Rules
- Minimize Resource Overhead: Avoid redundant work, duplicate queries, payload bloat, unnecessary re-renders, or blocking main-thread computations.
- Justified Optimization Patterns: Apply pattern techniques only when justified by architecture or scale requirements:
- Caching: Store expensive compute or frequent immutable queries.
- Batching & Concurrency: Group operations and run independent tasks concurrently.
- Lazy Loading & Pagination: Defer non-critical resource loading and paginate large datasets.
- Background Processing: Offload long-running operations off the critical user-waiting path.
- No Premature Optimization: Do NOT introduce complex optimizations without a demonstrated bottleneck, measurable impact, or clear architectural reason.
- Validation & Metrics: Verify performance improvements using application-specific tests, metrics, or performance audits (e.g., Lighthouse / DevTools).
3. Just-In-Time (JIT) Telemetry & Sub-Module Isolation Protocol
When designing complex dashboards, administrative portals, or multi-tab screens:
- Single-Page In-Memory Living Shell (Zero Hard Multi-Page Roundtrips):
- Strictly forbid splitting operator, merchant, or admin dashboards into separate hard Next.js routes (
/admin/tab-a,/store/tab-b) withforce-dynamicthat destroy DOM state and force multi-hop SSR roundtrips on every tab tap. - Every operator dashboard MUST be architected as a single-page in-memory living shell where tab switches occur in 0ms via URL hash (
#module), preserving operator search terms, filters, and scroll positions in client memory (loadedModules).
- Strictly forbid splitting operator, merchant, or admin dashboards into separate hard Next.js routes (
- Sub-30ms Instant Mount Telemetry:
- Initial server-rendered payload or client mount must strictly fetch scalar aggregate counts (
count: 'exact',head: true, or specialized summary RPCs). - Strictly forbid dumping bulk entity rows, large catalog tables, or deep relational joins on root screen load.
- Initial server-rendered payload or client mount must strictly fetch scalar aggregate counts (
- On-Demand JIT Sub-Module Fetching & Memory Caching:
- Defer sub-module, tab, drawer, and modal data loading until direct user activation.
- Maintain client module state (
loadedModules) to cache fetched results in memory—guaranteeing 0ms subsequent tab navigation without redundant database roundtrips. - Always expose an explicit "Sync Live / Refresh" trigger allowing operators to invalidate and reload the active module on demand.
- URL State & Navigation Reversibility:
- Synchronize active sub-modules with the URL (hash
#moduleor search param?tab=module). - Ensure bookmarking, browser back/forward buttons, and page refreshes preserve the exact operator context.
- Synchronize active sub-modules with the URL (hash
- Domain-Isolated Sub-Component Architecture:
- Never build monolithic multi-tab components (>300 lines combining distinct operational domains).
- Decompose every tab, filter strip, modal, and metric bar into single-responsibility sub-components under a dedicated
/components/sub-directory.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл production-performance-and-efficiency?
Enforces production-grade performance, resource efficiency, and architectural rigor. Focuses on minimizing latency, unnecessary work, network transfers, and DB operations using justified optimizations. Trigger when the task involves optimizing bottlenecks, reducing payload/query overhead, or when asked to "build for efficiency", "optimize performance", "production performance", "performance audit", "this is slow", "speed this up", "speed up", "too slow", "reduce latency", "optimize this", or "too many DB calls".
Как установить скилл production-performance-and-efficiency?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл production-performance-and-efficiency запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…