01
It starts by itself
KGF spec changes. Runs in GitHub Actions or Claude Code routine.
- ↻ KGF spec changes
push paths: kgfs/*.kgf
KGF spec edits keep docs extracted.
Install the Indexion KGF skill and make it a habit: follow https://gethabit.dev/skills/trkbt10/indexion-kgf.md
5K installs2 starsApache-2.0 licenceSource on GitHub ↗

Indexion KGF
by trkbt10 · 5K installs
The skill
Indexion kgf inspects and debugs KGF language specs by showing tokens, parse events and extracted edges for a source file, with known PEG and token pitfalls.
Only when you ask.
The habit
KGF spec edits keep docs extracted.
↻ Runs by itselfKGF spec changes
When does it start? How does it check its work? What does it remember?
Stops after one changed spec per run, with at most 2 retries.
Run indexion kgf inspect with the changed spec on a sample file.
Use indexion kgf tokens, events or edges for the part that looks wrong.
Look for DocComment ordered before declarations, a missing NL? and generic tokens defined before specific ones.
Run indexion kgf edges and grep declares to confirm doc is present.
Record the spec, the sample file and any pitfall fixed.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Indexion KGF skill helps.
Run indexion kgf tokens on the file to see the real token kinds, then adjust the pattern.
Often DocComment comes before declarations in the Item rule, or NL? is missing between doc and keyword.
Copy the prompt at the top into your agent. It installs the skill from trkbt10/indexion-skills and sets up the habit. Or run npx skills add trkbt10/indexion-skills --skill indexion-kgf.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Indexion KGF skill and make it a habit: follow https://gethabit.dev/skills/trkbt10/indexion-kgf.md
All trkbt10 skills →More code skills →
Works in
Made by trkbt10, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?