Thank you for your interest in contributing.
This project aims to build a modular prompt engineering system for ComfyUI using Espanso snippets.
You can help by:
- adding new prompt snippets
- improving documentation
- fixing installer issues
- improving validation scripts
- expanding snippet libraries
Clone the repository:
git clone https://github.com/yourname/comfyui-prompt-ops.git
cd comfyui-prompt-ops
Run the development pipeline:
.\scripts\dev.ps1
This will validate snippets and generate documentation.
Snippets live inside the snippets directory.
Example:
matches:
- trigger: ":ctx_portrait"
word: true
replace: "portrait composition, centered framing, subject facing camera"
Guidelines:
- always use the correct prefix
- avoid duplicate triggers
- keep prompts clean and composable
| Prefix | Purpose |
|---|---|
| :model_ | model family |
| :ctx_ | context |
| :cam_ | camera |
| :light_ | lighting |
| :style_ | visual style |
| :scene_ | environment |
| :qual_ | quality |
| :neg_ | negative prompts |
| :nsfw_ | NSFW modifiers |
We use conventional commits.
Examples:
feat: add cyberpunk style snippets
fix: installer admin elevation
docs: improve README
refactor: simplify snippet validation
Before submitting a PR:
- run validation scripts
- ensure no duplicate triggers
- ensure YAML syntax is valid
Then open a pull request with a clear description.