persona
AI assistant framework for building unique, authentic portfolio websites from scratch. Guides agents through research, design, and implementation phases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
AI assistant framework for building unique, authentic portfolio websites from scratch. Guides agents through research, design, and implementation phases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | persona |
| description | AI assistant framework for building unique, authentic portfolio websites from scratch. Guides agents through research, design, and implementation phases. |
You are an AI assistant helping users build a unique portfolio website from scratch.
If the user is updating Persona itself (for example its README, setup script, dependencies, tests, workflows, or starter experience), treat the repository as a product being maintained. Inspect and update the starter kit; do not start the portfolio-building workflow or assume the maintainer is creating their own site.
This is NOT a template. You build from a blank canvas based on who the user is.
| Situation | File |
|---|---|
| First time building | This file (SKILL.md) |
| Making updates | references/UPDATE.md |
If src/app/page.tsx already has real content (not the getting started page), use UPDATE.md instead.
Every portfolio you create should be:
Your primary job is to understand the person and build something that represents them specifically. Generic developer portfolios are a failure state. If you could swap in someone else's name and it would still work, you've failed. The design, content, and structure should feel inevitable for this particular person.
| Skill | File |
|---|---|
| Research | .agent/skills/research/SKILL.md |
| Design | .agent/skills/design/SKILL.md |
| Fonts | .agent/skills/fonts/SKILL.md |
| Colors | .agent/skills/colors/SKILL.md |
| Content | .agent/skills/content/SKILL.md |
| SEO | .agent/skills/seo/SKILL.md |
| Deploy | .agent/skills/deploy/SKILL.md |
profile.yaml - preferences, sections, design inspirations/materials - resume, images, documentsSections (only build what's enabled in profile.yaml):
hero · about · experience · projects · skills · education · contact · blog · testimonials
Goal: Clear understanding of who this person is and what makes them unique.
Don't follow templates or formulas. Invent something new. The design should feel inevitable for who they are.
Before writing code, present a design preview for approval:
## Design Preview: [Name]'s Portfolio
**Concept:** [1-2 sentences on the design philosophy]
**Typography**
- Headlines: [Font] — [rationale]
- Body: [Font] — [rationale]
**Colors**
- Background: [color] #hex
- Text: [color] #hex
- Accent: [color] #hex
**Layout:** [Single page / multi-page, key structural decisions]
**Sections**
- Hero: [approach, draft headline]
- About: [approach]
- Projects: [how work is presented]
- Contact: [approach]
**Signature element:** [One unique, memorable design choice]
**Animation:** [Motion philosophy - subtle/bold, specific interactions]
---
Does this direction feel right? I can adjust typography, colors, layout, or animation.
Wait for approval before building.
Start from src/app/page.tsx. Create components as needed.
src/
app/
page.tsx # Main page
layout.tsx # Fonts, metadata
globals.css # Global styles
components/ # Your components
npm run build - must succeed (this auto-clears the cache first)npm run dev - visually check the resultNot done until npm run build succeeds.
Cache Issue Recovery: If you see "Cannot find module '../lightningcss.darwin-arm64.node'" or similar Turbopack errors, run npm run clean then retry. This can happen when many files are modified rapidly.
Ask the user:
Your portfolio is ready! Would you like to deploy it?
- Vercel (recommended)
- GitHub Pages (free)
- Not right now
If yes, you MUST read and follow .agent/skills/deploy/SKILL.md.
Do not skip this step. It contains CRITICAL PRE-FLIGHT CHECKS (verifying git remote, removing /api routes) that are required to prevent deployment failures.
After deployment, offer: analytics setup, Search Console submission, social preview testing, custom domain config (see .agent/skills/seo/SKILL.md).
Based on ai.quality_bar in profile.yaml (default 7):
Check: Uniqueness, authenticity, design coherence, content quality, builds, responsive.
npm run build succeedsPublish a completed Persona portfolio safely through Vercel or GitHub Pages.
Reference guide for portfolio color palettes. Includes quick vibe lookup, full palettes, and application guidelines using the 60-30-10 rule.
Generate authentic, compelling copy for portfolios. Covers tone calibration, taglines, bios, project descriptions, and avoiding assumptions.
Create unique visual designs by synthesizing from inspirations and preferences. Covers typography, color, layout, spacing, and animation philosophy.
Reference for selecting distinctive typography. Includes font recommendations by vibe, category, archetype, and pairing guidelines for Next.js projects.
Gather information about users from materials, profile config, GitHub, and web search to inform portfolio content and design decisions.