What problem does it solve?
This Skill provides in-depth knowledge for developing and debugging the Navigator Go submodule, a critical component for multi-tenant web server management. It clarifies complex configuration parsing, request handling, and common bug patterns, empowering you to implement fixes and enhancements efficiently.
Core Features & Use Cases
- Configuration Flow Deep Dive: Understand the critical YAML-to-Go struct conversion process, highlighting common pitfalls like missing
yaml tags or incomplete parsing logic.
- Request Handler Order: Learn the precise order of operations in
ServeHTTP(), which is crucial for security, correct routing, and preventing authentication bypasses.
- Development & Testing Workflow: Follow a step-by-step guide for adding new config options or handler behavior, complete with comprehensive testing requirements and commands.
- Use Case: If a new configuration option for Navigator isn't being applied, use this skill to quickly identify if the field is missing from
YAMLConfig, lacks a yaml tag, or if the parsing logic in parser.go is incomplete, guiding you directly to the fix.
Quick Start
Use the navigator skill to understand how to add a new configuration option to the Navigator Go server, including the necessary steps for types.go and parser.go.