Skip to main content

Build AI coding assistant configs from a shared prompt library

Project description

prompticorn

A unified, tool-agnostic prompt architecture for managing AI coding-assistant configurations across 17 assistants.

Version: the published version is dynamic. pyproject.toml declares dynamic = ["version"] sourced from prompticorn/__about__.py, and CI/CD injects the real MAJOR.MINOR.PATCH at build time. Local and editable installs report 0.0.0.dev0. Check your installed version with pip show prompticorn.

Define your project's agents, conventions, and personas once, then generate the right config for whichever assistant your team uses:

  • Kilo Code — IDE (.kilo/agents/) and CLI (.opencode/agents/)
  • Cline.clinerules
  • Claude.claude/ directory plus CLAUDE.md
  • Cursor.cursor/rules/ plus .cursorrules
  • GitHub Copilot.github/copilot-instructions.md
  • GitHub Copilot Chat (VS Code) — .github/agents/ custom agents, .github/prompts/ slash commands, and applyTo .github/instructions/
  • Roo Code.roomodes custom modes plus .roo/ rules, skills, and commands
  • JetBrains Junie (CLI) — .junie/ agents, skills, and commands plus AGENTS.md
  • Zed.agents/skills/ (agents-as-skills) plus AGENTS.md instructions
  • Gemini CLI.gemini/ agents, skills, and TOML commands plus AGENTS.md
  • Amazon Q (CLI) — .amazonq/ JSON agents, rules/ conventions, and prompts
  • Windsurf / Cascade — .windsurf/ skills, glob-scoped rules/, and workflows
  • Continue.dev.continue/ glob-scoped rules/ and invokable prompts/
  • AiderCONVENTIONS.md plus .aider.conf.yml (conventions only)
  • OpenAI Codex (CLI) — AGENTS.md plus .agents/skills/ and .codex/config.toml

What's in the library

  • 25 primary agents (architect, backend, frontend, code, test, debug, security, devops, and more)
  • ~100 workflows in minimal and verbose variants
  • ~95 specialized skills
  • 29 languages with first-class conventions (prompticorn/agents/core/conventions-*.md)

Install

pip install prompticorn
# or
uv add prompticorn

This installs the prompticorn CLI command.

Quick Start

cd your-project
prompticorn init

init is interactive: it asks which assistant to configure, your repository type, prompt variant, personas, language-specific settings, and a set of project questions (database, ORM, error-handling pattern, commit style, PR-size limit, deploy target, and source-tree layout). It then writes .prompticorn/.prompticorn.yaml and generates the assistant's config files.

See docs/QUICKSTART.md for the full walkthrough.

Key Features

  • Unified IR system — define agents once, generate for every supported tool.
  • 15 production builders — Kilo, Cline, Claude, Cursor, Copilot, Copilot Chat, Roo Code, Junie, Zed, Gemini CLI, Amazon Q, Windsurf, Continue.dev, Aider, Codex.
  • Minimal / verbose variants — trade tokens for detail at build time.
  • Persona-based filtering — pick your team's roles and only relevant agents are generated.
  • Spec-driven conventions — your language, runtime, package manager, test framework, linter, formatter, coverage targets, and project settings are baked into the generated conventions.
  • Per-language source layouts — the core convention renders each language's standard source tree; flat is the default and src is selectable.
  • Auto-discovery registry — agents are discovered from the bundled agents/ tree; no manual registration.

Commands

Command Description
prompticorn init Interactive setup: pick a tool, answer language and project questions, generate configs.
prompticorn list List discovered agents, their subagents, and prompt variants (live agent discovery).
prompticorn validate Check the agents/ structure: every agent and subagent has the expected prompt files and loads cleanly.
prompticorn switch [tool] Switch to a different assistant, removing old artifacts and regenerating from the saved config.
prompticorn swap Change active personas and regenerate configs with the new agent set.
prompticorn update Update saved configuration options interactively.

Documentation

Development

git clone https://github.com/snoodleboot-io/prompticorn.git
cd prompticorn

# Install in editable mode (reports version 0.0.0.dev0)
uv pip install -e .

# Run tests with coverage (target ~85%)
uv run pytest

# Mutation testing
uv run mutmut run

# Lint, format, and type-check
uv run ruff check .
uv run ruff format .
uv run pyright

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

prompticorn-1.28.0.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

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

prompticorn-1.28.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file prompticorn-1.28.0.tar.gz.

File metadata

  • Download URL: prompticorn-1.28.0.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for prompticorn-1.28.0.tar.gz
Algorithm Hash digest
SHA256 343dab4782a25a347b9a5ad8a2be708c3019588b2205a5ae0dd95165a520542f
MD5 8bc7199168317ce27e7778b12a17eb23
BLAKE2b-256 bc4866a98713da445381add2e8ea8947ce40319e47e642c8baf039b9b8091cb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompticorn-1.28.0.tar.gz:

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

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

File details

Details for the file prompticorn-1.28.0-py3-none-any.whl.

File metadata

  • Download URL: prompticorn-1.28.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for prompticorn-1.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a49199b673c8e3522d85d5a9569f69ddbe8fb6b25dd58e3b7c38a10a2dd9984
MD5 d0a21a9f2adeec81e4295e6196d1e23c
BLAKE2b-256 df82d214949a4ea2b0fa58a4d5f5ae1a2cfc83c5b9bd7ffe3879a49dd38310de

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompticorn-1.28.0-py3-none-any.whl:

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

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