pproenca avatar

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-code

Installs 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
1spillwavesolutions avatarconfluencespillwavesolutions/confluence-skillManage Confluence documentation with downloads, uploads, conversions, and diagrams. Use when asked to "download Confluence pages", "upload to Confluence", "conv365skills.sh installs
2zenmux avatarzenmux-feedbackzenmux/skillsSubmit GitHub issues, feature requests, bug reports, product suggestions, and feedback to the ZenMux repository (ZenMux/zenmux-doc). Use this skill whenever the357skills.sh installs
3jezweb avatardeveloper-toolboxjezweb/claude-skillsEssential development workflow agents for code review, debugging, testing, documentation, and git operations. Includes 7 specialized agents with strong auto-dis355skills.sh installs
4manojbajaj95 avatarconversion-rate-optimizationmanojbajaj95/claude-gtm-pluginConversion rate optimization for marketing pages and lead-capture forms. Use when the user wants to improve conversions on a homepage, landing page, pricing pag355skills.sh installs
5riba2534 avatarfeishu-cli-driveriba2534/feishu-cli飞书云盘增强命令组。分块上传大文件(≥20MB 自动 3 段式)、流式下载、 文档异步导出(markdown 快捷路径 / sheet+bitable csv / sub-id / 有界轮询 + resume)、 文档异步导入、文件/文件夹移动(folder 自动轮询)、富文本评论(text/mention_user/352skills.sh installs
6pproenca avatardockerfile-optimisepproenca/dot-skillsDockerfile optimization guidelines from official Docker documentation. This skill should be used when writing, reviewing, or refactoring Dockerfiles to ensure o351skills.sh installs