Build AI coding assistant configs from a shared prompt library
Project description
Promptosaurus
A shared library of AI coding assistant prompt files. Edit once in prompts/, build for any tool with a single command.
Kilo Code is the primary target. Cline, Cursor, and GitHub Copilot are derived from the same source.
Install
Install via pip:
pip install promptosaurus
Or with uv:
uv add promptosaurus
This installs the promptosaurus CLI command.
Quick Start
1. Initialize your project
Run from inside your project directory:
cd my-project
promptosaurus init
This interactive command will:
- Ask about your repository type (single-language or multi-language-monorepo)
- For multi-language-monorepo: configure folders with standard presets or custom paths
- Configure your language, runtime, package manager, and testing framework
- Select which AI assistants to configure (kilo, cline, cursor, copilot — multiple allowed)
- Generate all selected configurations automatically
2. List available modes
promptosaurus list
Shows all modes and their registered prompt files.
3. Validate configuration
promptosaurus validate
Check for missing files and unregistered orphans.
Multi-Language Monorepo
Promptosaurus supports monorepo projects with multiple language-specific folders.
Standard Presets
When you select multi-language-monorepo during promptosaurus init, you can choose from standard folder types:
| Type | Subtypes | Default Language |
|---|---|---|
backend |
api, library, worker, cli | Python |
frontend |
ui, library, e2e | TypeScript |
Example workflow:
$ promptosaurus init
# Select "multi-language-monorepo" when asked about repository type
# Add folders:
# 1. backend (preset) -> api -> backend/api -> Python
# 2. frontend (preset) -> ui -> frontend -> TypeScript
# 3. Add another? No
Custom Folders
For custom folder structures, select "custom" and provide:
- Folder path (supports hierarchical paths like
services/auth/api) - Programming language
Generated Config
For a monorepo, the .promptosaurus.yaml will have:
version: "1.0"
repository:
type: "multi-language-monorepo"
spec:
- folder: "backend/api"
type: "backend"
subtype: "api"
language: "python"
runtime: "3.12"
package_manager: "poetry"
- folder: "frontend"
type: "frontend"
subtype: "ui"
language: "typescript"
runtime: "5.4"
package_manager: "npm"
Commands
| Command | Description |
|---|---|
promptosaurus init |
Interactively initialize prompt configuration for your project |
promptosaurus list |
List all registered modes and their prompt files |
promptosaurus switch |
Switch to a different AI assistant tool |
promptosaurus update |
Update configuration options interactively |
promptosaurus validate |
Check that all registered prompt files exist and no files are missing |
Workflow
Adding prompts to your project
- Run
promptosaurus initto generate configurations - Edit files in the generated directories (e.g.,
.kilo/rules/) - Run
promptosaurus initagain to regenerate
Updating prompts
Edit the source prompts, then re-run:
promptosaurus init
Mode Reference
| Mode | Key | Purpose |
|---|---|---|
| Architect | architect |
Scaffold projects, task breakdowns, data models |
| Test | test |
Coverage-first test writing |
| Refactor | refactor |
Structural changes, behavior preserved |
| Document | document |
Docstrings, READMEs, changelogs |
| Explain | explain |
Code walkthroughs for onboarding |
| Migration | migration |
Dependency upgrades, framework ports |
| Code | code |
Feature implementation, boilerplate |
| Review | review |
Code, performance, accessibility review |
| Debug | debug |
Root cause, log analysis, rubber duck |
| Ask | ask |
Q&A, decision logs |
| Security | security |
Security review (code and infra) |
| Compliance | compliance |
SOC 2, ISO 27001, GDPR, HIPAA, PCI-DSS |
| Orchestrator | orchestrator |
CI/CD, DevOps, PR descriptions |
Tool Output
| Tool | Output Directory/Files |
|---|---|
| Kilo Code | .kilo/rules/ (always-on) + .kilo/rules-{mode}/ (per-mode) + .kilocodemodes + .kiloignore |
| Cline | .clinerules (all rules concatenated) |
| Cursor | .cursor/rules/{mode}/*.mdc + .cursorrules (legacy) |
| GitHub Copilot | .github/copilot-instructions.md + .github/instructions/{mode}.instructions.md |
Development
To contribute or develop locally:
# Clone the repository
git clone https://github.com/snoodleboot-io/promptosaurus.git
cd promptosaurus
# Install in development mode
pip install -e .
# Or with uv
uv pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file promptosaurus-0.3.0.tar.gz.
File metadata
- Download URL: promptosaurus-0.3.0.tar.gz
- Upload date:
- Size: 347.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b6793a62bace697d8e7aa45cd2353e5a0b1856157be365fb67f219f10128d08
|
|
| MD5 |
84529de426b513eb90ac94d8b6336ec2
|
|
| BLAKE2b-256 |
cd87922fc6d36b70629d303b6b6757940b3319c2b8b8ddc91c84f7854ad42000
|
Provenance
The following attestation bundles were made for promptosaurus-0.3.0.tar.gz:
Publisher:
ci-cd.yml on snoodleboot-io/promptosaurus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
promptosaurus-0.3.0.tar.gz -
Subject digest:
4b6793a62bace697d8e7aa45cd2353e5a0b1856157be365fb67f219f10128d08 - Sigstore transparency entry: 1107348631
- Sigstore integration time:
-
Permalink:
snoodleboot-io/promptosaurus@647d2683c65bad070ad602a3f2895595a8b16172 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/snoodleboot-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@647d2683c65bad070ad602a3f2895595a8b16172 -
Trigger Event:
push
-
Statement type:
File details
Details for the file promptosaurus-0.3.0-py3-none-any.whl.
File metadata
- Download URL: promptosaurus-0.3.0-py3-none-any.whl
- Upload date:
- Size: 296.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfc6703d74fa852efaabab83a884fc32daa2b927ac134b2122704d5186eec5b7
|
|
| MD5 |
111d66694f50e0c260df64c663b81c30
|
|
| BLAKE2b-256 |
b973bfe94decaf72f27a53f11154bbd5b6b5df7c2555cbe00c9f353048a3ed54
|
Provenance
The following attestation bundles were made for promptosaurus-0.3.0-py3-none-any.whl:
Publisher:
ci-cd.yml on snoodleboot-io/promptosaurus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
promptosaurus-0.3.0-py3-none-any.whl -
Subject digest:
bfc6703d74fa852efaabab83a884fc32daa2b927ac134b2122704d5186eec5b7 - Sigstore transparency entry: 1107348643
- Sigstore integration time:
-
Permalink:
snoodleboot-io/promptosaurus@647d2683c65bad070ad602a3f2895595a8b16172 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/snoodleboot-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@647d2683c65bad070ad602a3f2895595a8b16172 -
Trigger Event:
push
-
Statement type: