Huashu Prompt Save

alchaincyf/huashu-skills/huashu-prompt-save

by alchaincyf2efea35738efa06abbfa9acaee923fcef0732a14No license1.6K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 2 weeks ago

自动识别Prompt类型并分类保存(技术/内容/教学/产品/通用)。当用户提到"保存prompt"、"记录prompt"、"整理prompt"时使用。

Instructions onlyAI & Agents
AI-generated overview

Classifies a user's prompt into one of five categories and saves it as a structured Markdown file with an index entry.

What it does
Takes a prompt the user wants to keep, identifies its type across five categories (technical development, content creation, teaching design, product consulting, general tools), and extracts purpose, source, tags and use cases. It then writes a Markdown file named with an incrementing number and short title into the matching category folder, using a fixed template with prompt content, usage example and notes. Finally it adds an entry to an INDEX.md file and asks the user when the category is unclear.
When to use it
Use when the user says they want to save, record or organize a prompt, or pastes a prompt and asks for it to be filed. It suits maintaining a personal prompt library organized by category.
Requirements
No scripts; instructions only. It assumes a prompt library directory structure with category folders and an INDEX.md file, and file-writing access to that location.

Prompt分类保存

自动识别Prompt类型、保存到对应分类、更新索引的专业能力。

何时使用

  • 用户说"保存这个prompt"、"记录一下"、"存起来"
  • 用户粘贴prompt并说"帮我整理"

核心功能

  1. 自动识别类型:5大分类(技术开发/内容创作/教学设计/产品咨询/通用工具)
  2. 提取信息:用途、来源、适用场景、关键特点
  3. 自动保存:对应分类/prompt-[序号]-[标题].md
  4. 更新索引:在 INDEX.md 中添加条目

5大分类规则

分类关键词示例
技术开发类编程、调试、代码、优化"Python代码优化Prompt"
内容创作类写作、文案、脚本、创作"公众号文章生成器"
教学设计类课程、教学、讲解、训练"知识点拆解Prompt"
产品咨询类需求、产品、用户、增长"用户需求分析Prompt"
通用工具类通用、效率、助手"通用翻译工具"

保存格式

markdown
# [一句话标题]
**来源**: 自创 / 网络 / 修改自xxx**标签**: #标签1 #标签2 #标签3**适用场景**: xxx
## Prompt 内容[完整 prompt,保持原格式]
## 使用示例[如果有示例或使用心得]
## 效果/备注[使用效果、注意事项]

执行流程

  1. 识别类型:根据关键词和内容判断分类
  2. 提取信息:用途、来源、标签、适用场景
  3. 生成文件名:prompt-[自动递增序号]-[简短标题].md
  4. 保存文件:到 /Prompt梳理/[分类]/ 目录
  5. 更新索引:在 /Prompt梳理/INDEX.md 中添加条目

注意事项

  • 如果分类不明确,询问用户意图
  • 标题要实用,一眼看懂用途(不超过15字)
  • 标签用于快速检索,3-5个为宜
  • 保持原prompt的格式和结构
  • 网络来源的尽量记录出处

参考资源

  • /Prompt梳理/CLAUDE.md - Prompt管理规则

最后更新: 2025-11-07


花叔出品 | AI Native Coder · 独立开发者 公众号「花叔」| 30万+粉丝 | AI工具与效率提升 代表作:小猫补光灯(AppStore付费榜Top1)·《一本书玩转DeepSeek》

Source and attribution

Source:alchaincyf/huashu-skillsinhuashu-prompt-saveat commit2efea35

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal