// Interactive guide for adding new lab members to the website. Gathers information via web research, helps write appropriate bios, optimizes images, and generates properly formatted member files. Use when adding new team members, updating member info, or marking members as alumni.
Interactive guide for adding new lab members to the website. Gathers information via web research, helps write appropriate bios, optimizes images, and generates properly formatted member files. Use when adding new team members, updating member info, or marking members as alumni.
Member file exists at _members/firstname-lastname.md
YAML frontmatter is valid
Role is valid (check against roles.yaml)
Image file exists (or noted as placeholder)
Bio is appropriate length for role
Bio uses third-person voice
Links are properly formatted
If alumni: team/index.md is updated
Step 8: Present Summary
Show the user what was created:
✓ Created member profile for [Name]
✓ File: _members/firstname-lastname.md
✓ Role: [role display text]
✓ Image: images/firstname-lastname.jpg [or "Placeholder - add later"]
✓ Links: [list of included links]
[✓ Updated alumni list] [if applicable]
Bio preview:
[First 100 characters of bio]...
Would you like me to show you the full file content?
Step 9: Optional Commit
Ask user if they want to commit the changes:
If yes: Create git commit with appropriate message
If no: Leave as unstaged changes for manual review
Bio Writing Guidelines
Voice and Tone
Always third person: "Jane is a PhD student..." (not "I am...")
Professional and academic: Formal but not stuffy
Factual and achievement-oriented: Focus on credentials and work
Present tense for current work: "working on", "developing", "researching"
Past tense for background: "received", "worked", "joined"
Essential Elements
All members should include:
Current role and institution
When they joined (month and year)
Education background (degree, major, institution)
Current research/work focus
Additional elements by role:
PI:
PhD institution and advisors (with hyperlinks)
Research philosophy and approach
Notable publications or media coverage
Prior positions
Major awards and honors
PhD/Postdoc:
Undergraduate and/or Master's institution
Specific research interests
Co-advisors if applicable
Previous research experience if notable
Staff/Programmer:
Prior work experience (industry or academic)
Technical expertise and focus areas
Projects they're working on
Joint appointments if applicable
Students (MS/Undergrad):
Major and year
Research interests
Prior internships or research if applicable
Awards/fellowships if notable
Alumni:
All of above based on their role
Mentors (especially for short-term interns)
Achievements during time in lab
Keep concise for summer interns (50-80 words)
What to Avoid
First person narrative (except possibly PI intro)
Excessive detail about projects (keep to 1-2 sentences)
Future tense or speculation
Casual language or slang
Personal information unrelated to research
Redundancy with frontmatter (name, role already shown)
Image Handling Details
Preferred Specifications
Format: JPG (preferred) or PNG
Size: 100-250 KB for web optimization
Aspect ratio: Square or nearly square (1:1 or 4:5)
Minimum dimensions: 300x300 pixels
Recommended: 400x400 to 600x600 pixels
Color: RGB color space
Optimization Process
If image needs optimization:
# Use the bundled script
bash .claude/skills/add-member/scripts/optimize-image.sh input.jpg output.jpg 500
Or manually with sips (macOS):
# Resize to 500px max dimension, maintaining aspect ratio
sips -Z 500 input.jpg --out output.jpg
# Convert PNG to JPG
sips -s format jpeg input.png --out output.jpg