
Nginx C Modules
If you're writing nginx C modules, this consolidates the official development guide into 49 prioritized rules across memory management, request lifecycle, and the event loop. The categories are weighted by impact, so you hit the critical stuff first: pool allocation patterns, request finalization pitfalls, and async body reading. It's genuinely useful for catching the subtle mistakes that cause crashes in production, like accessing requests after finalization or forgetting cleanup handlers for external resources. The references cover everything from basic handler registration to upstream peer management and thread pool offloading. Worth pulling in when you're beyond the hello world phase and dealing with real module complexity.
- skills.sh installs
- 365
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill nginx-c-modules --agent claude-codeInstalls into .claude/skills of the current project.
Files
nginx.org C Module Development Best Practices
Comprehensive development guide for nginx C modules, derived from the official nginx development documentation and community expertise. Contains 49 rules across 8 categories, prioritized by impact to guide correct module implementation and prevent common crashes, memory leaks, and undefined behavior.
When to Apply
Reference these guidelines when:
- Writing new nginx C modules (handlers, filters, upstream, load-balancers)
- Implementing configuration directives and merge logic
- Managing memory with nginx pools and shared memory zones
- Handling the HTTP request lifecycle (body reading, subrequests, finalization)
- Working with nginx's event loop, timers, and thread pools
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Documentation, Code Review & Quality
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- 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
- Think301
- Ruby Refactor299