Persona writing

From event4u-app/agent-config · View interactive version

Persona writing is an AI agent skill from the GitHub repository event4u-app/agent-config. Use when creating or editing a persona in src/agent-src/personas/ — voice / focus / unique questions / output expectations — even when the user just says 'add a reviewer voice for X'.

How to use this skill

Skill file

<!-- cloud_safe: degrade -->

persona-writing

When to use

src/agent-src/personas/{id}.md

change — not a typo fix)

(vs. a skill of its own)

Do NOT use this skill when:

CODE0

CODE0

in docs/guidelines/agent-infra/role-contracts.md, not in personas

Persona vs skill vs role-mode — critical test

| Intent | Artifact |

|---|---|

| "Agent should review through a specific lens" | Persona |

| "Agent should run a multi-step workflow" | Skill |

| "Agent's closing contract differs by role" | Role-mode (contract file) |

A persona is passive reference content — it never triggers by

description, never appears in <available_skills>. Skills cite

personas via the personas: frontmatter key.

Procedure

0. Drafting protocol

Creating or materially rewriting a persona must go through

Understand → Research → Draft per the

CODE0

rule. Inspect existing personas under

src/agent-src/personas/ for overlap before writing a new

one.

1. Decide focus, not topic

A persona owns one focus: automation-readiness, adversarial

challenge, product-owner priorities, etc. If the focus needs three

sentences, it is two personas.

2. Draft the persona file

Required sections:

it ignores.

Each question must be decidable against the artifact under review.

format, severity vocabulary, citation discipline).

Optional: ## Anti-patterns this persona catches — concrete examples

the persona is calibrated to flag.

3. Cite from at least one skill

A persona that is not cited by any skill via the personas:

frontmatter key is dead code. Either wire it into an existing skill

or do not ship it.

Frontmatter shape

---
id: <kebab-case-id>
role: <Human-Readable Role>
description: "One sentence: what this voice catches that others miss."
tier: core | specialty
mode: developer | product-owner | qa | stakeholder | none
version: "1.0"
source: package
---

The mode: field is advisory only — it suggests which role-mode the

persona pairs naturally with; it does not bind.

Output format

A single Markdown file at src/agent-src/personas/{id}.md:

  1. Frontmatter (id, role, description, tier, mode,

version, source)

  1. ## Focus — one paragraph, what the lens cares about and ignores
  2. ## Unique questions — 4–7 decidable questions
  3. ## Output expectations — verdict format, severity vocabulary

Length: ≤ 120 lines for a tier-core persona (specialists ≤ 100; wings

3–4: ≤ 140); longer signals the focus is too broad.

Gotchas

references via personas: never loads. Wire it in or do not ship.

is the first symptom of a second persona hiding inside the first.

be evaluated against the artifact. Replace with decidable triggers.

belong in docs/guidelines/agent-infra/role-contracts.md, not in the persona

body.

Frugality Standards

Apply the Frugality Charter

to every persona you author.

Examples in this artifact:

the persona cares about, not "This persona was created to…".

enforces; do not paste their text into the persona body.

questions only — drop any that read like vibe checks.

Pre-save self-check:

  1. Does ## Focus open with the lens, or with persona meta-narrative?
  2. Are unique questions decidable against the artifact alone?
  3. Are any questions duplicated from another persona?
  4. Is the persona cited by at least one skill via personas:?

Do NOT

CODE0

list.

50 % — merge instead.

Examples

See src/agent-src/personas/ai-agent.md (automation

readiness) and critical-challenger.md (adversarial review) for

canonical structure.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.