#1 Yesterday 12:06:45

flydev
Member
From: France
Registered: 2020-11-27
Posts: 162
Website

ai superpowers for mormot2

I forked obra/superpowers into a Pascal/Delphi+FPC variant specialized for mORMot2 - so it work for claude, codex or gemini, etc.

Repo: https://github.com/flydev-fr/mormot2-superpowers

What it adds:
  - 10 domain skills that route prompts to real mORMot 2 idioms, and a Pascal-aware code-reviewer agent.
  - /mormot2-doc <topic> that resolves topic names ("torm", "rest", "ecc", "ddd", "logging", ...) or chapter numbers to local SAD chapter excerpts (to be improved / automated / reviewed) and will pull @zen010101 wiki soon.
  - /delphi-build and /fpc-build that wrap dcc32/dcc64/MSBuild and fpc/lazbuild with mORMot 2 search paths injected automatically.
  - TSynTestCase-only test discipline. /mormot2-test does not run DUnitX/FPCUnit/TestInsight (deliberate).
  - Cross-platform: Windows (Delphi + FPC), Linux, macOS.

Quick example:

> Add a TOrm class for a User with email and role fields
[Skill: mormot2-orm loaded]
[generates a TOrmUser with RawUtf8 fields, stored AS_UNIQUE on email,
the right index attribute, and tells you how to register it on a TOrmModel]

Windows-Terminal-I2-Gmc-CPW3e.png

You can tests from your shell:

pwsh -File tests/run-quick.ps1

Note: the upstream methodology layer (planning, TDD, subagent-driven development) is preserved unchanged; the Pascal/mORMot layer is the new bit.

Feedback welcome - especially on missing idioms, wrong class names, or trigger-eval misroutes. Open an issue or reply here cool

@zen010101

Last edited by flydev (Yesterday 12:08:21)

Offline

#2 Yesterday 13:57:37

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,452
Website

Re: ai superpowers for mormot2

Sounds amazing, but honestly you lost me here a little.
Even the readme is a bit short to understand it fully.

Can you write/generate some more documentation/content about the purpose of this project, and show some input/output on the purpose of this tool?
I could eventually add it to the Synopse blog, for sure...

Offline

#3 Yesterday 16:56:03

flydev
Member
From: France
Registered: 2020-11-27
Posts: 162
Website

Re: ai superpowers for mormot2

Ok, let me write a better README, and I'll take the time to make a screencast or video comparing both runs: without, and with the plugin.

I assume you’re not familiar with the superpowers plugin. Do you use claude-code yourself?

Offline

Board footer

Powered by FluxBB