batch-refine

Process merged PRs labeled knowledge:pending into changesets and report PRs.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/ether-moon/knowledge-distillery --skill batch-refine
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: batch-refine
Source: https://github.com/ether-moon/knowledge-distillery/tree/main/plugins/knowledge-distillery/skills/batch-refine
Command: npx skills add https://github.com/ether-moon/knowledge-distillery --skill batch-refine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates the Stage B distillation pipeline by coordinating discovery of merged PRs labeled knowledge:pending, collecting evidence, extracting candidates, applying a quality gate, and producing a changeset and a report PR for human review. This ensures accumulated knowledge from multiple PRs is distilled in a controlled, auditable batch process.

Core Features & Use Cases

  • Automated batch orchestration: scans for pending PRs, creates a working branch, and runs per-PR subagents to gather evidence and produce a changeset.
  • Quality gating and reporting: applies a quality gate to candidates, aggregates results into a report PR, and surfaces insufficient evidence for deferred processing.
  • Change tracking & audit: writes a structured changeset JSON for later vault insertion and generates a batch report for review.

Quick Start

Trigger a batch run that processes all merged PRs with knowledge:pending, writes changesets under .knowledge/changesets, and creates a report PR for review.

Frequently Asked Questions about batch-refine

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

FAQPage Schema
How do I automate knowledge distillation from merged pull requests?▼

Automating knowledge distillation from merged pull requests involves scanning PRs labeled knowledge:pending, collecting evidence, extracting candidates, and generating a changeset with a report PR for review.

What is batch distillation orchestration for software engineering workflows?▼

Batch distillation orchestration coordinates discovery of merged PRs, gathers evidence via subagents, applies quality gating, and produces structured changesets for controlled, auditable vault integration.

How do I generate a changeset from accumulated PR evidence?▼

Generating a changeset from accumulated PR evidence requires processing merged PRs to extract candidates, applying a quality gate, and writing structured JSON to .knowledge/changesets for later vault insertion.

Can I run batch distillation on a schedule or trigger it manually?▼

Batch distillation can operate on a schedule or via manual dispatch to consolidate accumulated knowledge across multiple PRs and surface review-worthy entries for vault integration.

What happens to PRs with insufficient evidence during batch distillation?▼

PRs with insufficient evidence during batch distillation are surfaced by the quality gate for deferred processing, ensuring only verified candidates proceed to changeset generation and report creation.