Your coding agent can add Sirannon to your project
With one prompt, your coding agent can install the Sirannon skill and build your database, which it will test before it reports back.
Your agent can complete any of these tasks from one prompt
The copy button on each task copies the whole prompt with that task written into it, so that you can paste the prompt into your agent.
Give every customer a separate Sirannon database, with our migrations applied as each one opens
Following the skill, your agent will create the tenants folder before the first open, because Sirannon opens a tenant's database only in a directory that exists. It will also check each customer identifier, since Sirannon opens a database only for an identifier whose characters are all in the allowed set.
Read the lifecycle guideServe our Sirannon database to our Python backend over HTTP
As the skill instructs, your agent will leave raw SQL turned off and write an authentication hook that admits only the callers who may use the database. It will also keep the server bound to 127.0.0.1 until you put a TLS proxy in front of it.
Read the registered operations guideShow a live list of pending orders that updates whenever an order changes
Your agent will build the list on a live query, which sends the rows again whenever the tables behind it change. It will also close the query when the page that shows the list unmounts.
Read the live queries guideBack up our database continuously so that we can restore it to any moment
Before anything else, your agent will check which backups the driver supports, because only the Node SQLite and better-sqlite3 drivers can copy an open database. Before it reports back, it will read the backup status to confirm that a backup finished.
Read the restore guideKeep our app working offline and sync it with the server when the device reconnects
Before it builds anything, your agent will tell you that device sync is experimental. It will also watch each synced table before the app writes to it, because the server receives only the writes that the device makes after the watch begins.
Read the device sync guideAdd read replicas behind our primary database
Your agent will build the group on the in-memory transport first, then move it to gRPC with mutual TLS once the group passes its tests. It will then send writes to the primary and reads to the replicas through the topology-aware client.
Read the replication guide
Install the skill yourself
The skills CLI can install the Sirannon skill into each of the eight agents above. When you enter the command in your project, the CLI will ask you to pick the agents that should receive the skill.
Once you install the skill, your agent will check which version of Sirannon your project uses, so that it can work from the types and documentation of that version.
Read the skill on GitHubYou can read every instruction that your agent receives
The playbook is a plain markdown file on this site, while the skill is a folder in the Sirannon repository on GitHub.