By hopchouinard
Single-plugin marketplace so this repository can be installed directly as the training-generator plugin.
npx claudepluginhub hopchouinard/training-generatorGenerates standalone, self-serving Claude Code training repositories from Superpowers-built source projects, and registers each as a submodule of its source.
A reusable Claude Code plugin that turns a Superpowers-built software project into a standalone, interactive training repository — taught by Claude Code, versioned like a release artifact, and registered as a submodule of the source project.
See docs/architecture.md for the full design, and docs/refs/ for the
founding contracts.
This repository is both the plugin and its own single-plugin marketplace. From the root of this repository, install it once at user scope (all your Claude Code sessions):
claude plugin marketplace add ./
claude plugin install training-generator@training-generator-marketplace
The marketplace is registered by absolute path, so the commands above only
need to run from the repo root once; after that the plugin is available
everywhere. Update later with claude plugin marketplace update training-generator-marketplace after pulling new commits, and remove with
claude plugin uninstall training-generator.
For a one-off session without installing (any directory, path to this checkout):
claude --plugin-dir /path/to/generate-training
From the root of a Superpowers-built project:
/training-generator:generate
or just say "generate the training package for this project". The workflow:
docs/superpowers/specs/*-design.md),
plan (docs/superpowers/plans/*.md), instructions, docs, code, tests;
gate on evidence quality (scripts/discover.mjs).scripts/scaffold.mjs deterministically builds the
training repository from templates/training-repo/ and the manifest,
with its own git history.scripts/validate-package.mjs, the package's own
scripts/selftest.mjs, claude plugin validate --strict, and a
fresh-context course-reviewer pass.scripts/register-submodule.mjs records the package as a
submodule, committing only .gitmodules and the gitlink.The generator never pushes, publishes, or creates remotes; publication commands are reported for the maintainer to run.
Other entry points: /training-generator:validate,
/training-generator:regenerate.
Optional training-generator.config.json at the source project root
(schema: schemas/generator-config.schema.json): project metadata, audience
and duration, documentation locations, specPath/planPath overrides,
submodulePath, training repo mode, allowed/prohibited commands, and
behavior overrides.
A learner clones the generated repository, opens Claude Code, accepts the
folder-trust prompt (which offers the packaged training plugin), and says
"Let's start the training." Progress persists in state/progress.json
across sessions; "Resume, please." always restores the instructional
spine. See templates/training-repo/README.md for the learner-facing text.
npm test # unit + e2e (node --test; e2e builds real disposable git repos)
claude plugin validate . --strict
Docs: docs/architecture.md, docs/submodule-lifecycle.md,
docs/ci-reference.md, docs/safety.md, docs/adoption.md,
docs/migration.md, docs/traceability-matrix.md.
7-day visitors to each marketplace page
Knowledge graph and codebase architecture intelligence for AI coding assistants
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Context7 plugins for coding agents.