一键导入
add-member
Add a new team member to the WTM Madrid website. Creates the markdown data file in the content collection and guides image placement.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add a new team member to the WTM Madrid website. Creates the markdown data file in the content collection and guides image placement.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new community partner to the WTM Madrid website. Appends an entry to the partners JSON data file and guides logo image placement.
Add a new sponsor to the WTM Madrid website. Appends an entry to the sponsors JSON data file and guides logo image placement.
| name | add-member |
| description | Add a new team member to the WTM Madrid website. Creates the markdown data file in the content collection and guides image placement. |
| license | MIT |
| metadata | {"authors":"WTM Madrid","version":"1.0.0"} |
You are helping add a new team member to the Women Techmakers Madrid website.
Team members are stored as individual Markdown files in src/data/team/, loaded via Astro's Content Layer API (glob() loader). Each file is frontmatter-only — no body content needed.
The collection schema (defined in src/content/config.ts) requires:
| Field | Type | Required |
|---|---|---|
name | string | yes |
bio | string | yes |
image.src | string (~/assets/images/team/<file>) | yes |
image.alt | string | yes |
social.twitter | URL string | no |
social.linkedin | URL string | no |
social.bluesky | URL string | no |
order | number | no (defaults to 99 in sort) |
Ask the user for the following if not already provided in their message:
ana-garcia.jpg) — see step 2src/data/team/ using Glob to find the current highest numeric prefix.09).ana-garcia-lopez).<prefix>-<slug>.md (e.g. 09-ana-garcia-lopez.md)Create src/data/team/<filename>.md with this exact structure:
---
name: '<Full Name>'
bio: '<Bio text>'
image:
src: '~/assets/images/team/<image-filename>'
alt: 'Foto de <Full Name>'
social:
twitter: '<URL>' # omit line if not provided
linkedin: '<URL>' # omit line if not provided
bluesky: '<URL>' # omit line if not provided
order: <number>
---
Important rules:
social field lines that have no value. The social object itself must always be present (even if empty {}), because TeamMember.astro accesses member.social.twitter etc. directly.social: {}.image.src path must start with ~/assets/images/team/.After creating the file, tell the user:
Don't forget the image! Place the member's photo at:
src/assets/images/team/<image-filename>Supported formats:
.jpg,.jpeg,.png,.webpRecommended: square or portrait crop, minimum 280×350 px.
Run npm run check:astro to confirm the new file passes Astro type-checking.
File: src/data/team/09-ana-garcia.md
---
name: 'Ana García'
bio: 'Ana es desarrolladora frontend con 5 años de experiencia en React y TypeScript. Apasionada por la accesibilidad web y el diseño inclusivo.'
image:
src: '~/assets/images/team/ana-garcia.jpg'
alt: 'Foto de Ana García'
social:
linkedin: 'https://www.linkedin.com/in/ana-garcia/'
order: 9
---