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.
Skills similaires
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Claude CodeCursoradvanced
890
234
3,222
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
claudeCursorWindsurfbeginner
259
72
1,128
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.
claudeCursorWindsurfintermediate
156
44
996