AgentStack
SKILL verified MIT Self-run

Inline Docs

skill-ethan-ngai-skills-inline-docs · by ethan-ngai

Document code using efficient inline comments. Use whenever writing, editing, or reviewing code or if the user mentions documentation.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-ethan-ngai-skills-inline-docs

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Inline Docs? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Inline Documentation

Documentation remedies ambiguity and supplies missing context. Good code is self-documenting — it shows the what, so a comment must earn its place by adding the why. Keep docs lean.

What to document

  • Comment where the code surprises: intent, constraints, workarounds, logic that looks wrong but works. Add the why when it spares the reader a wrong guess; let plain code speak for itself.
  • Reserve inline comments for genuinely complicated logic; short phrases.
  • Mark unfinished work with TODO/FIXME.
  • Keep a comment beside its code and revise both in one edit; comments rot as code drifts.
  • Write for the future reader, who knows the code but not your session or the surrounding stack: keep comments timeless and self-contained.

How to write it

  • Use block doc comments (JavaDoc, JSDoc, docstrings) for the standard, dev-readable format.
  • Write like a senior developer: terse fragments, human names, specific over generic.
  • Every comment is signal: cut the noise (keeps, so, because, stays), and prefer commas and semicolons to full sentences.
  • Shun ceremony: structure speaks for itself, so section headers like // -------- Variables -------- only bloat tokens.
  • Use typeable ASCII only; it keeps docs easy to edit.

Language References

Load in the specific documentation standard(s) for the current project:

| Language | Reference | | --- | --- | | JavaScript/TypeScript | [JSDoc](jsdoc.md) |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.