Repository navigation
overview getting started
MyPrompt is a standalone pnpm project. Everything runs from the capsule root the repository root with a pinned package manager.
- Node.js >= 22 (the contract records runtime 24.18.0)
- pnpm 11.21.0 (pinned via
packageManagerinpackage.json) - For database features and authenticated Optimizer/Evaluator use: PostgreSQL with
pgvector, and Supabase credentials - For a real Optimizer/Evaluator run: at least one provider key (
XAI_API_KEY,OPENAI_API_KEY,ANTHROPIC_API_KEY,MISTRAL_API_KEY, orQWEN_API_KEY)
No credentials are committed. .env.example lists every variable name with empty values.
pnpm install --frozen-lockfilePrisma client generation is wired into build and typecheck, and uses a process-local placeholder PostgreSQL URL only when neither DATABASE_URL nor DIRECT_URL is set. It never connects to a database during verification.
pnpm run buildbuild compiles the desktop TypeScript (tsconfig.desktop.json), stamps the version into the renderer HTML, and copies the renderer assets into dist-electron/.
pnpm run startstart builds then launches Electron against dist-electron/desktop/bootstrap.js. On first launch the console sizes itself to a metric grid measured from the loaded font; a smoke mode (SENTRA_DESKTOP_SMOKE=1) exits after the window loads.
pnpm run lint
pnpm run typecheck
pnpm run test
pnpm run desktop:smoke
pnpm run deploy:dry-runpnpm run verify chains all of the above, plus the two standalone proofs:
-
verify:structure— asserts the capsule has no workspace/parent dependency and no hard-codedD:\DEV\MonorepoorD:\Devops\abyss-monorepopaths. -
verify:extraction— copies the capsule to a fresh temp directory, reinstalls from the frozen lockfile, and reruns the lifecycle checks there.
The commands in project.contract.json are the executable source of truth:
| Stage | Program | Arguments |
|---|---|---|
| install | pnpm |
install --frozen-lockfile |
| lint | pnpm |
run lint |
| typecheck | pnpm |
run typecheck |
| test | pnpm |
run test |
| build | pnpm |
run build |
| run | pnpm |
run start |
| deployDryRun | pnpm |
run deploy:dry-run |
Open-source prompt engineering and multi-LLM tooling by Sentra Artificial Intelligence.
MyPrompt develops practical approaches to prompt engineering, multi-LLM optimisation, reusable prompt systems, and AI-native workflows — with an emphasis on structured, interoperable, and real-world AI use.
Built in Indonesia as part of the Sentra Artificial Intelligence ecosystem.
Sentra Artificial Intelligence · Source Repository · Official Website
Dr Ferdi Iskandar — Creator & Maintainer
LinkedIn ·
ORCID ·
Hugging Face ·
Kaggle ·
Medium ·
Substack ·
X ·
Threads
MyPrompt · Sentra Artificial Intelligence · Indonesia