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.3.0.tar.gz (347.7 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.3.0-py3-none-any.whl (296.8 kB view details)

Uploaded Python 3

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

Hashes for promptosaurus-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4b6793a62bace697d8e7aa45cd2353e5a0b1856157be365fb67f219f10128d08
MD5 84529de426b513eb90ac94d8b6336ec2
BLAKE2b-256 cd87922fc6d36b70629d303b6b6757940b3319c2b8b8ddc91c84f7854ad42000

See more details on using hashes here.

Provenance

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

Hashes for promptosaurus-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfc6703d74fa852efaabab83a884fc32daa2b927ac134b2122704d5186eec5b7
MD5 111d66694f50e0c260df64c663b81c30
BLAKE2b-256 b973bfe94decaf72f27a53f11154bbd5b6b5df7c2555cbe00c9f353048a3ed54

See more details on using hashes here.

Provenance

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