Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nginx-c-module-perf

БесплатноБез исполняемых скриптовНе проверен

nginx C module performance optimization and reliability guidelines based on the official nginx development guide. This skill should be used when optimizing…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

nginx.org C Module Performance & Reliability Best Practices

Comprehensive performance optimization and reliability guide for nginx C modules, derived from the official nginx development documentation and production engineering experience. Contains 43 rules across 8 categories, prioritized by impact to guide automated optimization and resilience improvements.

Companion skill: This skill complements nginx-c-modules which covers correctness (memory safety, request lifecycle, configuration). This skill covers performance optimization and operational reliability.

When to Apply

Reference these guidelines when:

  • Optimizing nginx C module throughput and latency
  • Reducing buffer copies and enabling zero-copy I/O paths
  • Tuning connection pooling and socket options
  • Minimizing shared memory lock contention across workers
  • Implementing graceful error recovery and fallback responses
  • Configuring upstream timeouts and retry strategies
  • Building in-module response caches with shared memory
  • Tuning worker process behavior under load

Rule Categories by Priority

Priority Category Impact Prefix
1 Buffer & Zero-Copy I/O CRITICAL buf-
2 Connection Efficiency CRITICAL conn-
3 Lock Contention & Atomics HIGH lock-
4 Error Recovery & Resilience HIGH err-
5 Timeout & Retry Strategy MEDIUM-HIGH timeout-
6 Response Caching MEDIUM cache-
7 Worker & Process Tuning MEDIUM worker-
8 Logging & Metrics LOW-MEDIUM log-

Quick Reference

1. Buffer & Zero-Copy I/O (CRITICAL)

2. Connection Efficiency (CRITICAL)

3. Lock Contention & Atomics (HIGH)

4. Error Recovery & Resilience (HIGH)

5. Timeout & Retry Strategy (MEDIUM-HIGH)

Полный SKILL.md на GitHub

Установить nginx-c-module-perf в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/buf-avoid-copy.mdreferences/buf-chain-reuse.mdreferences/buf-coalesce-small.mdreferences/buf-file-sendfile.mdreferences/buf-recycled-flag.mdreferences/buf-shadow-reference.mdreferences/cache-conditional-store.mdreferences/cache-key-hash.mdreferences/cache-shm-lru.mdreferences/cache-stampede-lock.mdreferences/cache-ttl-atomic.mdreferences/conn-close-linger.mdreferences/conn-drain-pressure.mdreferences/conn-prealloc-pool.mdreferences/conn-reusable-queue.mdreferences/conn-ssl-session-reuse.mdreferences/conn-tcp-nodelay.mdreferences/err-blocked-counter.mdreferences/err-cache-errno.mdreferences/err-connection-error-check.mdreferences/err-fallback-response.mdreferences/err-log-once-pattern.mdreferences/err-resource-exhaustion.mdreferences/lock-alloc-outside.mdreferences/lock-atomic-counters.mdreferences/lock-minimize-critical.mdreferences/lock-per-worker-aggregate.mdreferences/lock-rw-pattern.mdreferences/lock-trylock-fallback.mdreferences/log-action-string.mdreferences/log-connection-context.mdreferences/log-error-dedup.mdreferences/log-level-guard.mdreferences/log-shared-metrics.mdreferences/timeout-backoff-reconnect.mdreferences/timeout-client-body-limit.mdreferences/timeout-retry-next-upstream.md

FAQ

Что делает скилл nginx-c-module-perf?

nginx C module performance optimization and reliability guidelines based on the official nginx development guide. This skill should be used when optimizing nginx C modules for throughput, latency, memory efficiency, and operational resilience. Triggers on tasks involving buffer optimization, connection tuning, shared memory contention, error recovery, timeout strategy, caching implementation, worker process tuning, or logging performance in nginx C modules.

Как установить скилл nginx-c-module-perf?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nginx-c-module-perf запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nginx-c-module-perf с