mira-annotation-review

Review MIRA annotations in Markdown documents for semantic correctness and relation integrity.

902|58|Updated May 31, 2012
One-click install
npx skills add https://github.com/stencila/stencila --skill mira-annotation-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mira-annotation-review
Source: https://github.com/stencila/stencila/tree/main/.stencila/skills/mira-annotation-review
Command: npx skills add https://github.com/stencila/stencila --skill mira-annotation-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Annotated research documents often contain errors such as reversed relation directions, duplicate ids, over-broad annotation boundaries, or dialect-invalid syntax that break parsing or distort scientific meaning. This Skill audits MIRA annotations in Markdown files and produces actionable findings without modifying the source files.

Core Features & Use Cases

  • Semantic and Relation Review: Verifies that claims, evidence, questions, protocols, and requests match their annotated text, and that relations like supports/supported-by have correct direction, existing targets, and textual grounding.
  • Multi-Dialect Validation: Checks annotation syntax against Stencila Markdown, Quarto Markdown, MyST Markdown, and plain Markdown conventions, including fences, directive options, and id formats.
  • Severity-Ranked Findings: Outputs findings tables with Critical, Major, Minor, or Question severities, locations, explanations, and recommended fixes.
  • Use Case: A researcher has a Quarto manuscript with MIRA claim and evidence annotations. Run this Skill to detect a claim that points to itself as supporting evidence and receive a concrete fix recommendation before publication.

Quick Start

Review the MIRA annotations in manuscript.qmd for semantic correctness, relation integrity, and dialect validity, and report findings without editing the file.

Frequently Asked Questions about mira-annotation-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review MIRA annotations in a Markdown file?

Provide the annotated .md, .smd, .qmd, or .myst file or its content and request a review. The Skill inventories all research objects, checks semantic correctness, relation direction, id uniqueness, and dialect validity, then returns a findings table with severities and fixes.

What Markdown dialects does MIRA annotation review support?

It supports Stencila Markdown, Quarto Markdown, MyST Markdown, and plain Markdown. The dialect is inferred from file extension, frontmatter, fences, directives, and cross-reference syntax, or it can be specified explicitly.

Does the annotation review modify my Markdown files?

No, the review is non-destructive by default and only reports findings. If you request fixes, semantically risky changes are confirmed first, and all impacted ids and relation targets are updated consistently.

What relation errors can the review detect?

It detects reversed relation direction, missing or implausible relation targets, unsupported or speculative relations, conflicting inverse relations, and inconsistent id encoding. For example, a claim using supports instead of supported-by toward its evidence is flagged as Major.

What happens if no MIRA annotations are found in a document?

The review reports that no MIRA annotations exist to review. It may optionally identify candidate locations for annotations as observations, but these are not treated as required fixes.