Command Palette

Search for a command to run...

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

nginx-c-module-design

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

nginx C module directive design guidelines for creating admin-friendly configuration interfaces. This skill should be used when designing nginx module…

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

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

nginx.org C Module Directive Design Best Practices

Comprehensive directive design guide for nginx C module authors, focused on creating clear, consistent, and admin-friendly configuration interfaces. Contains 46 rules across 8 categories, prioritized by impact to guide decisions about what to expose, how to name it, and how to evolve it safely.

When to Apply

Reference these guidelines when:

  • Deciding which values to expose as directives vs hardcode
  • Naming new directives and choosing argument types
  • Selecting scope placement (http, server, location)
  • Setting default values and validation behavior
  • Designing nginx variables for runtime data
  • Deprecating or renaming existing directives

Companion Skills

This skill focuses on design decisions (the "what" and "why"). For implementation mechanics, see:

  • nginx-c-modules — C implementation: memory pools, request lifecycle, config parsing, handlers, filters
  • nginx-c-perf — Performance: buffers, connections, locks, caching, timeouts
  • nginx-c-debug — Debugging: crash diagnosis, GDB, tracing, sanitizers

Rule Categories by Priority

Priority Category Impact Prefix
1 Exposure Decisions CRITICAL expose-
2 Naming Conventions CRITICAL naming-
3 Directive Types HIGH type-
4 Scope Design HIGH scope-
5 Default Values MEDIUM-HIGH default-
6 Validation & Error Messages MEDIUM valid-
7 Variable Design MEDIUM var-
8 Evolution & Compatibility LOW-MEDIUM compat-

Quick Reference

1. Exposure Decisions (CRITICAL)

2. Naming Conventions (CRITICAL)

3. Directive Types (HIGH)

4. Scope Design (HIGH)

5. Default Values (MEDIUM-HIGH)

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

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

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

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

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

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

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

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

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

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/compat-alias-old-directive.mdreferences/compat-deprecation-warning.mdreferences/compat-document-migration.mdreferences/compat-multi-version-window.mdreferences/default-generous-timeouts.mdreferences/default-performance-optin.mdreferences/default-platform-aware-buffers.mdreferences/default-safety-on.mdreferences/default-zero-config-safe.mdreferences/default-zero-unlimited.mdreferences/expose-configurable-vs-hardcode.mdreferences/expose-environment-dependent.mdreferences/expose-escape-hatch.mdreferences/expose-feature-gate.mdreferences/expose-path-resource.mdreferences/expose-security-surface.mdreferences/expose-too-many-directives.mdreferences/naming-cross-module-consistency.mdreferences/naming-lowercase-underscore.mdreferences/naming-module-prefix.mdreferences/naming-no-abbreviations.mdreferences/naming-noun-over-verb.mdreferences/naming-sub-prefix-groups.mdreferences/scope-avoid-if-context.mdreferences/scope-default-three-levels.mdreferences/scope-http-only-shared-resources.mdreferences/scope-location-path-operations.mdreferences/scope-server-connection-level.mdreferences/type-avoid-block.mdreferences/type-custom-handler-complex.mdreferences/type-enum-over-string.mdreferences/type-flag-for-toggles.mdreferences/type-one-more-lists.mdreferences/type-take-n-fixed-args.mdreferences/type-time-size-units.mdreferences/valid-actionable-guidance.mdreferences/valid-conflict-detection.md

FAQ

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

nginx C module directive design guidelines for creating admin-friendly configuration interfaces. This skill should be used when designing nginx module directives — deciding what to expose vs hardcode, naming conventions, scope placement, default values, variable design, and validation patterns. Triggers on tasks involving ngx_command_t design, directive naming, configuration API design, nginx module public interface, or directive deprecation.

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

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

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

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

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

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