update skills

This commit is contained in:
Zhengshou Lai
2026-04-09 10:27:34 +08:00
parent da713c969e
commit 2b3296b6a5
9 changed files with 62 additions and 59 deletions
+65
View File
@@ -0,0 +1,65 @@
---
name: update-mycv
description: |
CV pipeline: BibTeX in workspace/myWorks/1_papers/ → sync cv_zh.md & cv_en.md → generate_cv.py → PDFs. Use before grants, applications, or after new .bib entries; keep CN/EN aligned and notation (corresponding author, etc.) per skill body.
Triggers: update-mycv; 更新简历/CV, 同步论文, BibTeX 进简历, 生成简历 PDF; regenerate CV, sync publications from bib.
---
# CV Updateupdate-mycv
Updates CV publications by syncing from BibTeX files and regenerating PDFs.
## When to Use
- After adding new papers to BibTeX files
- When CV needs to be synchronized with publication records
- Before applying for positions or grants
- To generate updated PDF versions
- When recurring CV/bib conventions change, extend this skill or update-mymemories so the workflow stays aligned
## How It Works
1. Reads BibTeX files from `workspace/myWorks/1_papers/`
- `first_or_correspondance.bib` - First author or corresponding author papers
- `coauthored.bib` - Co-authored papers
2. Compares with current CV entries in `workspace/myWorks/0_cv/cv_zh.md` and `cv_en.md`
3. Identifies missing or outdated publications
4. Updates both Chinese and English CV markdown files
5. Regenerates PDFs using `generate_cv.py`
## Publication Notation
- **†** - Student first author
- **#** - Corresponding author (you)
- **Lai, Z.** or **赖正首** - Your name in bold
## Usage
Simply run this skill. It will:
1. Scan BibTeX files for all publications
2. Compare with current CV entries
3. Show differences (missing papers)
4. Update CV files upon confirmation
5. Regenerate PDFs
## File Locations
```
workspace/myWorks/
├── 0_cv/
│ ├── cv_zh.md # Chinese CV source
│ ├── cv_en.md # English CV source
│ ├── cv_zh.pdf # Generated Chinese PDF
│ ├── cv_en.pdf # Generated English PDF
│ └── generate_cv.py # PDF generation script
└── 1_papers/
├── first_or_correspondance.bib
└── coauthored.bib
```
## Notes
- Always backs up original files before updating
- Communicates changes clearly before making edits
- Generates both Chinese and English versions simultaneously
- Uses "#" for corresponding author notation