skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
pproenca/dot-skills329 installs

nginx-c-modules

nginx C module development guidelines based on the official nginx development guide. This skill should be used when writing, reviewing, or refactoring nginx C modules to ensure correct memory management, request lifecycle handling, and event-driven patterns. Triggers on tasks involving nginx module development, ngx_http_module_t, handler/filter/upstream implementation, pool allocation, or nginx configuration directives.

How do I install this agent skill?

npx skills add https://github.com/pproenca/dot-skills --skill nginx-c-modules
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a set of development guidelines and best practices for authoring nginx C modules, focusing on memory safety and the request lifecycle. No malicious behavior, obfuscation, or data exfiltration risks were identified.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1/53 files flagged

What does this agent skill do?

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

PriorityCategoryImpactPrefix
1Memory ManagementCRITICALmem-
2Request LifecycleCRITICALreq-
3Configuration SystemHIGHconf-
4Handler DevelopmentHIGHhandler-
5Filter ChainMEDIUM-HIGHfilter-
6Upstream & ProxyMEDIUMupstream-
7Event Loop & ConcurrencyMEDIUMevent-
8Data Structures & StringsLOW-MEDIUMds-

Quick Reference

1. Memory Management (CRITICAL)

2. Request Lifecycle (CRITICAL)

3. Configuration System (HIGH)

4. Handler Development (HIGH)

5. Filter Chain (MEDIUM-HIGH)

6. Upstream & Proxy (MEDIUM)

7. Event Loop & Concurrency (MEDIUM)

8. Data Structures & Strings (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

FileDescription
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/pproenca/dot-skills/nginx-c-modules">View nginx-c-modules on skillZs</a>