agentleFS
py-econometricspy-econometrics/pyfixest/.agents/skills/delete-comment/SKILL.md

delete-comment

Skill370 starsChanged 4 days agoMITView on GitHub

Audit comments in pyfixest, remove redundant and stale prose, record implementation follow-ups, keep local constraints, and move cross-module decisions into ADRs.

25 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the requested scope or default to the tracked Python source and stub files under pyfixest/.

    line 8

“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 comments

Use the requested scope or default to the tracked Python source and stub files under pyfixest/. Tokenize the files to find actual comments, then read each one with its surrounding code. Consecutive lines can be reviewed together when they explain the same thing. Keep source locations and dispositions for the summary.

  • Tautology repeats the code. Delete it.
  • Excuse explains away a shortcut or workaround. Document the concrete implementation problem and desired behavior in an existing or new issue when publication is authorized, or in the requested summary. Delete the comment once its follow-up is captured. Keep the implementation change separate.
  • Stale refers to obsolete behavior, tooling, or commented-out code. Confirm against the current implementation, then delete it.
  • Constraint gives a reason the adjacent code cannot show: an invariant, a required order, a library or hardware limit, the source of a formula. Without it a reader might "fix" the code. Keep it beside the code and tighten its wording. It is not an ADR, however durable.
  • Decision Record explains a choice between real alternatives that spans modules and is costly to reverse. Capture the decision, the rejected alternative, and the reason in a related ADR or a new one, then delete the comment. An ADR states only what stays true when the files it mentions are rewritten. Record intentional differences from R in the compatibility ledger.

Preserve license and attribution notices, interpreter declarations, and tooling directives until their requirements have another home. Record the disposition of deferred comments in the summary. Follow the issue style when preparing GitHub issues.

Confirm the diff changes only comments and related whitespace in the package. Report comment-only lines removed separately from inline comments stripped, and count what remains of each.

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.