agentleFS
sozercansozercan/kaset/.agents/skills/delete-comment/SKILL.md

delete-comment

Skill2.7k starsChanged 8 days agoMITView on GitHub

Audit or remove Kaset source comments, classify them as tautology, excuse, stale, or decision record, and verify the comment ratchet. Do not use for end-user YouTube comments or general documentation editing.

25 other projects use a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about sozercan/kaset

The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 21

Talked about on GitHub and Bluesky (21 times).

On GitHub · 17

12 more on GitHub

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read each comment with its code and relevant tests, docs, or Git history.

    line 10

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Delete Comment

From the repository root, use python3 Scripts/comment_lint.py --inventory to count comments and python3 Scripts/comment_lint.py --list to locate them. Add --revision <ref> to inventory committed state. Use the SwiftFormat version pinned in .github/workflows/lint.yml. Read ADR-0042 for gate coverage and exceptions; inspect comments in embedded code manually if it is in scope.

Read each comment with its code and relevant tests, docs, or Git history. Treat consecutive lines that convey one thought as one comment for review, even though the linter counts each line-comment token separately. Classify and act:

CategoryEvidenceAction
TautologyRepeats what the code already makes evident.Delete it.
ExcuseRationalizes actual implementation debt with a plausible better approach.Search for an existing issue, then delete the comment and link that issue or file a new one when authorized. Include affected code and a testable outcome. Don't fix the implementation in the cleanup.
StaleDescribes behavior, a constraint, or a next step that no longer applies.Verify against current code or history, then delete it.
Decision RecordExplains a non-obvious invariant, tradeoff, or external constraint that's still relevant.Update a relevant ADR or create one in docs/adr/, then remove the inline version.

Preserve required headers, generated metadata, vendored code, active lint or formatter directives, and exact # vX.Y.Z release annotations on SHA-pinned GitHub Actions uses: entries. Verify the annotation against the tag without changing the pin. Remove a directive only after verifying its target no longer needs it. The ratchet still rejects new directives, so the inventory can be nonzero even when no prose remains. For an exhaustive audit, check embedded JavaScript, CSS, shell, and heredoc source separately; preserve comment-like string content such as help text and parser fixtures. For a large audit, work in reviewable batches and distinguish the locations inventoried from those actually classified. If issue filing isn't authorized or cannot be completed, report the candidate and leave the comment until the follow-up is recorded.

Run python3 Scripts/comment_lint.py --base <merge-base> and relevant checks. For a main-bound branch, find the merge base with git merge-base HEAD origin/main. Use --list to confirm what remains. Report before/after comment-only lines, any manually counted embedded removals, documents and issues created or reused, and retained exceptions. Mixed code/comment lines and new ADR text are not source-line savings.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.