Hi everyone,
I’ve been experimenting with giving AI coding agents a clear set of development guidelines for NS8 modules, so they can contribute meaningful code while respecting our conventions instead of reinventing the wheel.
The idea: a small set of AGENTS.md / CLAUDE.md guide files committed at the root of a module. They describe the NS8 architecture, the authorization model, backend patterns (action handlers, journald logging, secret handling, backup), and frontend patterns (Vue/Vuex/Carbon, ns8-ui-lib component priority, i18n rules). When an agent works on the module, it reads the guide matching the layer it’s touching — backend or frontend — before writing any code.
I’ve opened two PRs adding these definitions to the kickstart modules:
- ns8-kickstart-postgresql → docs: sync NS8 module AGENTS and CLAUDE guide files by stephdl · Pull Request #94 · stephdl/ns8-kickstart-postgresql · GitHub
- ns8-kickstart-mariadb → docs: sync NS8 module AGENTS and CLAUDE guide files by stephdl · Pull Request #74 · stephdl/ns8-kickstart-mariadb · GitHub
These files are documentation only — no runtime impact. The goal is consistency: any agent (or new human contributor) picking up the module starts from the same best practices.
Happy to hear your thoughts. Does this look useful to standardize across NS8 modules? Anything you’d add or word differently?
Thanks!