agentleFS
ajipalarajipalar/skillkit/skills/addressing-comments/SKILL.md

addressing-comments

Skill0 starsChanged 6 months agoMITView on GitHub

Use when the user asks to address, resolve, answer, or respond to COMMENT: markers left in a spec, plan, design doc, or other .md file. Triggers on requests like "address my comments", "resolve the comments in the plan", "respond to the COMMENT/ANSWER blocks", or reviewing a doc that contains COMMENT:, ANSWER:, ACCEPTED, or REJECTED: fields.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After processing all chains, report results and the implementation gate (see below).

    line 43
  2. Very specific:

    Delete the whole comment chain (the COMMENT:, every ANSWER:, and every ACCEPTED/ REJECTED: line in it).

    line 60
  3. Distinctive:

    When uncertain, the answer is a question — make it specific enough that one reply unblocks it.

    line 68
  4. Very specific:

    When answering a REJECTED:, treat the rejection text as the spec for what to fix.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Addressing Comments

Overview

A reviewer leaves inline notes in a spec or plan as COMMENT: fields. Your job is to respond to each one in an ANSWER: field, apply the ones the reviewer has accepted, and keep answering the ones they have pushed back on — without touching anything else in the document.

Core constraint: the only prose you may write is ANSWER: text. The single exception is applying an ACCEPTED comment's resolution to the rest of the document. Never revise, reword, or "improve" any other part of the doc.

Marker grammar

Markers are plain text at the start of a line:

  • COMMENT: — a reviewer note. Begins a comment chain.
  • ANSWER: — a response to the most recent comment or rejection.
  • ACCEPTED — the reviewer accepts the preceding answer (keyword alone, no text needed).
  • REJECTED: — the reviewer rejects the preceding answer; text after it explains why.

A chain is one COMMENT: plus the alternating ANSWER: / disposition entries that follow it, up to the next COMMENT: or the end of the document. A chain can grow long:

COMMENT: This timeout seems too short.
ANSWER: Increased to 30s to allow for cold starts.
REJECTED: 30s is still too short for batch jobs.
ANSWER: Made it configurable; default 120s.

The procedure

  1. Confirm which file to work on (ask if the user did not name one).
  2. Find every COMMENT: in the file and identify each chain.
  3. For each chain, look at its terminal state (the last marker) and act per the table below.
  4. After processing all chains, report results and the implementation gate (see below).

Decide by the chain's terminal state

Chain ends with…Do thisOutcome
ACCEPTEDRemove the entire chain, then edit the rest of the document so it reflects the accepted resolution (described by the final ANSWER:, in service of the original COMMENT:).Resolved — chain removed
REJECTED: <reason> (no answer after it)Append a new ANSWER: that directly addresses the rejection reason.Stays — still dangling
COMMENT: (no answer yet)Append an ANSWER:. If you cannot answer confidently without a decision or information only the user has, write the ANSWER as a question back to the user.Stays — still dangling
ANSWER: (no disposition after it)Leave it untouched — the reviewer has not yet accepted or rejected.Stays — still dangling

Applying an ACCEPTED comment

"Accepted" means the reviewer agreed with the resolution in the final ANSWER:. To apply it:

  1. Implement that resolution in the document body — update the affected sections, tables, lists, or steps so the doc now says what the answer promised.
  2. Delete the whole comment chain (the COMMENT:, every ANSWER:, and every ACCEPTED/ REJECTED: line in it).
  3. Make these edits autonomously, then summarize: what chain you removed and which sections you changed. Do not ask for approval first.

Writing a good ANSWER

  • Address the comment directly and concretely; do not restate it.
  • When uncertain, the answer is a question — make it specific enough that one reply unblocks it.
  • When answering a REJECTED:, treat the rejection text as the spec for what to fix. Do not repeat the rejected answer; resolve the objection.

The implementation gate

A spec or plan with any remaining comment chain is not ready to implement. After a pass, always report:

  • Comments answered (new ANSWER: written)
  • Comments re-answered after a rejection
  • Comments accepted and applied (with a one-line summary of each doc change)
  • Dangling comments still in the document — count and line references

Then state plainly: while dangling comments remain, the spec/plan must not proceed to implementation. If the user asks to implement anyway, surface the dangling comments first.

Common mistakes

MistakeFix
Editing doc prose while merely answering a commentOnly ACCEPTED comments let you touch other prose. Answering = write ANSWER: only.
Removing a COMMENT:/ANSWER: pair that has no ACCEPTEDOnly remove a chain whose terminal state is ACCEPTED.
Re-answering a chain that already ends in an unaccepted ANSWER:If it ends with ANSWER: and no disposition, leave it alone.
Ignoring the REJECTED: text and repeating the old answerThe rejection text is the requirement for the new answer.
Inventing an answer when you lack the needed decisionWrite the ANSWER: as a precise question to the user instead.
Declaring the plan ready while comments remainAny remaining chain blocks implementation. Report it.

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.