Selected work
Open source · CLI

A GLPI plugin, with one command.

npx create-glpi-plugin: it asks for a name, GLPI versions and parts, writes thirty-four files and makes the first commit.

RoleDesign, development
Year2026
StackNode.js · npm · GLPI 11 and 12 scaffold
Status0.1.0 · live on npm
Linknpmjs.com/package/create-glpi-plugin
1 / 2

Main screennpx create-glpi-plugin: it asks for a name, GLPI versions and parts, writes thirty-four files and makes the first commit.

The problem

Every new plugin starts with the same ten files written by hand: setup, hook, rights, menu, settings page, cron, tests. The small differences between GLPI 11 and 12 (typed class properties, for instance) blow up on first load and hours disappear.

What I built

The CLI generates a version-aware scaffold from your answers: rights, pages, settings, cron, a test harness and a release workflow come ready. It also adds a rules file with GLPI conventions for coding assistants, so AI-assisted development avoids GLPI-specific traps. There is no telemetry at all.

Technical notes

  • Templates are generated conditionally from version flags
  • The generated plugin starts life as a git repository
  • Release: pushing a tag makes GitHub Actions build the package

Highlights

  • Interactive wizard: key, display name, GLPI versions, parts, AI tools
  • One codebase for GLPI 11 and 12; it knows the typed-property traps of 12
  • Ready-made test harness and load check (loadcheck)
  • Coding-assistant rules: CLAUDE.md, AGENTS.md and a GLPI rule set
  • 24 unit tests, 83 end-to-end scenarios; verified on real 11 and 12 installations

Tags

NodenpmOpen source
open to new projectsLet's work together