Ia Document Review logo

Ia Document Review

Community
iliaal
ia-document-review

Structural and accuracy review of documents: gaps, clarity, completeness, organization, and claims checked against the code. Use when a brainstorm, plan, spec, ADR, or any doc needs polish before the next workflow step. For exploring new ideas from scratch, use brainstorming instead.

Overview

Publisheriliaal
Repositorywhetstone
Skill nameia-document-review
Stars
36
Forks
5
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by iliaal on GitHub. Read the source before you install it.

Installation

Install the Ia Document Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/iliaal/whetstone/tree/master/plugins/whetstone/skills/ia-document-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iliaal/whetstone.git /tmp/whetstone
mkdir -p .claude/skills
cp -r /tmp/whetstone/plugins/whetstone/skills/ia-document-review .claude/skills/ia-document-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ia Document Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ia Document Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ia Document Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Document Review

Improve brainstorm or plan documents through structured review.

Working rules

  • Assess before editing, preserve implementation-relevant constraints and rationale, and distinguish minor edits from substantive decisions.
  • A review-only request authorizes findings, not file edits. Apply changes only when the user has requested editing or approved the proposed changes; do not ask again for changes already authorized.

Step 1: Get the Document

If a document path is provided: Read it, then proceed to Step 2.

If no document is specified: Ask which document to review (via AskUserQuestion in Claude Code, request_user_input in Codex, or numbered options in chat as the fallback), or look for the most recent brainstorm/plan in docs/brainstorms/ or docs/plans/.

Step 2: Assess

Read through the document and ask:

  • What is unclear?
  • What is unnecessary?
  • What decision is being avoided?
  • What assumptions are unstated?
  • Where could scope accidentally expand?
  • Is this technically feasible with the current architecture?
  • Is what it says about the current system true? Follow each checkable claim (file paths, function, command, or config names, endpoints, cited PRs or issues, numbers, behavior implied by verbs like "retries") to its source, reading only. On a long document, sample and state the coverage.
  • Are there security implications in what's proposed?

These questions surface issues. Note findings without fixing yet.

Step 3: Activate Review Lenses

Based on the document's content, activate specialized review perspectives. Scan for signals and apply matching lenses:

LensSignalsWhat it checks
ProductUser-facing features, customer language, market claims, scope decisionsProblem framing, value proposition clarity, whether scope matches stated goals
DesignUI/UX references, user flows, wireframes, interaction descriptionsFlow completeness, interaction gaps, accessibility considerations
SecurityAuth/authorization, API endpoints, PII, payments, tokens, encryptionAuth model gaps, data exposure risks, missing threat considerations
Scope guardianMultiple priority tiers (P0/P1/P2), large requirement count (>8), stretch goalsScope creep, premature abstractions, features disguised as requirements
Adversarial>5 distinct requirements, explicit architectural decisions, high-stakes domainsUnstated assumptions, optimistic estimates, single points of failure, missing failure modes

Activate a lens when ANY of its signals match. Most documents trigger 1-2 lenses; brainstorm notes may trigger none. When a lens is active, weave its checks into the assessment and evaluation steps rather than running it as a separate pass.

Vocabulary signals activate the Security lens; judge it by what named files and handlers do. Report each path the plan names or newly exposes, including existing code or a stub, that leads to lost money, a breach, or corrupted data unprevented.

Step 4: Evaluate

Score the document against these criteria:

CriterionWhat to Check
ClarityProblem statement is clear, no vague language ("probably," "consider," "try to")
CompletenessRequired sections present, constraints stated, open questions flagged
SpecificityConcrete enough for next step (brainstorm → can plan, plan → can implement)
YAGNINo hypothetical features, simplest approach chosen
AccuracyChecked claims match their source (Step 2); a contradicted claim is a defect reported with the conflicting file:line; claims outside the stated coverage are unverified, not passed

If invoked within a workflow (after /ia-brainstorm or /ia-plan), also check:

  • User intent fidelity: Document reflects what was discussed, assumptions validated

Step 5: Identify the Critical Improvement

Among everything found in Steps 2-4, does one issue stand out? If something would significantly improve the document's quality, this is the "must address" item. Highlight it prominently.

Step 6: Make Changes

Present findings, then:

  1. Apply authorized edits within the requested scope, including minor wording and formatting fixes. For review-only requests, report these as suggestions.
  2. Ask approval for changes outside the existing authorization (restructuring, removing sections, changing meaning). Ask via AskUserQuestion (Claude Code; load with ToolSearch select:AskUserQuestion if not loaded) or request_user_input (Codex); fall back to numbered options in chat. Render the finding per the contract below before asking so the decision is concrete.
  3. Update the document inline only for authorized changes; otherwise return the findings.

