Skip to main content

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:

  1. Ask about your repository type (single-language or multi-language-monorepo)
  2. For multi-language-monorepo: configure folders with standard presets or custom paths
  3. Configure your language, runtime, package manager, and testing framework
  4. Select which AI assistants to configure (kilo, cline, cursor, copilot — multiple allowed)
  5. 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

  1. Run promptosaurus init to generate configurations
  2. Edit files in the generated directories (e.g., .kilo/rules/)
  3. Run promptosaurus init again 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptosaurus-0.4.0.tar.gz (351.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promptosaurus-0.4.0-py3-none-any.whl (301.2 kB view details)

Uploaded Python 3

File details

Details for the file promptosaurus-0.4.0.tar.gz.

File metadata

  • Download URL: promptosaurus-0.4.0.tar.gz
  • Upload date:
  • Size: 351.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for promptosaurus-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1768cee3e0f05942c9d464ae4e5a96da811ccad787456ae9949163fe58a0fc35
MD5 66baf7e4f8afffb7648647af28dc92fc
BLAKE2b-256 171fae9b1ea6a660ace192ac3b5b370df4a5c9cf6bcc628a17abb18195afaabf

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptosaurus-0.4.0.tar.gz:

Publisher: ci-cd.yml on snoodleboot-io/promptosaurus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file promptosaurus-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: promptosaurus-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 301.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for promptosaurus-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98eb0ec04c7bede832d9f0e03e7ed368e217914cdaba95918e04638f8bfe487b
MD5 763cd239c13116d598cc264822ac7aa0
BLAKE2b-256 75eadceef63321bac898b5c5a9d8959afe291d01cc3788fc31203f5d3f907ffa

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptosaurus-0.4.0-py3-none-any.whl:

Publisher: ci-cd.yml on snoodleboot-io/promptosaurus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page