Logseq Review Workflow Eval
Agent Buildinglogseq-review-workflow-evalLogseq Review Workflow Eval is an Agent Skill for agent building published in the logseq/logseq repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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 structured delta. Use when evaluating whether changes to .agents/skills/logseq-review-workflow improved review quality, coverage, validation rigor, subagent orchestration, or false-positive rate.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/logseq/logseq/blob/HEAD/.agents/skills/logseq-review-workflow-eval/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/logseq-review-workflow-eval, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Logseq Review Workflow Eval
Overview
Use this skill to evaluate behavior changes in .agents/skills/logseq-review-workflow without leaking the intended outcome into the review runs. Keep the review target and prompt identical, isolate each skill revision into its own snapshot, run fresh agents with the same settings, then compare the returned findings and verification discipline.
Inputs
Collect these before running the evaluation:
- Before revision: a git ref, commit, tag, or branch that contains the old
logseq-review-workflowskill. - After revision: usually the current working tree; use a git ref only when comparing two committed revisions.
- Review prompt: the exact user prompt to run against both skill revisions. Include the same patch, commit range, PR description, or changed-file scope for both runs.
- Run settings: model, reasoning effort, available tools, repository state, and whether subagents are available.
Use realistic review prompts. Prefer prompts that exercise the specific area changed in logseq-review-workflow, such as routing rules, validation requirements, pass aggregation, or no-findings handling.
Workflow
-
Read the root
AGENTS.md. -
Prepare isolated snapshots:
python .agents/skills/logseq-review-workflow-eval/scripts/setup_eval.py \ --before-ref <old-ref> \ --prompt-file <review-prompt.md> \ --case-name <short-case-name>Add
--after-ref <new-ref>only when the after revision should come from git instead of the current working tree. -
Run the generated
run-before.mdprompt in a fresh agent or fresh thread. Save the full response asoutputs/before.md. -
Run the generated
run-after.mdprompt in another fresh agent or fresh thread with the same model and tool availability. Save the full response asoutputs/after.md. -
Compare outputs:
python .agents/skills/logseq-review-workflow-eval/scripts/compare_outputs.py \ --before <eval-dir>/outputs/before.md \ --after <eval-dir>/outputs/after.md \ --out <eval-dir>/comparison.md -
Add qualitative judgment using
references/evaluation-rubric.mdwhen the deterministic comparison is not enough.
Evaluation Rules
- Do not tell either run what changed in the skill or what result is expected.
- Do not let the before run read the after snapshot, after output, or comparison notes.
- Do not let the after run read the before output before it completes.
- Use the same review target and prompt text for both runs, except for the explicit skill snapshot path.
- Preserve raw outputs. Do not edit them before comparison.
- Treat more findings as better only when the added findings are concrete, correctly scoped, and validated.
- Treat stricter verification as better only when it is feasible and does not fabricate unrun checks.
- Flag regressions where the after output loses a real finding, adds speculative noise, skips required rule routing, or claims unperformed runtime validation.
Output
Return:
- Snapshot paths and git refs used.
- Commands or agent prompts used to run both sides.
comparison.mdlocation.- A concise conclusion: improved, regressed, mixed, or inconclusive.
- The specific evidence behind that conclusion, including changed findings, validation quality, and any run limitations.
Resources
scripts/setup_eval.py: create isolated before/after snapshots and prompt files for both runs.scripts/compare_outputs.py: summarize structural differences between two raw review outputs.references/evaluation-rubric.md: qualitative scoring criteria for review-output quality.