mirror of
https://github.com/mmahdium/portfolio.git
synced 2026-08-17 05:24:30 +03:30
feat(resume): complete Epic 4 - Resume Content Strategy and Guidelines
- Update resume data with comprehensive professional summary and optimized work experience highlights - Add resume content tech-spec and strategy documentation for 2025 best practices - Create resume guidelines reference document for content consistency - Enhance PDF composable with openPdf preview function alongside downloadPdf - Expand CSS banner hiding rules to block certificates.dev promotional content - Add research documentation on resume best practices and ATS optimization - Update i18n translations for resume content in English and Persian - Include sample Ali Arghyani resume PDF template in design assets - Refactor resume.en.ts with improved professional positioning and achievement metrics - Update API route documentation for PDF generation story artifacts - Establish foundation for Epic 4 sprint planning with tech specifications
This commit is contained in:
@@ -150,26 +150,32 @@ pnpm add puppeteer puppeteer-core @sparticuz/chromium
|
||||
## Dev Agent Record
|
||||
|
||||
### Context Reference
|
||||
|
||||
<!-- Will be filled by SM agent -->
|
||||
- docs/sprint-artifacts/3-1-create-pdf-generation-api-route.context.xml
|
||||
|
||||
### Agent Model Used
|
||||
|
||||
<!-- Will be filled by dev agent -->
|
||||
- Claude (Kiro)
|
||||
|
||||
### Debug Log References
|
||||
|
||||
<!-- Will be filled by dev agent during implementation -->
|
||||
- Chrome installation issue resolved with `npx puppeteer browsers install chrome`
|
||||
- Fixed code conflicts from autofix
|
||||
|
||||
### Completion Notes List
|
||||
|
||||
<!-- Will be filled by dev agent after completion -->
|
||||
- ✅ API route created at `server/api/resume/pdf.get.ts`
|
||||
- ✅ Puppeteer integration with environment detection (dev vs prod)
|
||||
- ✅ PDF generation with A4 format, printBackground
|
||||
- ✅ Dynamic filename support via query parameter
|
||||
- ✅ Inline/attachment mode support via `download` query param
|
||||
- ✅ Error handling with 500 status and JSON response
|
||||
- ✅ vercel.json configured with memory and maxDuration
|
||||
|
||||
### File List
|
||||
|
||||
<!-- Will be filled by dev agent with created/modified files -->
|
||||
- `server/api/resume/pdf.get.ts` (created)
|
||||
- `vercel.json` (modified)
|
||||
- `package.json` (puppeteer dependencies added)
|
||||
|
||||
---
|
||||
|
||||
**Change Log:**
|
||||
- 2025-12-01: Story drafted by SM agent (Bob)
|
||||
- 2025-12-01: Implementation completed - API route with Puppeteer PDF generation
|
||||
- 2025-12-01: Added dynamic filename and inline/download mode support
|
||||
|
||||
Reference in New Issue
Block a user