Initial commit: prompt template manager

React + Tailwind frontend, FastAPI backend, settings.json storage.
Supports preset CRUD, live variable filling, and AI rewrite via OpenAI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Space-Banane
2026-06-26 15:38:17 +02:00
commit 20f06d0a57
21 changed files with 3537 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"openai_api_key": "",
"presets": [
{
"id": "9b143227",
"name": "Test",
"description": "demo",
"template": "Resolve {{issue_id}} in {{repo}} as {{author}}.",
"variables": [
"issue_id",
"repo",
"author"
],
"created_at": "2026-06-26T12:38:46.654788Z",
"updated_at": "2026-06-26T12:38:46.654801Z"
},
{
"id": "ba0eb27f",
"name": "Luna Coreprojc betternews",
"description": "",
"template": "/new resolve COREPROJEC-{{CPC_ID}} in projects/betternews. Remember to always read each AGENTS and CLAUDE.md in all sub-repos ({{SUB_REPOS}}) and respect their rules. Migrations will be needed, do not apply anything to the database yet, only test locally if it compiles, then it should also work live.\n\nRead the description of the work item first please. Respect the Metadata.\n\nMake PRs in all {{SUM_REPOS}} sub-repos once completed, send their links to me, create them as Luna.",
"variables": [
"CPC_ID",
"SUB_REPOS",
"SUM_REPOS"
],
"created_at": "2026-06-26T13:35:20.177361Z",
"updated_at": "2026-06-26T13:35:20.177371Z"
}
]
}