code-snippet

SKILL.md

Code Snippet 📝

收藏和管理常用代码片段。

功能

  • 💾 保存代码片段
  • 🔍 快速搜索
  • 🏷️ 标签分类
  • 📋 一键复制

使用方法

添加片段

python3 scripts/snippet.py add "Python读取文件" --code "with open('file.txt') as f:" --lang python --tag 文件操作
Installs
28
First Seen
Mar 12, 2026