一键导入
persona
Switches engineering persona at runtime. Triggers: persona, switch role, backend-lead, frontend-lead, devops-eng, junior-dev.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Switches engineering persona at runtime. Triggers: persona, switch role, backend-lead, frontend-lead, devops-eng, junior-dev.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
REST/GraphQL API design: naming, versioning, pagination, idempotency, OpenAPI. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, idempotency, rate limit.
Direct technical voice for docs, README, user-facing text. Concise/strict modes. Triggers: documentation, README, content, output-mode, voice, prose style.
Multi-source web research methodology: retrieve-vs-answer gate, complexity-scaled search budget, query craft, primary-source preference, source-conflict skepticism, adversarial verification, attribution-without-reproduction. Triggers: deep research, multi-source, web research, synthesize sources, cross-reference, fact synthesis, source verification.
UI craftsmanship: animation rules, easing, micro-interactions, state polish. Triggers: animation, transition, ease-out, motion, micro-interaction, hover, loading state, UI polish.
Builds production MCP servers via 4-phase methodology: research, implement, test, evaluate. Triggers: build MCP, new MCP, MCP integration, MCP server scaffold.
MCP server design: tool schemas, resources, stdio/SSE, capability negotiation. Triggers: MCP, Model Context Protocol, JSON-RPC, stdio, SSE, Claude Desktop.
| name | persona |
| description | Switches engineering persona at runtime. Triggers: persona, switch role, backend-lead, frontend-lead, devops-eng, junior-dev. |
| effort | low |
| user-invocable | true |
| argument-hint | [backend-lead | frontend-lead | devops-eng | junior-dev | --list | --clear] |
| allowed-tools | Read, Glob |
$ARGUMENTS
Switch your working persona without re-installing. Personas adjust communication style, preferred skills, and code review priorities for the current session.
/persona backend-lead # Activate backend lead persona
/persona frontend-lead # Activate frontend lead persona
/persona devops-eng # Activate DevOps engineer persona
/persona junior-dev # Activate junior developer persona
/persona --list # Show available personas
/persona --clear # Reset to default (no persona)
| Persona | Focus | Preferred Skills |
|---|---|---|
backend-lead | System design, scalability, data integrity, API stability | /workflow backend-feature, /tdd |
frontend-lead | Component architecture, a11y, state management, Core Web Vitals | /design-an-interface, /review |
devops-eng | IaC, CI/CD, blast radius, rollback safety, observability | /workflow infrastructure-change, /deploy |
junior-dev | Step-by-step explanations, learning resources, small PRs | /explain, /explore, /debug |
$ARGUMENTS--list: read all app/personas/*.md files via Glob, display table with name and first-line summary--clear: respond with "Persona cleared. Using default behavior for the rest of this session."app/personas/{name}.md (relative to toolkit root)
b. If file not found, try the installed location: ~/.claude/skills/persona/../../../app/personas/{name}.md
c. Display the persona content to Claude
d. State: "Persona active: {name}. I will follow these guidelines for the rest of this session."Unlike --persona at install time (which injects into CLAUDE.md permanently), /persona applies for the current session only. The persona file content is loaded into the conversation context and Claude follows it until the session ends or /persona --clear is called.
/persona --clear resets; a new session starts from default..md files in app/personas/ — do not invent or describe a persona that has no fileapp/personas/<name>.md relative to the toolkit root. When the toolkit is globally installed, that root is at ~/.claude/skills/persona/../../../app/personas/ — fallback paths matter./persona --clear only resets the in-session persona. If the user ran ai-toolkit install --persona <name> at install time, that persona is injected into CLAUDE.md and survives session clears. Clearing requires editing CLAUDE.md directly.devops-eng does not give access to /deploy if it was not already installed; it only biases which skills the agent reaches for first.junior-dev asking for explanations in a project that says "no pleasantries") creates a tone conflict. Project rules win; adjust the persona or the project rules, not both silently.ai-toolkit install --persona <name> (project or global)/orchestrate or /workflow/typescript-patterns, etc.)app/personas/<name>.md directly; this skill only switches between existing ones