litestar-debugging

Installation
SKILL.md

Debugging

Execution Workflow

  1. Reproduce the issue with the smallest possible app, route, or test case.
  2. Identify the failing layer first: requests, routing, dependency injection, middleware, auth, responses, exception handling, or lifecycle.
  3. Turn on only the minimum safe diagnostics needed: local debug=True, focused logs, or temporary assertions.
  4. Inspect the boundary where the behavior diverges from expectation.
  5. Fix the root cause, remove temporary diagnostics, and add a regression test.
  6. Re-run the affected tests and re-check the surrounding contract for regressions.

Core Rules

  • Keep debug=True local-only.
  • Prefer deterministic logs, assertions, and focused reproduction apps over ad hoc print debugging.
  • Narrow the failing layer before changing code.
  • Use request and app loggers for evidence, not speculation.
  • Keep debug output free of secrets and sensitive payloads.
  • Remove temporary diagnostics once the root cause is understood.
Related skills

More from alti3/litestar-skills

Installs
16
GitHub Stars
5
First Seen
Mar 2, 2026