Rendering a finding for decision

The reader deciding on a finding does not have the document open and has not memorized its identifiers. This binds the approval track only (step 2 above); findings routed to auto-fix in step 1 skip it. Any finding presented for approval is rendered in this order:

  1. Consequence if unchanged: one sentence: what goes wrong, and for whom. No identifier the reader would have to look up.
  2. Recommended action, marked unmistakably.
  3. Change intent: one sentence.
  4. Mechanism: at most two sentences, carrying at most two opaque anchors (defined below).

Anything deeper (file tracing, multi-hop call paths, competing call sites) is not printed; offer it in one closing line. Budget: two inline code spans per sentence, no diff blocks, raw code blocks only for genuinely additive content of five lines or less.

Classify opaque anchors by what they do, not by vocabulary:

  • Navigation anchors (IDs the document itself defines) keep the ID and gain a short handle at first mention: R6 (suppress peer panels on low-stakes calls), never a bare R6.
  • Provenance anchors (ticket IDs, PR numbers) get a role gloss only when the referenced event changes the decision; otherwise move them to the trace.
  • Mechanism anchors (function, file, line names) translate to the role they play in the decision ("the terminal-failure predicate"), keeping the exact symbol only when precise scope is what the decision turns on. A contradicted accuracy claim keeps its conflicting file:line as the one mechanism anchor.

A finding whose only route to a decision is "go read the section" has failed, however correct it is.

Simplification Guidance

Simplification is purposeful removal of unnecessary complexity, not shortening for its own sake.

Simplify when:

  • Content serves hypothetical future needs, not current ones
  • Sections repeat information already covered elsewhere
  • Detail exceeds what's needed to take the next step
  • Abstractions or structure add overhead without clarity

Don't simplify:

  • Constraints or edge cases that affect implementation
  • Rationale that explains why alternatives were rejected
  • Open questions that need resolution

Step 7: Offer Next Action

After changes are complete, ask:

  1. Refine again - Another review pass
  2. Review complete - Document is ready

Iteration Guidance

After 2 refinement passes, recommend completion only if no material issues remain. If the user wants to continue, allow up to 4 passes total. Claim convergence only when a pass finds no material changes needed. After 4, stop. Report "review limit reached; further passes require new direction." Include unresolved findings and unverified claims in the handoff. Do not continue past 4 even on user request without a fresh framing.

Withdraw what earlier answers already settled. On pass 2 and later, judge each remaining finding against the decisions already made this session before presenting it. If an earlier answer resolves or contradicts it, do not re-raise it: say in one line what the finding was and which answer retired it, then move on, and record it as withdrawn in the summary with the retiring decision named. The distinction that matters: a withdrawal caused by a user decision (a skip, a defer, an asserted fact) is durable and suppresses the finding on every later pass; a withdrawal caused by a pending fix is provisional, because the fix can fail or land in the wrong place, so a finding that regenerates on the next pass must resurface rather than stay suppressed. Evaluate lazily, at the moment the finding would have been presented; do not rescan after every answer. (Code review carries the same rule; see ia-code-review on reconciling prior discussions.)

Return control to the caller (workflow or user) after selection.

Constraints

  • Fix targeted sections, don't rewrite the whole document. If the structure is fundamentally broken, surface the structural problem and ask for permission to restructure.
  • Flag missing sections in the review, but don't add them. The user decides what to include.
  • Keep changes minimal. If a paragraph needs tightening, tighten it. Don't expand scope.
  • Review inline. No separate review files or metadata sections.

Success Criteria

  • Document read and scored on all five quality criteria
  • Relevant review lenses activated and checks applied
  • Critical improvements identified with specific suggestions
  • User presented with clear next-action choice (refine or complete)
  • Revised document saved if changes were approved

Task-specific references

Read the relevant reference before implementing or reviewing the matching behavior:

  • For an optional zero-context reader test of a standalone document: reader-test.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ia Document Review AI skill do?

Structural and accuracy review of documents: gaps, clarity, completeness, organization, and claims checked against the code. Use when a brainstorm, plan, spec, ADR, or any doc needs polish before the next workflow step. For exploring new ideas from scratch, use brainstorming instead.

Why use Ia Document Review on TypingMind?

Because you install it once and use it with any model. Ia Document Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ia Document Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/iliaal/whetstone/tree/master/plugins/whetstone/skills/ia-document-review. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ia Document Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ia Document Review?

As many as you like. As long as a model supports skills, you can use Ia Document Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ia Document Review AI skill free?

Yes. It is published on GitHub by iliaal under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