Skip to content

Revise Skill

The Revise Skill (atelier-revise) reads a markdown document that contains annotation feedback from the Atelier editor, proposes targeted edits using inline tracked changes, and replies to each annotation in an embedded conversation thread.

Annotations are stored directly in the document as HTML tags — no separate file or data structure. The skill edits the document in place; the Atelier editor renders the proposed changes for you to accept or reject.

  • A markdown document has annotations in the Atelier editor and you want AI to address the feedback
  • You are iterating on a plan or spec and want to send follow-up comments on previous suggestions
  • You want AI to revise a document based on inline comments without leaving the editor
  • file — Path to the markdown document being revised.

The skill classifies each annotation in the document and processes it accordingly:

StateConditionWhat the skill does
New feedbackHighlighted text with a first user: commentProposes edits and replies in the thread
Follow-upExisting edit with a new user: commentRevises the edit and replies
AmbiguousComment too vague to act on confidentlyAsks a clarifying question
ResolvedLast turn in the thread is from the agentLeft unchanged
Document-wideuser: comment with no highlighted spanReads the full document and applies edits across sections

For annotations that reference an external file (e.g. [data-model.md](./specs/data-model.md)), the skill delegates to a grounding subagent that reads the relevant section before making edits.

When you reply to an existing annotation in the sidebar, the editor sends a targeted prompt that lists only the annotation IDs with new replies. The skill reads just those sections and skips a full document pass, making follow-up rounds faster.

Annotations are stored as HTML tags embedded in the markdown file. All four tag types for one annotation share the same data-ann ID:

  • <mark data-ann="a1"> — Text you highlighted in the editor
  • <aside data-ann="a1"> — The conversation thread (turns prefixed with user: or agent:)
  • <del data-ann="a1"> — Text the skill suggests removing
  • <ins data-ann="a1"> — Text the skill suggests inserting

Block-level structural changes (heading level, table rows, list type) use data-ann and data-op attributes on the block element directly instead of inline <del>/<ins> tags.

From the Atelier markdown editor, click the Revise button on any annotated plan or document. The default prompt template is:

Revise '{{title}}' using /atelier-revise file={{file}}

You can also run directly in Claude Code: /atelier-revise file=path/to/document.md