Skip to content

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

License

Notifications You must be signed in to change notification settings

MarkShawn2020/oh-my-prompt

Repository files navigation

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


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

Oh My Prompt

✨ Your Next-generation Prompt Management System for AI IDEs ✨

License

English | 中文

A sophisticated prompt management system for AI-powered IDEs, enabling seamless management and switching between Global and Project Prompts for platforms like Windsurf and Cursor.

Demo GIF

Key Features

Status Bar Integration

  • Real-time display of active Global and Project Prompts
  • One-click prompt configuration switching
  • Quick access to prompt editing interface

Intelligent Prompt Management

  • Automatic scanning and loading of TOML-formatted prompts
  • Native detection of existing .windsurfrules or .cursorrules
  • In-editor prompt file modification support

Cross-platform Synchronization

  • Windsurf Global Prompt synchronization
  • Project Prompt synchronization with .windsurfrules
  • (Coming Soon) Cursor configuration integration

Installation

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

Usage

  1. Monitor active Global and Project Prompts via the status bar
  2. Access the Quick Pick menu by clicking the status bar items
  3. Select or modify your desired prompts

Architecture

Synchronization 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 are stored in ~/.neurora/oh-my-prompt/prompts/{type} using TOML format:

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 the repository
  2. Execute pnpm install
  3. Open the project in VS Code
  4. Press F5 to start debugging

Contributing

Issues and Pull Requests are welcome! Please feel free to contribute to the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Enhance your AI development experience with Oh My Prompt!

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published