generate-persona
Generate Jobs-to-be-Done personas (job stories, persona cards) as proto-personas that become research-based as evidence arrives; never invents demographics or quotes.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 13
- Forks
- 1
01 前言 Front Matter
- model
- opus
- description
- Generate Jobs-to-be-Done personas (job stories, persona cards) as proto-personas that become research-based as evidence arrives; never invents demographics or quotes.
- argument-hint
- [--input=<file|dir>] [--auto] [--lang=ja|en]
03 SKILL.md 正文
Personas (Jobs-to-be-Done)
Shared files: a path written @rules/…, @skills/…, @templates/… or @docs/… is relative to the
plugin root, ${CLAUDE_PLUGIN_ROOT} — not to the project being worked on. Read it from there.
Usage: /product:generate-persona [--input=<file|dir>] [--auto] [--lang=ja|en]
Desired Outcome
Produce one deliverable:
- Personas —
reports/01_ux/personas.md:- Job stories (
JOB-IDs) — When [situation], I want to [motivation], so I can [outcome], covering functional / emotional / social dimensions - Persona cards (
PER-IDs) — archetype, context & behaviors, JTBD, Pains, Gains, and a verbatim quote (marked[proto]if unvalidated) - A designated primary persona vs secondary / anti-personas
- Job stories (
Personas are anchored to jobs (which survive pivots), not to demographics. Unvalidated content is explicitly a proto-persona scaffold.
Invocation
/product:generate-persona [--input=<file|dir>]... [--auto] [--lang=ja|en]
| Argument/Flag | Required | Description |
|---|---|---|
--input=<file|dir> |
Recommended | Interview notes, surveys, analytics, support logs |
--auto |
Optional | Skip elicitation; generate proto-personas from inputs only |
--lang |
Optional | Override output language |
Decision Criteria
- Anchor to jobs, not demographics. Every persona must carry at least one
JOB-story. - AI output is a scaffold. Mark unvalidated claims
[proto]; emotional validity is weak until research confirms it. Prefer research data wherever it exists. - Never fabricate demographics or quotes. Ask the unknown with AskUserQuestion — free text via
the appended "Other" for anything the options cannot express — and record
TBDin Open Questions only for what stays unanswered (@rules/open-questions.md). - Name a primary persona — the product cannot be optimized for "everyone".
- Stop condition: ≥1 job story per persona, each persona card complete (or
TBD/[proto]), and a primary persona designated.
Prerequisites
| Input | Required/Recommended | Source | If missing/empty |
|---|---|---|---|
reports/00_core/vision-mission-value.md |
Required | /product:define-vision |
block with a message — personas need the target group |
research material (--input) |
Recommended | User | proceed as proto-persona; mark [proto] |
Process
- Read context — vision (target group),
work/context.md,work/traceability.json,--input. - Extract jobs — write job stories from the target group's situations (functional/emotional/
social). Apply
@rules/product/persona-jtbd.md. - Build cards — context, Pains, Gains, JTBD, verbatim (from research, else
[proto]). - Prioritize — designate the primary persona vs secondary / anti-personas.
- Append traceability — add
JOB-/PER-nodes towork/traceability.jsonwith UpstreamVIS-references. - Record — write the file; append decisions to
work/context.md; keep the[proto]markers on unvalidated claims; ask remaining unknowns and log only what stays open (@rules/open-questions.md).
Output
reports/01_ux/personas.md, with JOB-/PER- ID tables (Upstream column) and the primary persona
flagged.
Reference Materials
| Resource | Purpose |
|---|---|
@rules/product/persona-jtbd.md |
JTBD job stories, persona cards, proto vs research-based |
Related Skills
| Skill | Relationship |
|---|---|
/product:define-vision |
Upstream — provides the target group |
/product:map-journey |
Downstream — maps the journey of each persona |
/product:define-features |
Downstream — features serve JOB-/PER- |
/product:adapt-change |
Re-runs this skill when the audience changes |
04 同仓库更多 Skills
doctor
Check the install and a project: plugins at the repository's version, hooks and skills in place, the two knowledge bundles present and fresh, the project's registry, question store, audit log, learned rules and claims readable. Run it first when a command misbehaves.
verify-sql-migration
Prove a SQL migration on data: golden checks against an authorized source database and differential tests against ScalarDB. Never touches production.
verify-implementation
Check code against the design (API contract, transactions, security, requirements, the example chain) and report every divergence; optionally runs the eight-stage quality gate.
update-knowledge
Fetch or update an OKF knowledge bundle: ScalarDB/ScalarDL, or the vendored Kubernetes/Terraform bundle.
start
Interactive entry point for system architecture work: refactor a legacy application into services, or design a new system from requirements; picks the path from the project's state. To move a database to ScalarDB, use migrate-database.
select-scalardb-edition
Choose the ScalarDB edition (Community, Enterprise Standard or Premium, plus Enterprise Options), deployment mode and cluster topology through a short interview.