Agent skill

Logseq Review Workflow

by logseq in logseq/logseq

Review Logseq code changes, PRs, patches, commit ranges, or implementation plans through one main-agent orchestration workflow that routes read-only subagents across independent review passes, then…

AGPL-3.0Auto-check passedKnowledge Management

Install Logseq Review Workflow

skills CLI
$ npx skills add logseq/logseq --skill logseq-review-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install logseq/logseq logseq-review-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/logseq/logseq.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/logseq-review-workflow .claude/skills/logseq-review-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
logseq-review-workflow
GitHub stars
45k
Token cost
~3.8k tokens
SKILL.md length
1,584 words
Files
38
Skills in repo
12
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Review Logseq code changes, PRs, patches, commit ranges, or implementation plans through one main-agent orchestration workflow that routes read-only subagents across independent review passes, then…

  • Works in 7 steps: Identify the review scope → Load matching rule modules → Launch independent pass subagents → …
  • Tasks that involve Planning
  • SKILL.md covers Core principle, Read these first, Workflow and Review checklist before final…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Logseq Review Workflow is an agent skill from logseq/logseq. Review Logseq code changes, PRs, patches, commit ranges, or implementation plans through one main-agent orchestration workflow that routes read-only subagents across independent review passes, then deduplicates, validates, and reports findings for the web app, desktop app, and Logseq CLI.

Its SKILL.md is about 3.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 40 other files (for example `rules/README.md`, `rules/common.md` and `rules/libraries/README.md`).

It sits in Knowledge Management, covering Planning and Subagents. The repository describes itself as: A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: https://logseq.io/p/NX4mcggEV. The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve Planning
  • Tasks that involve Subagents

Example prompts

  • “/logseq-review-workflow”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Identify the review scope
  2. Load matching rule modules
  3. Launch independent pass subagents
  4. Aggregate pass results
  5. Run targeted runtime verification
  6. Severity guidance
  7. Finding format

What it can do on your machine

Read from SKILL.md and the folder at commit 22a29b3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Logseq Review Workflow loads about 3.8k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 1,584 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from logseq/logseq at commit 22a29b3, republished under its AGPL-3.0 licence (© logseq). 1,584 words, ~3,762 tokens.

