agentleFS
scchearnscchearn/agent-skills/skills/do-wiki-review/SKILL.md

do-wiki-review

Skill0 starsChanged 6 months agoApache-2.0View on GitHub

Surface and classify all open questions, unresolved contradictions, stale claims, and knowledge gaps from an existing wiki. Use this when the user wants to see what's still open, what needs attention, what's unresolved, or what still needs research or ingest. Not for answering questions, fixing issues, or adding new material; use /do-wiki-query, /do-wiki-lint, /do-wiki-amend, /do-wiki-add, or /do-wiki-learnings.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 17 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no explicit target is provided, review the whole wiki.

    line 18
  2. Distinctive:

    Look for an existing wiki root by finding files such as:

    line 26
  3. Very specific:

    If the workspace uses a different but clearly established wiki root, reuse it and treat it as <wiki root>.

    line 33
  4. Distinctive:

    If no wiki exists yet, stop and recommend:

    line 35
  5. Very specific:

    Use Glob and Grep to map the pages in scope before reading deeply.

    line 52
  6. Very specific:

    If no metadata or status not "ready": run which qmd 2>/dev/null then qmd collection list 2>/dev/null.

    line 57
  7. Distinctive:

    If qmd is still not ready: qmd not available, use Grep/Glob only.

    line 58
  8. Distinctive:

    If qmd is ready, you may use it to expand from a discovered issue into nearby notes:

    line 77
  9. Very specific:

    Run qmd search "<topic or entity from the signal>" --files -n 3 -c <collection> for each significant signal.

    line 79
  10. Distinctive:

    Read candidate files to confirm they are related.

    line 80
  11. Distinctive:

    Do not let qmd replace the primary scan.

    line 83
  12. Distinctive:

    When in doubt, prefer the more conservative (lower urgency) tier.

    line 101
  13. Very specific:

    If there are any Needs decision items, call AskUserQuestion once for each:

    line 113
  14. Very specific:

    Wait for the user's answer before asking the next question.

    line 118
  15. Distinctive:

    If there are no "Needs decision" items, proceed directly to the report.

    line 120
  16. Very specific:

    If decisions were captured, include them and recommend /do-wiki-amend.

    line 126
  17. Distinctive:

    If the review found no significant open items, say so explicitly and note any residual risks or thin areas.

    line 130
  18. Distinctive:

    Read the wiki schema before scanning.

    line 136
  19. Distinctive:

    Do not edit anything. This skill is purely read-only.

    line 139
  20. Distinctive:

    Do not fetch external sources in this skill.

    line 140
  21. Distinctive:

    Do not invent answers. Surface what the wiki itself acknowledges as open or unresolved.

    line 141
  22. Distinctive:

    Keep the report concise but complete.

    line 143
  23. Distinctive:

    When in doubt about classification, prefer the more conservative (lower urgency) tier.

    line 144
  24. Distinctive:

    If qmd is unavailable, unmapped, or degraded, continue without it.

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

You are a senior engineer and wiki maintainer performing a structured review of a persistent markdown wiki to surface all open questions, unresolved contradictions, stale claims, and knowledge gaps. Your job is to collect and classify what still needs attention without turning the review into a full lint pass or amendment workflow.

This is a read-only review skill. It scans the wiki and reports. It does not edit anything, not even log.md or index.md.

The review target is: $ARGUMENTS

If no explicit target is provided, review the whole wiki.


Step 1 — Resolve wiki, read contract & scan

Locate the wiki

Look for an existing wiki root by finding files such as:

  • wiki/SCHEMA.md
  • wiki/index.md
  • wiki/log.md
  • wiki/overview.md as a legacy root-hub file that may still need consolidation into index.md

If the workspace uses a different but clearly established wiki root, reuse it and treat it as <wiki root>.

If no wiki exists yet, stop and recommend:

/do-wiki-build <topic or wiki goal>

Resolve the review scope: if the user named a wiki root, subdirectory, topic, or entity, use that. Otherwise review the whole wiki.

Read the wiki contract

Read before scanning:

  1. <wiki root>/SCHEMA.md
  2. <wiki root>/index.md
  3. the most recent relevant parts of <wiki root>/log.md
  4. <wiki root>/overview.md when it exists and may still contain legacy root-hub context

Use Glob and Grep to map the pages in scope before reading deeply.

