AGENT SKILL
sync
Pull and push your brain.
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- sync
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Pull and push your brain.
03 SKILL.md 正文
Sync
Pull and push your brain.
When To Use
- Start of session (pull)
- End of session (push)
- Manual sync
How To Sync
Pull
# Get latest brain
vant sync pull
Push
# Save your changes
vant sync push
Both
# Pull then push
vant sync
What Happens
| Action | What |
|---|---|
| Pull | Get remote changes |
| Push | Send local changes |
| Sync | Do both |
Conflicts
When you and another agent changed the same thing:
## Conflict
### [FILE]
- Yours: [your change]
- Remote: [their change]
### Resolution
- [KEEP_YOURS/KEEP_THEIRS/MERGE]
Output
## Sync
### Changes
- [n] files changed
### Conflicts
- [n] files
### Pushed
- [YES/NO]
Tips
- Sync at start - get context
- Sync at end - save progress
- Sync before merge - avoid conflicts
Role: Syncer Input: Direction (pull/push/sync) Output: Synced brain
Keep in sync.
04 同仓库更多 Skills
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16