Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Light Comments

ASecurity

Keep comments light: short enough to read at a glance, and about the why rather than the what. Applies whenever writing or reviewing a comment or a doc block. Most blocks are one to four lines; history, anecdote and restatement of the code below are cut.

3 stars
0 votes
0 copies
1 views
Added 9/20/2026
developmentrustgogit

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lxsmnsyc/overwander --skill light-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Light Comments?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Light Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lxsmnsyc-light-comments/badge)](https://www.skillsdirectory.com/skills/lxsmnsyc-light-comments)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: light-comments
description: >
  Keep comments light: short enough to read at a glance, and about the
  why rather than the what. Applies whenever writing or reviewing a
  comment or a doc block. Most blocks are one to four lines; history,
  anecdote and restatement of the code below are cut.
---

A comment earns its place by saying something the code cannot. Write it short, write the reason, and stop.

## Rules

- **Length.** Most blocks are 1–4 lines. A block over ~8 lines needs a real reason to exist: a formula, a protocol, a subtle invariant, a module header.
- **Say the why.** The non-obvious reason, the constraint, the trap. Never restate the signature or the next line in prose.
- **No history.** Cut "It used to be…", "That is what was wrong with…", "This replaced…". The old design is in git; the comment describes what is here now.
- **No build-up.** One statement of the point, not a paragraph arriving at it. Cut rhetorical repetition and the second example that makes the same case as the first.
- **One idea per block.** If a doc block has three paragraphs about three things, either the thing does too much or two of them belong next to the code they are about.
- **Keep verbatim**: lint directives (`oxlint-disable…`), external links, formulas, and any warning that prevents a bug or a data loss.

## Doc blocks

Exported functions, types and constants keep a `/** */` block. It answers what the thing is and the one thing a caller could get wrong — not how it works inside.

Interface fields: one line each unless the field carries a rule (a default, a stored-empty convention, a value that must never be trusted).

## Inline comments

An inline `//` explains a line that looks wrong but is right. If the code is plainly readable, delete the comment instead of writing one.

## Examples

```ts
// Bad — history, build-up, and a restatement of the field name
/**
 * Whether this pokemon has changed hands in a trade.
 *
 * The history already says so — an entry with `Acquisition.Trade` in
 * it is exactly this fact — but a history is a list, and a list
 * cannot be asked of the store. This can: "which of mine came from
 * somebody else" is one query rather than a whole box read and
 * filtered, which is what the same argument buys `auctionable`.
 *
 * Nothing sets it yet: trading does not exist. It is written `false`
 * from the day catches are created so that the day it does, old
 * records do not have to be told apart from new ones by their shape
 */
traded: boolean;

// Good — the query reason, the consumer, the caveat
/**
 * Whether it has changed hands. A field rather than a read of
 * `history` so the store can be queried, and what opens a trade
 * evolution. Always false for now: trading does not exist, but the
 * field ships so old records match new ones later
 */
traded: boolean;
```

```ts
// Bad — says what the line says
// Loop over every unit on the field and add it to the list
for (const unit of battle.units()) { ... }

// Good — says what a reader would get wrong
// Copied first: the effect fields units mid-iteration, and a live
// view would visit whatever it added
for (const unit of [...battle.units()]) { ... }
```

## Prose style

Prose stays plain and complete — full sentences, no shorthand, no unresolvable references ("the fix", a bare ticket id). Light does not mean cryptic: a one-line comment that nobody can decode is worse than the paragraph it replaced.

Attribution

lxsmnsyclxsmnsyc
View sourceMore from lxsmnsyc →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284722 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →