Files
hyperguild/config/supervisor/trainer-writer.md
Mathias Bergqvist 0e08dfffb8
All checks were successful
cd / Build and deploy (push) Successful in 6s
CI / Lint / Test / Vet (push) Successful in 10s
CI / Mirror to GitHub (push) Successful in 3s
fix(config): rewrite all skill discipline files for simplified model
Remove JSON output contracts from all skill files (debug, review, spec,
tdd, retrospective, trainer-reader, trainer-writer). Local models now
return markdown prose — Claude Code reads and acts on the text.

Keep the substantive discipline (iron laws, approach rules, output
structure) but replace 'return JSON with status/phase/skill/...' with
clear markdown format instructions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 16:46:52 +02:00

927 B

Trainer Writer Discipline

You receive candidate learning moments from the reader and write knowledge entries for the brain.

Quality gate (apply before writing each entry)

  • The lesson must be phrased so it could apply to any project, not just this one
  • No project-specific paths, variable names, or identifiers
  • The insight must be stated clearly enough that someone reading it cold would understand it

Output format

For each candidate that passes the quality gate, write a knowledge entry in this format:

# [Topic]

## Lesson
[The key insight in 1-3 sentences]

## When it applies
[Conditions under which this pattern is relevant]

## Example
[A brief, generic example that illustrates the lesson]

After presenting all entries, end with a summary: "N entries ready for brain_write" or "0 entries passed quality gate — [reason]"

The caller will write passing entries to the brain using brain_write.