Contributing¶
The canonical guide is CONTRIBUTING.md in the repository root. Highlights below.
Setup¶
git clone https://github.com/Folken2/nuvel.git
cd nuvel
python -m venv .venv && source .venv/bin/activate
pip install -r requirements-dev.txt # editable install + test dependencies
Running the test suite¶
213+ tests. CI runs the same command.
Working on the docs site¶
# Install MkDocs (after the setup above, which provides nuvel-mcp)
pip install -e ".[docs]"
# Live reload at http://127.0.0.1:8000
mkdocs serve
# Build static site (in ./site/)
mkdocs build
The site is published to GitHub Pages on every push to main via .github/workflows/docs.yml.
Public docs carry technical truth only¶
This repository is public. Its docs — including VISION.md, ROADMAP.md and everything under
docs/ — describe what the software is, how it is built and what it will do next: architecture,
layers, ownership boundaries, deployment topology, technical phases and non-goals. They contain no
commercial framing (pricing, customers, business sequencing, positioning) and link only to public
resources. Commercial planning is tracked outside this repository.
Adding a new bundled skill¶
Drop the skill at nuvel/backends/<framework>/skills/<slug>/SKILL.md with the standard frontmatter:
nuvel skills list --framework <framework> will pick it up.
Adding a new messaging-app channel¶
Channels are overlays under nuvel/backends/adk/templates_overlays/gateway-*/. Five steps:
- Create the overlay file at
gateway-<name>/{{agent_package}}/gateways/<name>.py— a FastAPI APIRouter (or a sidecar module if the channel's SDK isn't FastAPI-compatible, like Teams). - Add the flag
--with-<name>in_add_new_agent_argsinnuvel/cli.py, with an(adk only)marker opening its help text, and thread it throughscaffold_agent()innuvel/backends/adk/scaffold.py. Give it a row inREADME.md, indocs/reference/cli.mdand in the flag table; the docs tests compare all of them with what the scaffolders accept. - Wire the placeholders in
_build_replacements— at minimum, populategateway_imports_lines,gateway_mounts_lines(skip if sidecar),gateway_env_blocks, andgateway_readme_blocks. Add a_<NAME>_ENV_BLOCKand_<NAME>_README_BLOCKconstant. - Write tests under
tests/test_gateway_<name>.py(router unit tests with FastAPI TestClient + mocked runner) and a scaffold-flag test class intests/test_scaffold_gateways.py. - Leave the other backends alone.
nuvel agent createrefuses any flag a backend'sscaffold_agent()does not declare, naming the flag and the backend.
For a concrete reference implementation, see commits on the messaging-gateways feature branch history and the design spec at docs/superpowers/specs/2026-05-09-messaging-gateways-design.md in the repo.
Working on a feature¶
The repo uses an isolated-worktree workflow under .worktrees/:
# from the main repo root
git worktree add .worktrees/feat-my-thing -b feat/my-thing
cd .worktrees/feat-my-thing
.worktrees/ is gitignored. After merge, clean up with git worktree remove .worktrees/feat-my-thing && git branch -d feat/my-thing from the main repo root.
For non-trivial features, follow the spec → plan → execute pattern by checking in a design doc to docs/superpowers/specs/YYYY-MM-DD-<feature>-design.md and an implementation plan to docs/superpowers/plans/YYYY-MM-DD-<feature>.md. These are excluded from the published docs site but kept in the repo as durable design history.
Issues and PRs¶
- File issues at github.com/Folken2/nuvel/issues.
- Run
pytest tests/ -qbefore opening a PR. - The CI workflow at
.github/workflows/tests.ymlruns the same suite.
License¶
By contributing, you agree your contributions are MIT-licensed.