Check qmd readiness (secondary only)

  1. Glob for .wiki-metadata.json. If found, read it immediately. If retrieval.status is "ready", qmd is ready — use retrieval.collection_name. Do not run fallback checks.
  2. If no metadata or status not "ready": run which qmd 2>/dev/null then qmd collection list 2>/dev/null. If both succeed and a collection path matches the wiki root (absolute path equality), qmd is ready.
  3. If qmd is still not ready: qmd not available, use Grep/Glob only.
  4. Runtime guard: if any qmd command fails or returns stale results, treat as degraded — fall back to Grep/Glob.

qmd is secondary only in this skill: use it only to expand from a discovered issue into nearby related notes. If ready, read ${CLAUDE_SKILL_DIR}/references/qmd-usage.md.

Scan for open signals

A. Open question blockquotes — Grep for: > Open question:, > open question, > unresolved, > pending, > TODO, needs evidence, follow-up, to investigate, TODO, FIXME

B. Superseded and stale markers — Grep for: > Superseded, stale, outdated, deprecated, no longer accurate, this was changed

C. Contradictions and competing claims — Grep for: contradiction, disagreement, competing, alternative approach, under review, pending decision, decision needed

D. Unresolved structural signals — Grep for: unresolved [[wikilinks]], obviously thin or placeholder content, "expected source", "candidate source", "future ingest", "planned ingest"

E. Log follow-ups — Read <wiki root>/log.md for: follow up entries, unresolved entries, next ingest, pending ingest, lint entries noting unresolved contradictions or gaps

Expand from issues with qmd (secondary, if ready)

If qmd is ready, you may use it to expand from a discovered issue into nearby notes:

  1. Run qmd search "<topic or entity from the signal>" --files -n 3 -c <collection> for each significant signal. Strip the qmd://<collection>/ prefix to get relative wiki paths.
  2. Read candidate files to confirm they are related.
  3. Include confirmed related pages in the classification.

Do not let qmd replace the primary scan. Use it only to widen the net around specific issues already discovered.


Step 2 — Classify & group

Classify by urgency

For each signal:

Needs research — wiki is missing the source evidence entirely. Signals: "follow up later" log entries without source, explicit acknowledgments of missing evidence, "to investigate" without a known source. Action: /do-research <topic>

Needs ingest — a known source exists but hasn't been added. Signals: "expected source"/"candidate source" mentions, "planned ingest" log entries, thin pages noting "more sources coming". Action: /do-wiki-add <source path or topic>

Needs decision — contradictions or competing claims requiring human judgment. Signals: contradiction notes with no resolution, "under review"/"pending decision" markers, competing approaches without a settled choice. Action: User decision, then /do-wiki-amend <what was decided>

Low priority — noted curiosities, non-blocking open questions, "nice to investigate" items. Action: Monitor, may resolve naturally

When in doubt, prefer the more conservative (lower urgency) tier.

Group by topic area

Within each tier, group using the wiki's existing topic, entity, or concept structure. Report each finding with: Page path, Signal (exact quote or tight paraphrase), Classification, Topic.


Step 3 — Surface decisions & report

Surface open questions interactively (before the final report)

If there are any Needs decision items, call AskUserQuestion once for each:

[Topic area] ([N] of [total]): [question from the wiki] Answer now, or type "skip" to leave it open.

Wait for the user's answer before asking the next question. Record each answer. Non-skip answers appear in the report and can be filed back with /do-wiki-amend.

If there are no "Needs decision" items, proceed directly to the report.

Report

Output findings grouped by urgency tier (Needs research, Needs ingest, Needs decision, Low priority), with topic areas and page-level citations.

If decisions were captured, include them and recommend /do-wiki-amend.

Close with the next useful commands for acting on the findings.

If the review found no significant open items, say so explicitly and note any residual risks or thin areas.


Rules

  • Read the wiki schema before scanning.
  • Scan the wiki for open signals before widening the read surface.
  • Cite the specific page paths where each signal was found.
  • Do not edit anything. This skill is purely read-only.
  • Do not fetch external sources in this skill.
  • Do not invent answers. Surface what the wiki itself acknowledges as open or unresolved.
  • Classify by urgency first, then group by topic.
  • Keep the report concise but complete. The first thing the user sees should be the summary counts.
  • When in doubt about classification, prefer the more conservative (lower urgency) tier.
  • qmd is secondary. Use it only to expand from discovered issues. Do not let qmd drive the primary scan.
  • If qmd is unavailable, unmapped, or degraded, continue without it. The skill must not fail.

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.