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.2.0.tar.gz (348.1 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.2.0-py3-none-any.whl (296.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for promptosaurus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 50b3bd677d0035a097c8aacc45beb81941e1429b411fd3a73fcb303d13db3f9a
MD5 bfefe4131b2c635ad557d14dfbaee437
BLAKE2b-256 7cf450d99373c546ff560e1d4abe0ebff15c09e628d531758790748ff3e7e551

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptosaurus-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: promptosaurus-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 296.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c09383afd35d0da6f093dd1afa98dd0d48a9edfc3d966381980903e4e020944
MD5 55294e9164e8039a9baf8d92207937b8
BLAKE2b-256 4e716ca1d3fc2e770807406ae6b53bf1054d94e56764cc9b0a2aee6a495a259d

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptosaurus-0.2.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