Agent skill
persona-template
Generate user persona documents and empathy maps from templates
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/ux-ui-design/skills/persona-template
SKILL.md
Persona Template Skill
Purpose
Generate professional user persona documents and empathy map visualizations from structured data and templates.
Capabilities
- Fill persona templates with research data
- Generate persona cards in multiple formats
- Create empathy map visualizations
- Export to PDF, PNG, and Markdown
- Support multiple persona template styles
- Generate persona comparison views
Target Processes
- persona-development.js (personaDocumentationTask)
- user-research.js (personaCreationTask)
Integration Points
- Template engines (Handlebars, EJS)
- PDF generation (Puppeteer, PDFKit)
- Image generation for persona cards
Input Schema
{
"type": "object",
"properties": {
"personaData": {
"type": "object",
"properties": {
"name": { "type": "string" },
"photo": { "type": "string" },
"demographics": {
"type": "object",
"properties": {
"age": { "type": "number" },
"occupation": { "type": "string" },
"location": { "type": "string" },
"education": { "type": "string" }
}
},
"goals": { "type": "array", "items": { "type": "string" } },
"frustrations": { "type": "array", "items": { "type": "string" } },
"behaviors": { "type": "array", "items": { "type": "string" } },
"quote": { "type": "string" },
"bio": { "type": "string" }
}
},
"empathyMap": {
"type": "object",
"properties": {
"says": { "type": "array" },
"thinks": { "type": "array" },
"does": { "type": "array" },
"feels": { "type": "array" }
}
},
"templateStyle": {
"type": "string",
"enum": ["minimal", "detailed", "visual", "ux-agency"],
"default": "detailed"
},
"outputFormat": {
"type": "string",
"enum": ["pdf", "png", "markdown", "html"],
"default": "markdown"
}
},
"required": ["personaData"]
}
Output Schema
{
"type": "object",
"properties": {
"personaDocument": {
"type": "string",
"description": "Path to generated persona document"
},
"empathyMapDocument": {
"type": "string",
"description": "Path to generated empathy map"
},
"cardImage": {
"type": "string",
"description": "Path to persona card image"
},
"markdownContent": {
"type": "string",
"description": "Markdown content if applicable"
}
}
}
Usage Example
const result = await skill.execute({
personaData: {
name: 'Sarah Chen',
demographics: {
age: 34,
occupation: 'Product Manager',
location: 'San Francisco, CA'
},
goals: ['Streamline team workflows', 'Reduce meeting overhead'],
frustrations: ['Too many tools', 'Information silos'],
quote: 'I need to see the big picture while managing details'
},
empathyMap: {
says: ['We need better collaboration'],
thinks: ['Is there an easier way?'],
does: ['Checks multiple apps daily'],
feels: ['Overwhelmed by notifications']
},
templateStyle: 'detailed',
outputFormat: 'pdf'
});
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?