Download SKILL.mdSave it as .claude/skills/logseq-review-workflow/SKILL.md (or your agent's skills folder). This skill also uses 37 other files; get the full folder from GitHub.
name
logseq-review-workflow
description
Review Logseq code changes, PRs, patches, commit ranges, or implementation plans through one main-agent orchestration workflow that routes read-only subagents across independent review passes, then deduplicates, validates, and reports findings for the web app, desktop app, and Logseq CLI.

Logseq Review Workflow

Core principle

The main agent drives the review. It identifies scope, loads routing rules, launches independent read-only subagents for each review pass, collects candidate findings, validates the actionable ones, deduplicates overlap, and writes the final conclusion.

Each pass subagent collects review evidence. It must not edit files, stage changes, commit, push, or rewrite code. It returns candidate findings, evidence, checks already run, and unresolved questions to the main agent. The System Additions pass also assesses necessity, maintenance cost, and simpler alternatives, returning an inventory with dispositions separate from findings.

Review every pass through three layers:

  1. Repository-wide rules — always apply shared review behavior from rules/common.md.
  2. Library/runtime/tooling rules — apply when the diff uses or changes a specific library, language/runtime surface, or tooling dependency.
  3. Logseq module rules — apply when the diff touches a specific product/runtime area.

Use the routing tables below to load the most specific matching rule files.

Prefer concrete findings backed by code paths, invariants, tests, or runtime behavior. Do not list speculative issues unless you can explain the failure mode and affected scenario.

Every actionable finding with an executable Logseq behavior path must be validated through at least one real Logseq interaction path before it is included in the final review. Use logseq-repl, logseq-cli, chrome, or computer-use depending on the touched surface. For implementation plans, docs-only changes, static configuration errors, missing migrations, schema/protocol invariant breaks, or other findings without an executable behavior path, validate through code paths, invariant evidence, tests, build/lint output, or documented contracts and state why runtime interaction does not apply.

Read these first

  1. Root AGENTS.md for repository rules and test commands.
  2. .agents/skills/logseq-i18n/SKILL.md when reviewing shipped user-facing UI text or translation dictionaries.
  3. .agents/skills/logseq-cli/SKILL.md when review requires running or interpreting the Logseq CLI.
  4. .agents/skills/logseq-repl/SKILL.md when review requires Desktop renderer, Electron main-process, or db-worker-node runtime checks.
  5. Chrome skill when testing web-app behavior in Chrome.
  6. computer-use skill when testing Desktop app UI interactions that require operating the local application window.
  7. .agents/skills/logseq-debug-workflow/SKILL.md when review uncovers a bug that needs deeper runtime reproduction.

Workflow

1. Identify the review scope

Collect:

  • changed files and touched namespaces
  • target runtime: renderer, Electron main process, db-worker-node, CLI, mobile, server/worker, tests, docs
  • changed public contracts: APIs, CLI output, DB schema, frontend.worker.db.migrate/schema-version->updates, migration migrate-updates, protocol messages, translations, config, or persisted data
  • dependencies and libraries involved
2. Load matching rule modules

Always read:

Then read every matching module below.

Library routing
TriggerRule module
Clojure/CLJS source, core seq idioms, JS typed-array interoprules/libraries/clojure-cljs.md
malli, schemas, validation/coercion/explain datarules/libraries/malli.md
promesa, promise-returning functions, async JS interoprules/libraries/promesa.md
datascript, Datalog queries, d/transact!, DB entitiesrules/libraries/datascript.md
missionary, reactive tasks/signals/streamsrules/libraries/missionary.md
rum, React lifecycle, hooks, Hiccup componentsrules/libraries/rum-react.md
cljs-time, date parsing/formatting, formatter constructionrules/libraries/cljs-time.md
lambdaisland.glogi, logging, js/console.*rules/libraries/glogi.md
babashka.cli, bb, nbb, command-line scriptsrules/libraries/babashka-cli.md
Shadow CLJS targets, npm interop, Electron/Node loadingrules/libraries/shadow-cljs-node.md
Logseq module routing
TriggerRule module
Logseq CLI commands, CLI E2E, graph command behaviorrules/modules/logseq-cli.md
db-sync server, worker, protocol, D1 schema, RTC persistencerules/modules/db-sync.md
outliner.core, block tree operations, move/indent/delete/orderrules/modules/outliner-core.md
DB model, built-in properties, keywords, migrations, schema updatesrules/modules/db-model.md
i18n, translation dictionaries, user-facing text, notification text, translated attributesrules/modules/i18n.md
Frontend UI state, renderer components, dialogs, settings, pages, interaction behaviorrules/modules/frontend-ui.md
Editor commands, shortcuts, selection/cursor behaviorrules/modules/editor-commands.md
Electron main process, IPC, app lifecycle, file system, windowsrules/modules/electron-main.md
Import/export, publishing, Markdown/EDN conversionrules/modules/import-export.md
Search, indexing, query performance, cache invalidationrules/modules/search-indexing.md
Mobile/Capacitor platform behaviorrules/modules/mobile.md
Whiteboard/canvas/tldraw-style interactionsrules/modules/whiteboard.md
3. Launch independent pass subagents

Launch read-only pass subagents with a maximum concurrency of 4. Start the first batch of up to 4 pass subagents, wait for at least one to finish, then start the next pending pass subagent until every pass has been launched. Do not exceed 4 running pass subagents at the same time. Do not run pass subagents serially unless the environment cannot support concurrent subagents. Give every read-only subagent:

  • the diff, commit range, PR, patch, or changed file list under review
  • the scope collected in step 1
  • rules/common.md
  • rules/passes/subagent-output.md
  • that pass's rule file
  • any matching library/module rules relevant to that pass

Passes:

Ask each subagent to inspect only its assigned pass and return candidate findings, supporting evidence, checks already run, and unresolved questions, plus the inventory and simplification assessments for System Additions. While up to 4 subagents run in parallel, the main agent may prepare aggregation and validation steps but must keep launching pending passes as slots open and must wait for every pass report before the final review. If subagents are unavailable or concurrent launch is not possible, run each pass locally with the same rule files and state that delegation or concurrency was unavailable in the verification summary.

4. Aggregate pass results

Wait for all pass subagents before writing the final review. Then:

  1. Merge all candidate findings.
  2. Deduplicate overlapping reports across passes.
  3. Discard findings without concrete evidence or turn them into questions.
  4. Preserve the originating pass name for each retained finding.
  5. Validate every actionable finding before including it.
  6. Preserve the System Additions inventory and its necessity assessments separately from findings. An addition alone is not an issue, but supported simplification findings must not be discarded merely because the code works or has no measured runtime regression.

For executable behavior paths, validate with an appropriate Logseq interaction path:

  • logseq-repl for ClojureScript functions, DataScript state, importer/exporter behavior, renderer state, Electron, or worker runtime behavior.
  • logseq-cli for CLI command behavior, db-worker-node graph interactions, command output, and graph mutations.
  • chrome or computer-use for UI, keyboard, accessibility, browser-visible rendering, Electron window behavior, and user workflows. For findings without an executable behavior path, validate with code-path evidence, schema/protocol invariants, migration evidence, tests, build/lint output, or documented contracts. Record the exact command, REPL expression, UI workflow, or static evidence and the observed result. If no applicable check can be run, do not present the item as a confirmed finding; either continue investigating, downgrade it to a clearly labeled question, or explain the blocker.
Show full SKILL.md (572 more words)Show less
5. Run targeted runtime verification

After static code inspection, exercise the reviewed functionality in the runtime surfaces affected by the diff. Keep the scenarios narrow: validate the changed behavior, the likely regression path, or the exact failure mode behind a finding.

Use these skills and surfaces:

  • Web app — use the Chrome skill to drive the web UI, inspect rendered state, and check console errors for the reviewed path.
  • Desktop app — use .agents/skills/logseq-repl/SKILL.md for :app, :electron, and :db-worker-node probes; use computer-use for UI interactions that must happen in the Desktop app window.
  • Logseq CLI — use .agents/skills/logseq-cli/SKILL.md to inspect live command options/examples and run the reviewed CLI behavior.

Prefer isolated test graphs, temporary root directories, or disposable app state when verification needs writes. Do not mutate a user's real graph unless the review request explicitly requires it and the user has approved the target data.

If a surface is relevant but cannot be exercised, say exactly why. Do not describe unrun checks as verified.

6. Severity guidance

Use concise severity labels:

  • Blocking — correctness bug, data loss, security/privacy issue, migration/protocol break, broken shipped UI path, or test suite failure.
  • Important — likely regression, bad failure mode, incomplete tests for changed contract, performance issue on realistic graphs.
  • Minor — readability, naming, local maintainability, missing small cleanup.
  • Question — unclear intent or missing context that prevents confident review.
7. Finding format

Each finding should include:

markdown
- **Severity:** Blocking | Important | Minor | Question
- **Category:** Correctness | Data contract | Regression | Failure mode | Migration validation | Performance | Test coverage | Repository convention | System Additions
- **Location:** `path/to/file.cljs:line`
- **Issue:** What is wrong.
- **Impact:** Concrete user, data, runtime, or maintenance impact.
- **Suggestion:** Smallest actionable fix or verification step.

Separate findings with a horizontal rule (---) when reporting more than one finding.

If there are no findings, say what was reviewed and which rule modules were applied.

Include a compact System Additions inventory with Retain / Simplify / Question conclusions even when there are no findings, following the pass rule's output requirements. Report supported cleanup findings alongside other findings; explain rejected alternatives when no simplification is supported. State when no additions were found.

Add a short verification summary after findings or after the no-findings statement. Include the CLI commands, REPL probes, Chrome/browser scenarios, Desktop UI actions, static evidence, and any relevant checks that could not be run.

Review checklist before final response

  • Did you apply rules/common.md?
  • Did you route every touched library/module to its rule file?
  • Did you launch one read-only subagent for each independent pass with at most 4 running concurrently, starting new pass subagents as slots opened, or state why delegation or concurrency was unavailable?
  • Did each subagent stay within its review pass and avoid modifying code?
  • Did you wait for all pass reports before writing the final review?
  • Did you deduplicate and validate actionable findings before including them?
  • Did you run targeted runtime verification after static inspection for every affected web-app, desktop-app, and Logseq CLI surface?
  • Did you separate verified behavior from checks that could not be run?
  • Did you distinguish proven issues from questions?
  • Did you check persisted data, migrations, or protocol compatibility when relevant?
  • Did you run the migration validation pass and explicitly decide whether the reviewed change requires frontend.worker.db.migrate/schema-version->updates, migration migrate-updates, a logseq.db.frontend.schema/version bump, or migration tests?
  • Did System Additions assess actual consumers, benefit versus maintenance cost, and simpler alternatives across all ten categories, with dispositions and actionable cleanup findings rather than only an inventory?
  • Did you check tests and name exact missing test coverage?
  • Did every actionable finding have applicable validation evidence, using logseq-repl, logseq-cli, chrome, or computer-use for executable behavior paths and static/protocol/build evidence for non-executable findings?
  • Did you avoid asking for broad rewrites when a targeted fix is enough?
  • Did you mention any verification you could not perform?

© logseq, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 37 other files in .agents/skills/logseq-review-workflow of logseq/logseq.

  • SKILL.md
  • rules/README.md
  • rules/common.md
  • rules/libraries/README.md
  • rules/libraries/babashka-cli.md
  • rules/libraries/cljs-time.md
  • rules/libraries/clojure-cljs.md
  • rules/libraries/datascript.md
  • rules/libraries/glogi.md
  • rules/libraries/malli.md
  • rules/libraries/missionary.md
  • rules/libraries/promesa.md
  • rules/libraries/rum-react.md
  • rules/libraries/shadow-cljs-node.md
  • rules/modules/README.md
  • rules/modules/db-model.md
  • rules/modules/db-sync.md
  • rules/modules/editor-commands.md
  • … and 20 more

Open the folder on GitHubat commit 22a29b3

Compare with similar skills

Logseq Review Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Logseq Review Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Logseq Review Workflow this skilllogseq/logseq45k—~3.8kAutomated safety check: PassAGPL-3.0
Plan Review Criteriapenpot/penpot61k—~3.3kAutomated safety check: PassMPL-2.0
Ship Learn Nextdavila7/claude-code-templates32k2 repos~2.3kAutomated safety check: PassMIT
TalkAbilityai/cornelius109—~834Automated safety check: PassMIT
Quick SearchAbilityai/cornelius109—~465Automated safety check: NotesMIT
Subagent Driven DevelopmentAsvarox/allkaraoke26137 repos~1.2kAutomated safety check: PassNone

Similar skills

  • Plan review criteria — the six review axes, severity rubric, approval standard, and output format for reviewing implementation plans.

    61k GitHub stars~3.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Ship Learn Next

    davila7/claude-code-templates

    Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    Knowledge ManagementAuto-check passed
  • Talk

    Abilityai/cornelius

    Conversational partner mode - delegates each exchange to the thinking-partner sub-agent, which embodies the knowledge base as its own memory and engages as an intellectual equal.

    109 GitHub stars~834 tokensUpdated 15 days ago
    Knowledge ManagementAuto-check passed
  • Quick Search

    Abilityai/cornelius

    Fast knowledge base retrieval - single FAISS search + graph connections, no subagents or LLM orchestration

    109 GitHub stars~465 tokensUpdated 15 days ago
    Knowledge ManagementAuto-check: notes
  • Subagent Driven Development

    Asvarox/allkaraoke

    A skill your agent uses when executing implementation plans with independent tasks in the current session

    261 GitHub starsUsed in 37 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Pydantic AI Harness

    pydantic/pydantic-ai

    Official

    Adds optional capabilities to Pydantic AI agents from pydantic-ai-harness, led by Code Mode, which runs many tool calls as one sandboxed Python script.

    20k GitHub stars~4.9k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from logseq/logseq

All 12 skills in this repo
  • Compare two revisions of the Logseq logseq-review-workflow skill by running the same review prompt against isolated before and after skill snapshots, collecting both outputs, and producing a…

    45k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Esm Cjs Risk Scan

    logseq/logseq

    Scan Logseq ClojureScript Node/Electron targets for npm module loading risks, especially ESM-only packages that may fail when loaded through js/require or shadow-cljs require-based shims.

    45k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Logseq Plugin SDK

    logseq/logseq

    Build, debug, or review Logseq plugins with the @logseq/libs SDK (TypeScript/JavaScript, iframe/shadow sandboxed).

    45k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Logseq CLI

    logseq/logseq

    Operate the current Logseq command-line interface to inspect or modify graphs, pages, blocks, tasks, tags, and properties; run Datascript queries; show page/block trees; manage graphs; and manage…

    45k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Audit, plan, and refresh dependency upgrades for the Logseq repository by scanning every non-gitignored package.json, deps.edn, bb.edn and nbb.edn manifest, checking latest upstream versions…

    45k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Logseq I18n

    logseq/logseq

    Logseq i18n workflow for adding, renaming, reviewing, or editing translation keys and user-facing strings.

    45k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Questions about Logseq Review Workflow

What does Logseq Review Workflow do?

Review Logseq code changes, PRs, patches, commit ranges, or implementation plans through one main-agent orchestration workflow that routes read-only subagents across independent review passes, then…. Logseq Review Workflow is an agent skill from logseq/logseq. Review Logseq code changes, PRs, patches, commit ranges, or implementation plans through one main-agent orchestration workflow that routes read-only subagents across independent review passes, then deduplicates, validates, and reports findings for the web app, desktop app, and Logseq CLI.

When should I use Logseq Review Workflow?

Logseq Review Workflow fits situations like: tasks that involve Planning; tasks that involve Subagents.

How do I install Logseq Review Workflow in Claude Code?

Run `npx skills add logseq/logseq --skill logseq-review-workflow -a claude-code`. Or copy the skill folder (.agents/skills/logseq-review-workflow in logseq/logseq) into .claude/skills/logseq-review-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Logseq Review Workflow in Codex?

Run `npx skills add logseq/logseq --skill logseq-review-workflow -a codex`. Or copy the skill folder (.agents/skills/logseq-review-workflow in logseq/logseq) into .agents/skills/logseq-review-workflow in your project. Codex loads it when a task matches its description.

Can I use Logseq Review Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add logseq/logseq --skill logseq-review-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/logseq-review-workflow, .gemini/skills/logseq-review-workflow, .github/skills/logseq-review-workflow and .opencode/skills/logseq-review-workflow in your project.

What does Logseq Review Workflow need to run?

SKILL.md names no scripts, command-line tools or credentials: Logseq Review Workflow is instructions for the agent only.

Does Logseq Review Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Logseq Review Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Logseq Review Workflow use?

Logseq Review Workflow is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Logseq Review Workflow use?

About 3.8k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Logseq Review Workflow?

Skills that share tags, products or a category with Logseq Review Workflow: Plan Review Criteria (penpot/penpot, 61k stars), Ship Learn Next (davila7/claude-code-templates, 32k stars), Talk (Abilityai/cornelius, 109 stars) and Quick Search (Abilityai/cornelius, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Logseq Review Workflow?

logseq (a GitHub organization) maintains it in logseq/logseq, which has 45,158 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: logseq/logseq on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.