Files
museion/ref/writing skills/AGENTS.md
T
AlexKucera 22bca36857
CI / ci (push) Canceled after 0s
feat(mentor): pin prompt-end constraint ordering (#1)
Both personas gain the verbatim-shared "Draft first, rules last"
section (pass 1.5, session 1.2): the writer's material enters
context before the rule skills, so the deslop constraint tables sit
after the draft, nearest the writing they govern — the PRD's
prompt-end rule. A real ACP audit (the app's exact wire — never
-z: one-shot mode swaps the skills directive and loads nothing)
showed the baseline already read the piece before deslop, but by
model choice; the pin converts observed-once into instructed-
always, and PersonaLoadOrderTests guards presence + verbatim
parity over the bundled payload.

Verified layout, probe traps, and the additive-only propagation
cost are documented in docs/research/prompt-layout-factsheet.md
with the probe script in-repo; real-run verify: piece → persona →
deslop → verdict, 6 fix cards + 2 research candidates landed on
the real rails. Suite 479 + 1 load-flake cleared in isolation.

Closes #1
2026-10-30 11:20:01 +01:00

34 lines
2.4 KiB
Markdown

# ref/writing skills
## Purpose
The bundled writing-skill set — the mentor's mind as markdown skills. This is the G3a payload: shipped as app resources, seeded additively into the ONE master copy at `~/Library/Application Support/Museion/skills/` at first run, and symlinked from there into each surface profile per the #133 allocation (Pass 1: 9 · Pass 2: 8 · Chat: 10 — the persona pair never co-occurs). Spec and member list: PRD.md, "The bundled skill set".
## Ownership
Owned by the root AGENTS.md contract. Vocabulary is bound by CONTEXT.md (Mentor, Pass, Session, Piece, Learnings).
## Local Contracts
- One skill per kebab-case directory holding a `SKILL.md`.
- Frontmatter: `name`, `description` (quoted string), `license: GNU GPLv3`, `metadata` (author, email, version).
- Seeding is additive-only: bundled skills land in the master if absent; existing master skills and profile skills are never overwritten. Copy-era real dirs in a profile migrate to master symlinks only on byte-match (a diverged dir stays a copy); untracked/user skills are never touched.
- `seed-manifest.txt` lists the shipped set — update it when adding or removing a mentor skill. `ste-writing` and `writing-for-agents` stay in ref/ as authoring tools, never seeded.
- Deslop owns the single subtractive rule set; serif-writing owns the method. Other skills reference both; none restates them.
- The persona pair shares four sections verbatim by design (Knife floor, silent learnings, voice anchor, draft-first-rules-last) — edit them together or not at all. The load-order pin (`## Draft first, rules last`, #1) keeps style constraints at/near the working-context end (PRD prompt-end rule; verified layout: `docs/research/prompt-layout-factsheet.md`); `MuseionTests/PersonaLoadOrderTests.swift` guards presence and verbatim parity.
## Work Guidance
- Authoring follows the writing-for-agents craft: front-loaded context pointers, leading words, positive phrasing, single source of truth, pruned no-ops.
- Persona skills carry blend arithmetic plus pass-operational mechanics (Fix Card emission) — no mood adjectives. The pass verdict references findings by pattern title only, never restating problem/fix/anchor — the card is the finding's single full statement (pass-persona v1.2).
## Verification
- Frontmatter parses as valid YAML.
## Child DOX Index
| Path | Scope |
| --- | --- |
| `serif-writing/references/` | Serif's full methodology document (skill reference, not a DOX rail) |