Generate a structured persona profile (user, system role, or external agent) based on user instructions and project files (like demo seeders or docs). Use when the user asks to "create a persona", "define a user profile", "generate a persona for X", or "create a persona file".
Create detailed, realistic persona profiles that can serve as context for UI/UX testing, feedback generation, and auditing. This skill extracts and structures demographic, behavioral, and technical information to simulate how a specific persona would interact with the system.
Output: A Markdown document in docs/personas/<slug>.md
Understand the Request:
Context Gathering (Crucial Step):
database/seeders/) using view_file or grep_search. Extract name, email, roles, tenant associations, company associations, and default permissions. in the persona document.Synthesis & Structuring:
[persona-template.md](references/persona-template.md).Creation:
docs/personas/<descriptive-slug>-<user-name>.md. Example: multi-client-single-tenant-marcelo-duarte.md.docs/personas/<role-slug>.md. Example: tenant-admin.md, pentester.md.docs/personas/ directory if it doesn't exist.Completion:
Always follow the exact structure defined in the reference file:
docs/personas/tenant-admin.md (generic slug, no email).[email protected], role Admin in Organization "Acme Corp", associated with Team Alpha (admin) and Team Beta (readonly). Creates docs/personas/multi-team-joao-silva.md (descriptive slug with name, email included in doc).