一键导入
gmai-news
// Add, update, or remove news items on the GMAI Lab Jekyll website. Handles _data/news.yml with bilingual support (EN/ZH) and category badges. Use when posting announcements about papers, awards, events, or new members.
// Add, update, or remove news items on the GMAI Lab Jekyll website. Handles _data/news.yml with bilingual support (EN/ZH) and category badges. Use when posting announcements about papers, awards, events, or new members.
Add, update, remove, or move team members on the GMAI Lab Jekyll website. Handles _data/team.yml, EN/ZH profile pages, team photos, and Past Members. Use when adding a new lab member, updating someone's info, or archiving a departed member.
Add, update, or remove research projects on the GMAI Lab Jekyll website. Handles _data/projects.yml, project thumbnails, Starship subpages, and landing page Featured Research sections. Use when adding a new project, updating project info, or linking a project to the homepage.
Add or update publications on the GMAI Lab Jekyll website. Handles _data/publications.yml, teaser images, BibTeX, and optional news items. Use when adding a new paper, updating metadata, or fixing publication entries.
Create, update, or delete a "Starship" project subpage for the GMAI Lab Jekyll website (repo: uni-medical/gmai-web). Handles both English and Chinese versions, uploads images, and updates the homepage landing panel link. Use when adding a new research project page, modifying an existing one, or removing it. Covers the full file chain: pages/projects/{slug}.md · pages/zh/projects/{slug}.md · index.md · zh/index.md · assets/images/projects/{slug}/.
| name | gmai-news |
| description | Add, update, or remove news items on the GMAI Lab Jekyll website. Handles _data/news.yml with bilingual support (EN/ZH) and category badges. Use when posting announcements about papers, awards, events, or new members. |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep"] |
Trigger phrases:
_data/news.yml Master news data (newest first)
pages/news.md EN news page
pages/zh/news.md ZH news page
index.md / zh/index.md Homepage news section (bottom)
1. * Category?
[paper / award / grant / join / event]
Category badge colors (auto-applied by CSS):
- paper → blue badge
- award → gold badge
- grant → green badge
- join → purple badge
- event → gray badge
2. Date?
e.g. "April 2025" (default: current month if not specified)
3. * Category label (English)?
e.g. "New Paper", "Award", "New Member", "Event"
4. * Category label (Chinese)?
e.g. "新论文", "获奖", "新成员", "活动"
5. * Headline (English)?
e.g. "SlideChat accepted at CVPR 2025"
6. * Headline (Chinese)?
e.g. "SlideChat 被 CVPR 2025 录用"
7. * Body text (English, 1-2 sentences)?
e.g. "Our paper on whole-slide pathology image understanding..."
8. * Body text (Chinese)?
e.g. "我们关于全切片病理图像理解的论文..."
_data/news.ymlAdd new entry at the top (newest first):
- date: "Month Year"
category: paper
label: "New Paper"
label_zh: "新论文"
headline: "English headline here"
headline_zh: "中文标题"
body: "English body text, 1-2 sentences."
body_zh: "中文正文,1-2句话。"
bundle exec jekyll build --baseurl ""
curl -s http://localhost:4000/news/ | grep "headline"
grep -n "headline.*{keyword}" _data/news.yml_data/news.yml- date: "April 2025"
category: paper
label: "New Paper"
label_zh: "新论文"
headline: "[Paper Name] accepted at [VENUE] [YEAR]"
headline_zh: "[论文名] 被 [会议] [年份] 录用"
body: "Our paper on [topic] has been accepted at [venue]. [One sentence about contribution]."
body_zh: "我们关于[主题]的论文已被[会议]录用。[一句话贡献描述]。"
- date: "April 2025"
category: join
label: "New Member"
label_zh: "新成员"
headline: "[Name] joins GMAI Lab"
headline_zh: "[姓名]加入 GMAI 实验室"
body: "[Name] from [University] joins as [role], focusing on [research area]."
body_zh: "来自[大学]的[姓名]以[角色]身份加入,研究方向为[方向]。"
- date: "October 2023"
category: award
label: "Award"
label_zh: "获奖"
headline: "GMAI wins [Competition Name]"
headline_zh: "GMAI 荣获[比赛名称]冠军"
body: "Our team won [prize] at [competition], demonstrating [achievement]."
body_zh: "我们团队在[比赛]中获得[奖项],展示了[成就]。"
_data/news.yml (top of file)