
Nginx C Module Design
If you're writing nginx C modules, this is your guide for designing the configuration interface admins will actually use. It covers 46 rules across exposure decisions (what to make configurable vs hardcode), naming conventions, directive types, scope placement, defaults, and validation. The priority ranking is helpful: it puts the critical stuff like naming and exposure first, then works down to compatibility concerns. Think of it as the design phase counterpart to implementation skills like nginx-c-modules. The framework for deciding configurable vs hardcoded is solid, and the cross-module consistency rules will save you from inventing your own conventions poorly.
- skills.sh installs
- 369
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill nginx-c-module-design --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Backend & APIs, Code Review & Quality, Design & UI/UX
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Vite367
- Nginx C Modules365
- Ios Animations355
- Dockerfile Optimise351
- Uniwind348
- 37signals Rails340
- Ast Grep340
- Audio Voice Recovery340
- Orval338
- Mui Base335
- Codemod334
- Vhs331
- Skill Authoring330
- Unix Cli326
- Python323
- Rust Refactor322
- Ios Design System319
- 12 Factor App318
- Js Google317
- Tailwind Refactor314
- Pulumi310
- Harness Engineering305
- Ios Hig303
- Rails Testing301