knowledge-flush

Solid

Drain queued ★ Insight candidates (harvested from your sessions) into the wiki as a reviewed PR. For each candidate it researches and verifies the best-practice against real sources, checks existing wiki layers for duplicates and links, decides the target layer/category (or justifies a new one), runs wiki-ingest, then opens ONE PR per flush for you to review and merge/reject. Never auto-merges. Use when asked to "flush knowledge", "process the insight queue", "ingest what I learned", or "/dev-loop:knowledge-flush".

Code & Development 4 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# knowledge-flush — queued insights → verified wiki PR Turn the `★ Insight` candidates harvested from your sessions into a wiki contribution, **PR-only** — you (the repo owner) review each PR and merge or reject it. This skill NEVER auto-merges and NEVER pushes to `main`. The queue lives at `~/.dev-loop/queue/*.jsonl` (written by the Stop hook). Each row is a candidate: `trigger, directive, why, evidence, domain, tags, content`. ## Non-negotiable order (a PreToolUse gate enforces it) `hooks/pre-flush-pr-gate.sh` blocks `gh pr create` on a knowledge branch unless an `INGEST_REPORT.md` with three filled sections exists. So do the work first: 0. **Acquire the shared flush lock — before anything else, including the checkout reset in step 1.** This skill and the `hooks/auto-flush.sh` Stop hook are the two entry points that drain the same queue; both serialize through the same lock (`scripts/flush-lock.sh`, issue #77). Generate this run's id **once, here**, and record it — **every** later `flush-lock.sh` call in this flush (the abort-path release below, and step 5's release) must be prefixed with it. This is mandatory, not a style choice: each step in this skill runs in its own fresh shell, so nothing carries between them on its own — an unprefixed call computes a brand-new run id that no longer matches the one that acquired the lock, so `release` is refused as a foreign caller and the lock leaks for the full TTL. ```sh RUNID="flush-$(da...

Details

Author
choiyounggi
Repository
choiyounggi/dev-loop
Created
1 months ago
Last Updated
today
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

wiki-ingest

Add one verified lesson or edge case to the bundled wiki. Route it to the right domain and category, merge into an existing page before creating a new one, and enforce sourcing and positive-guidance rules. Use when capturing a documented best practice or a production edge case.

4 Updated today
choiyounggi
AI & Automation Featured

flush

Use when the user wants to manually flush a deferred-commit queue from a prior or interrupted chain. Reads .hyperflow/commits-queue/manifest.json, fast-forwards the staging branch onto the user's branch, deletes staging, clears the queue. Recovery interface when a chain crashed before its Step 4 auto-flush ran. Trigger with /hyperflow:flush, "flush pending commits", "flush queue", "apply staged commits", "where are my commits".

2,656 Updated today
jeremylongshore
Data & Documents Listed

curiosity-engine

Self-improving knowledge wiki with a vault of raw sources. Use when the user mentions 'curiosity engine', 'wiki', 'vault', 'knowledge base', 'ingest', 'iterate', 'refine', 'improve', 'evolve', 'curator', 'lint', or wants to add sources, query accumulated knowledge, check wiki health, or run autonomous improvement. Also triggers on 'add to vault', 'what do I know about', 'improve wiki', 'set up knowledge base', 'new knowledge base', 'run curator'. Use even without explicit naming — if the user wants to file something for later or asks about accumulated knowledge, this is the skill.

0 Updated 6 days ago
benjsmith