Skip to content

Latest commit

 

History

History
142 lines (97 loc) · 3.74 KB

README_zh-CN.md

File metadata and controls

142 lines (97 loc) · 3.74 KB
                 @@@@@@   @@@  @@@     @@@@@@@@@@   @@@ @@@  
                @@@@@@@@  @@@  @@@     @@@@@@@@@@@  @@@ @@@  
                @@!  @@@  @@!  @@@     @@! @@! @@!  @@! !@@  
                !@!  @!@  !@!  @!@     !@! !@! !@!  !@! @!!  
                @!@  !@!  @!@!@!@!     @!! !!@ @!@   !@!@!   
                !@!  !!!  !!!@!!!!     !@!   ! !@!    @!!!   
                !!:  !!!  !!:  !!!     !!:     !!:    !!:    
                :!:  !:!  :!:  !:!     :!:     :!:    :!:    
                ::::: ::  ::   :::     :::     ::      ::    
                 : :  :    :   : :      :      :       :     


                @@@@@@@   @@@@@@@    @@@@@@   @@@@@@@@@@   @@@@@@@   @@@@@@@  
                @@@@@@@@  @@@@@@@@  @@@@@@@@  @@@@@@@@@@@  @@@@@@@@  @@@@@@@  
                @@!  @@@  @@!  @@@  @@!  @@@  @@! @@! @@!  @@!  @@@    @@!    
                !@!  @!@  !@!  @!@  !@!  @!@  !@! !@! !@!  !@!  @!@    !@!    
                @!@@!@!   @!@!!@!   @!@  !@!  @!! !!@ @!@  @!@@!@!     @!!    
                !!@!!!    !!@!@!    !@!  !!!  !@!   ! !@!  !!@!!!      !!!    
                !!:       !!: :!!   !!:  !!!  !!:     !!:  !!:         !!:    
                :!:       :!:  !:!  :!:  !:!  :!:     :!:  :!:         :!:    
                 ::       ::   :::  ::::: ::  :::     ::    ::          ::    
                 :         :   : :   : :  :    :      :     :           :          

Oh My Prompt

✨ AI IDE 专用多 prompt 管理系统,支持跨 IDE、一键切换、智能同步 Global / Project Prompt! ✨

License

English | 中文

一种 AI IDE 多 prompt 管理系统,让您轻松管理和切换 AI IDE(如 Windsurf、Cursor)的 Global 和 Project Prompts。

Demo GIF

Features

  • 状态栏快速切换

    • 直观显示当前激活的 Global 和 Project Prompt
    • 一键切换不同的 prompt 配置
    • 快速编辑入口
  • 智能 Prompt 管理

    • 自动扫描加载 TOML 格式的 prompts
    • 自动检测项目已有的 .windsurfrules.cursorrules
    • 支持在编辑器中直接修改 prompt 文件
  • 多平台同步

    • Windsurf Global Prompt 同步
    • Project Prompt 同步到 .windsurfrules
    • (即将支持) Cursor 配置同步

Installation

Search for "Oh My Prompt" in your IDE's extension marketplace and install to get started.

Usage

  1. 在状态栏查看当前激活的 Global 和 Project Prompt
  2. 点击状态栏项目打开 Quick Pick 菜单
  3. 选择或编辑您想要的 prompt

ARCHITECTURE

Sync Mechanism

Oh My Prompt Store        
(TOML with metadata)      
[~/.neurora/oh-my-prompt]
     ↓    ↑               
 Export  Import         

IDE Rules Files
(Plain text)
[IDE specific paths]
     ↑    ↓
  Apply  Save

Prompt Specification

Prompts 存储在 ~/.neurora/oh-my-prompt/prompts/{type} 目录下,使用 TOML 格式:

content = """
your prompt content here
"""

[meta]
type = "global" | "project"
id = "xxx"
name = "xxx"
description = "xxx"
author = "xxx"
version = "xxx"
date = "xxx"
license = "xxx"

Development

  1. Clone 仓库
  2. 运行 pnpm install
  3. 在 VS Code 中打开项目
  4. 按 F5 启动调试

Contributing

欢迎提交 Issues 和 Pull Requests!

LICENSE

MIT


Enjoy!