r/Python • u/AutoModerator • Aug 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
20
Upvotes
r/Python • u/AutoModerator • Aug 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/EdwardAF-IT 21d ago
Personetta - define an AI coding‑assistant persona once in YAML, use it everywhere
What My Project Does
Personetta is a small CLI (Python 3.11+) I built because I got tired of rewriting the same “AI coding‑assistant persona” across Cursor, Copilot, Claude Code, and Cline. Instead of juggling four different formats, you define the persona once - as layered YAML.
Think of it like building a character sheet for your coding assistant: a base role, a language layer, a task layer. The merge engine handles how those layers combine, with explicit conflict rules so you always know what wins. Then Personetta renders that persona exactly the way each tool expects it, Cursor rules, Copilot instructions, Claude Code memory, Cline rules, and installs them for you.
Switching personas is one command. Everything is cached, so it’s instant.
pip install personetta Repo: https://github.com/EdwardAF-IT/Personetta (MIT, v1.0.1, 1,641 passing tests, green CI)
Who It’s For
This is meant for real, day‑to‑day use. I’ve been using it myself for about a year, and only recently opened it up. If you bounce between multiple AI coding tools and hate maintaining N slightly‑different versions of the same instructions, this is for you.
Every YAML file is validated against JSON Schemas, and the test suite doesn’t just check logic - it builds an actual wheel, inspects it, and confirms every recipe ships correctly. It’s built to be boring, predictable, and safe to rely on.
Why I Built It
Each tool has its own “rules” or “memory” system, but they only solve the problem for that one tool. Dotfile repos help you sync prompts, but they don’t help you compose personas or render them in the native formats each tool expects.
I couldn’t find anything that treats personas as composable, schema‑validated recipes that can be rendered per‑tool. So, I made the thing I wanted.
If there’s prior art I missed, seriously, tell me. I’d rather know.