Communitygithub.com

resume-craft

Use this skill when the user wants to turn a resume (PDF, text, Markdown, or Word) into an interactive online resume website. It builds a 6-slide full-screen React + Vite + Tailwind CSS v4 + Anime.js + Framer Motion site with a flowing Canvas background, 3D tilt cards, bar and radar charts, privacy-first one-click copy contacts, and a single-page A4 PDF export modal. It asks the user to pick from six curated color presets before building.

resume-craft 是什么?

resume-craft is a Cursor agent skill that use this skill when the user wants to turn a resume (PDF, text, Markdown, or Word) into an interactive online resume website. It builds a 6-slide full-screen React + Vite + Tailwind CSS v4 + Anime.js + Framer Motion site with a flowing Canvas background, 3D tilt cards, bar and radar charts, privacy-first one-click copy contacts, and a single-page A4 PDF export modal. It asks the user to pick from six curated color presets before building.

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/shiroidaoqi/resume-craft/tree/HEAD

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Resume Craft (简历工坊)

Turn a static resume into a 6-slide full-screen interactive web resume (React + Vite + Tailwind CSS v4 + Anime.js + Framer Motion + Lucide Icons). Avoid generic dark-neon templates.

Workflow

1. Intake & Interactive Preference Discovery

  1. Read the resume (PDF/file path or pasted text) and extract:
    • Identity & contact (name, role, location, phone, email)
    • 3–4 headline quantified metrics (e.g. 1000+ contracts, 50+ cases, 16 deals)
    • Chronological work/internship history grouped into sub-tracks
    • Core projects / case highlights
    • 6 radar dimensions, proficiency bars, and a 2×2 domain matrix
    • Education, credentials, honors & awards
  2. Infer the candidate's profession and seniority.
  3. Unless the user has already specified exact styling, ask before building. Use ask_question if available; otherwise give a numbered multiple-choice list in chat.
    • Color & aesthetic preset: list the presets from style-presets.md, put the best fit for the candidate first and mark it (Recommended), and add a "Custom palette" option.
      • A — Neo-Brutalist Swiss Tech
      • B — Executive Glassmorphism
      • C — Warm Editorial Paper
      • D — Linen & Forest Botanical
      • E — Swiss International Signal
      • F — Quiet Luxury Monochrome
    • Language: bilingual 中文 / EN toggle (recommended), Chinese only, or English only.
    • Background motion: industry-matched flowing canvas tokens (recommended — dynamically derived from the candidate's field), custom keywords, or plain geometric grid (no floating text).
  4. If the user later says the colors look wrong, re-ask with the remaining presets rather than guessing. If they supply their own colors, follow the Custom Palette Guardrails in the presets file.

Industry-Adaptive Presentation

Tailor FlowingCanvas tokens, Slide 02/03 framing, section labels, and icons to the candidate's real domain — never default to coding or legal jargon for unrelated fields:

  • Engineering / AI / Data: code snippets & systems primitives (async/await, O(log n), SQL, CI/CD), architecture & benchmark cards, GitHub/live demo CTAs.
  • Product / Design / Creative: design tokens & craft metrics (8pt Grid, Design System, UX Flow, Typography), case-study cards & visual hierarchy.
  • Finance / Consulting / Management: business & capital metrics (ARR, EBITDA, M&A, CAGR, GTM), deal/KPI bar charts & horizontal executive stepper.
  • Healthcare / Biotech / Research / Academia: clinical & scientific terms (Clinical Trial, Peer-Reviewed, GMP, R&D Pipeline), publication/grant highlights.
  • Legal / Compliance: governance & statutory concepts (Governance, Compliance, Contract Audit, Dispute Resolution), structured dossier timeline.
  • Other industries (Marketing, Architecture, Operations, Education, etc.): extract 12–18 authentic domain keywords directly from the user's resume.

2. Scaffold Project

Create a Vite + React + TypeScript project:

  • dependencies: react@^18.3.1, react-dom@^18.3.1, animejs@^3.2.2, framer-motion@^11.15.0, lucide-react@^0.469.0
  • devDependencies: @tailwindcss/vite@^4.0.0, tailwindcss@^4.0.0, @vitejs/plugin-react@^4.3.4, typescript@^5.7.2, @types/react@^18.3.0, @types/react-dom@^18.3.0
  • Start from the typed data model in resume.schema.ts and populate it only from the resume.
  • Add src/vite-env.d.ts with declare module 'animejs' { const anime: any; export default anime } so tsc -b passes.
  • Render <App /> directly in src/main.tsx without <StrictMode> (see animation-checklist.md).

3. Build the 6-Slide Deck

Use a full-viewport (h-screen h-dvh overflow-hidden) deck with a top progress bar, a floating header (brand, slide pills, language toggle), a bottom dot capsule with Prev/Next buttons, and ←/→ keyboard navigation:

  1. Hero & Overview: 3D rotateX title flip, character-by-character bio reveal (.hero-bio-char), 3 clickable stat cards, right column with TOC or vertical bar chart, core tags, and privacy-first copy buttons.
  2. Data Charts & Core Cases: animated bar charts plus 2×2 mouse-tracking TiltCard project/case cards.
  3. Career Trajectory: vertical timeline or horizontal 4-stage stepper with a 3D detail card.
  4. Capability Radar: elastic 6-axis SVG radar, horizontal proficiency bars, 2×2 [01]–[04] watermark matrix.
  5. Credentials, Honors & Education: stacked rows with hover curtain sweep, icon spin, badge inversion.
  6. Contact: centered accent card with character-by-character intro and 3 tilted CTA buttons.

Starter components: use TiltCard.tsx for tilt cards and FlowingCanvas.tsx for the background canvas.

Slide 05 depends on the resume: if it contains no awards/honors, rename it "Skills, Certifications & Education" or drop to 5 slides (see the boundary section below).

Navigation: besides buttons and ←/→, support horizontal touch swipe (onTouchStart/onTouchEnd) on mobile. Gate any custom cursor behind @media (pointer: fine) so touch devices never get a stuck cursor (see animation-checklist.md).

Apply the chosen preset's tokens (canvas, cards, shadows, accents, canvas text colors) consistently on every slide.

4. Mandatory UX & Privacy Standards

  • Privacy-first contacts: never show the raw phone or email on buttons. Label them 复制邮箱 / 复制电话 (Copy Email / Copy Phone), copy on click, and show 已复制 feedback.
  • 1-page A4 PDF modal: a 简历 PDF button on slides 1 and 6 opens a single-page resume overlay with a 打印 / 导出 PDF button (window.print()) and @media print rules that hide all chrome.
  • Background depth: a fixed <canvas> of flowing text that respects prefers-reduced-motion.
  • AI-friendly metadata: generate public/llms.txt and Schema.org JSON-LD in index.html.

Anti-Hallucination & Privacy Boundary

  • Never invent metrics, companies, cases, roles, dates or awards that are not in the resume. If a headline metric is missing, use a non-numeric highlight instead of fabricating a number.
  • If the resume has no awards/honors, adapt Slide 05 to "Skills, Certifications & Education", or use 5 slides.
  • Never render sensitive fields on the public site: home address, birth date, national ID/passport numbers, or similar. Show the city only.
  • Phone and email stay behind copy buttons (see above); do not place them in plain text, llms.txt, or JSON-LD.
  • When unsure whether a detail is sensitive or real, omit it or ask the user.

5. Build, Preview & Verify

  1. Run npm install and npm run build (tsc -b && vite build); fix every error.
  2. Start npx vite --port <PORT> --strictPort as a background process.
  3. Open http://localhost:<PORT>/ in a browser (use a browser subagent if available), step through all 6 slides, test the PDF modal and language toggle, and confirm 0 console errors and 0 failed requests.
  4. To hand the project to another agent or folder, copy the source excluding node_modules and dist, and add a README.md with npm install && npm run dev.

相关技能