Add Project Skill
Use this skill when adding a new project entry to the interactive portfolio gallery dashboard.
Instructions
The helper script automates appending the project properties to Projects.tsx, adding the WebP cover image to ProjectSection.tsx coverImages, and converting the raw image assets.
Usage
Run the script from the repository root:
node .agents/skills/add-project/scripts/add-project.mjs \
--name "Project Name" \
--icon "icon_key" \
--duration "YYYY - YYYY" \
--description "Project description with optional <b>bold</b> stack annotations." \
--cover "/path/to/source_image.jpg" \
--links '[{"tooltip": "See source", "link": "https://...", "icon": "code"}]'
Parameter Details
--name: (Required) Display title of the project.--icon: (Required) Icon name mapping toIcons.tsx(e.g.security,energy,app,code,link,smartToy,videoGame,timer,chat).--duration: (Required) Date or duration string (e.g.,"2025","2023 - 2024").--description: (Required) Detailed description. HTML bold tags<b>...</b>are parsed into React JSX bold markup automatically.--cover: (Required) Absolute or relative path to the project's cover image. The script automatically converts JPG/PNG images to optimized.webpviacwebpand copies them topublic/images/projects/.--links: (Optional) JSON array string containing project link objects. Each link object supportstooltip,link, andiconproperties.
Verification Checklist
- Confirm that the new project is listed in Projects.tsx.
- Confirm that the WebP image is added to the
coverImagesarray in ProjectSection.tsx. - Verify that the optimized cover image exists at
public/images/projects/<project_slug>.webp. - Run
npm run typecheckandnpm run lintto ensure zero compilation or syntax errors.
Related skills
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
Claude CodeCursoradvanced
890
234
3,222
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
claudeCursorWindsurfbeginner
259
72
1,128
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.
claudeCursorWindsurfintermediate
156
44
996