What problem does it solve?
Marginalia removes the guesswork in JavaScript/TypeScript codebases by adding concise, IDE-friendly JSDoc exactly where it matters most: public APIs and complex behavior.
Core Features & Use Cases
- Improve IDE hover and generated docs: Ensures public exports and package surfaces have documentation that matches real behavior and constraints.
- Document tricky boundaries: Adds JSDoc for generics, overloads, callback contracts, side effects, async behavior, lifecycle/SSR expectations, and runtime constraints.
- Keep comments brief and useful: Avoids documentation theater by using the smallest comment density that satisfies the request.
Quick Start
Use the marginalia skill to add concise JSDoc to the exported functions in a TypeScript package’s public API surface, without changing behavior.