fix

star 2

Use proactively โ€” without being asked โ€” in two situations: (1) when performing a document review, write findings as ๐Ÿค–{} markers inline in the file rather than a separate report; (2) when a file contains ๐Ÿค– inline markers to process, apply them. Invoked as /fix <path-to-file> for processing markers.

xianxu By xianxu schedule Updated 6/7/2026

name: fix description: "Use proactively โ€” without being asked โ€” in two situations: (1) when performing a document review, write findings as ๐Ÿค–{} markers inline in the file rather than a separate report; (2) when a file contains ๐Ÿค– inline markers to process, apply them. Invoked as /fix for processing markers."

Inline Review

Process ๐Ÿค– inline feedback markers in a file, following parley.nvim's review protocol.

Usage

/xx-review <path-to-file>

Marker Format

Single marker ๐Ÿค–. [] = human turns, {} = agent turns. Sections alternate in any order.

๐Ÿค–[human comment]{agent response}[human reply]{agent response}...
๐Ÿค–{agent finding}[human response]{agent follow-up}...
  • Ready for agent = last section is [] (human spoke last)
  • Pending = last section is non-empty {} (agent spoke last, awaiting human)

Markers inside fenced code blocks are ignored.

Process

  1. Read the file from the supplied path
  2. Check for YAML frontmatter at the top of the file. If sources and source_precedence are present, load them โ€” use these to guide re-research when a marker flags a factual correction. Prefer sources in the stated precedence order (typically: codebase > Jira > doc text). If no frontmatter, proceed without re-research guidance.
  3. Parse all ๐Ÿค– markers, identifying:
    • Ready markers (last section is []): process these
    • Pending markers (last section is {}): leave these untouched
  4. For each ready marker, read the comment/conversation history, then:
    • Read the human's last [response] โ€” it is the instruction to act on
    • If the comment is a factual correction: consult the frontmatter sources (if present) to verify and re-research before rewriting โ€” do not just rephrase the existing text
    • If the comment is a correction or rewrite request: apply the change to the surrounding text and remove the marker
    • If the human's response is unclear: append {clarifying question} to the marker and leave it in place
    • If acknowledged and done: remove the marker entirely
  5. Write the modified file back to the same path
  6. Report what was changed and what markers remain pending

Responding to AI Critiques

When a ๐Ÿค–-> critique line is followed by a ๐Ÿค–[] marker, this is the human responding to the AI's critique with instructions:

Some text the author wrote.

๐Ÿค–-> This claim needs grounding. Your experience with Y would be the evidence.
๐Ÿค–[good point, weave in my example from last week's tool system build]

In this case:

  1. Read the ๐Ÿค–-> critique to understand the problem
  2. Read the ๐Ÿค–[] to understand the human's instruction for resolving it
  3. Apply the human's instruction to the text before the ๐Ÿค–-> line
  4. Remove both the ๐Ÿค–-> line and the ๐Ÿค–[] marker
  5. If the human's instruction is unclear, add {question} to the marker and leave both lines in place

Rules

  • Preserve all text outside of markers exactly as-is
  • Preserve ๐Ÿค–-> lines that do NOT have a ๐Ÿค–[] marker after them (unresolved critiques the human hasn't addressed yet)
  • A marker refers to the text before it, up to the previous natural boundary (paragraph, bullet, section). In a typical reading flow, you read and comment at the end of what you just read
  • Only modify text that a marker refers to (the preceding paragraph, bullet, or section)
  • Exception: if the marker explicitly mentions a bigger or different scope (e.g. "this whole article", "the next section about XXX", "all the bullet points above"), follow what the marker says instead of defaulting to the preceding block
  • When removing a marker, leave the corrected text in place with no trace of the marker
  • When adding an agent question, append {question} inside the existing marker
  • Respect the user's voice and style in the surrounding document
  • Do not rewrite sections that have no markers
Install via CLI
npx skills add https://github.com/xianxu/parley.nvim --skill fix
Repository Details
star Stars 2
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator