Loading...
Loading...
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.
npx skill4agent add pproenca/dot-skills nginx-c-module-design| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Exposure Decisions | CRITICAL | |
| 2 | Naming Conventions | CRITICAL | |
| 3 | Directive Types | HIGH | |
| 4 | Scope Design | HIGH | |
| 5 | Default Values | MEDIUM-HIGH | |
| 6 | Validation & Error Messages | MEDIUM | |
| 7 | Variable Design | MEDIUM | |
| 8 | Evolution & Compatibility | LOW-MEDIUM | |
expose-configurable-vs-hardcodeexpose-escape-hatchexpose-feature-gateexpose-too-many-directivesexpose-path-resourceexpose-security-surfaceexpose-environment-dependentnaming-module-prefixnaming-sub-prefix-groupsnaming-noun-over-verbnaming-no-abbreviationsnaming-cross-module-consistencynaming-lowercase-underscoretype-flag-for-togglestype-enum-over-stringtype-time-size-unitstype-take-n-fixed-argstype-one-more-liststype-avoid-blocktype-custom-handler-complexscope-default-three-levelsscope-http-only-shared-resourcesscope-server-connection-levelscope-avoid-if-contextscope-location-path-operationsdefault-zero-config-safedefault-performance-optindefault-safety-ondefault-generous-timeoutsdefault-zero-unlimiteddefault-platform-aware-buffersvalid-parse-time-checkvalid-show-invalid-valuevalid-suggest-rangevalid-conflict-detectionvalid-actionable-guidancevar-runtime-data-onlyvar-naming-conventionvar-dynamic-prefixvar-lazy-evaluationvar-in-directive-valuesvar-read-only-diagnosticscompat-deprecation-warningcompat-alias-old-directivecompat-multi-version-windowcompat-document-migration| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |