Addons

Adopt or install Convex, Portless, docs tooling, and TanStack or jfdevelops libraries, and enable the skills they publish.

An addon is an integration recorded in jfdevelops.json. The skills its package publishes are offered only once the addon is enabled. Run these commands in a configured project: you need jfdevelops.json (run npx @jfdevelops/cli init first); see command requirements.

In this guide you will:

  • Choose an addon.
  • Adopt or install it.
  • Enable the skills it publishes.
  • Set up the docs addon.

Choose an addon

Addon namePackageInstalled asWhat it adds
convexconvexDependencyConvex backend
portlessportlessDevelopment dependencyNamed local development URLs
docs@jfdevelops/docsDevelopment dependency, at the project rootVersioned docs, navigation, and API reference
Any @tanstack/* or @jfdevelops/* libraryThe library itselfDependencyThe library and its skills

@jfdevelops/cli and @jfdevelops/skills are not addons. To see what you can add, run:

jfdevelops add --list

Adopt an installed integration

Interactive init preselects every detected integration. With --yes or without a terminal, omitting --addons keeps the recorded integrations in a configured project and adopts every detected integration on first setup. To adopt one later, run:

jfdevelops add addon convex

Pass the addon name or the package name, for example jfdevelops add addon @jfdevelops/docs. An integration whose package is already installed is not installed again, except the docs addon: when only a workspace package has @jfdevelops/docs, it is still installed at the project root.

Install an addon

When the package is not installed, the command prints the exact install command and runs it, with no confirmation. Naming the addon is the decision to install it. In a project with several packages, --scope <path> chooses where: . for the project root, or a target path. Without it, a terminal asks, and the answer defaults to the project root. The docs addon always goes at the project root. For example:

jfdevelops add addon convex --scope apps/web

After the install it shows the planned changes and records them.

If you cancel or a later step fails after the install, the package stays installed. Run jfdevelops add addon <name> again to finish, or uninstall the package.

Enable addon skills

After the addon is adopted, the command enables the addon package's skills. A terminal preselects every skill in the question, and without a terminal, or with --yes, all of them are enabled. Pass --skills <name>,<name> to enable only the skills you name; a name the addon does not provide is an error. If an addon skill is installed in several versions, the command asks which to use, and that question has no default, so run it in a terminal to choose. Skills from a detected integration that is not adopted stay hidden from init, add, and skills. Keep them current with jfdevelops skills sync or jfdevelops skills update; see Skills.

Set up the docs addon

jfdevelops add addon docs

The command does the following:

  1. Installs @jfdevelops/docs as a development dependency at the project root, when it is not there.
  2. Decides which package the docs describe: --docs-package <path> (. or a library target), else the first library target, or the project root when there is none. A terminal asks only when the project has library packages besides the root.
  3. Decides the library name shown in the docs: --docs-name <name>, else the title-cased last segment of the package name, which a terminal offers as the default of its question.
  4. Records { "package": "<directory>", "name": "<name>" } as the addon's options in jfdevelops.json.
  5. Adds the docs:generate and docs:check scripts, keeping any existing script with the same name.
  6. Adds docs/docs.json and docs/**/meta.json to .gitignore under # Generated by @jfdevelops/docs.
  7. Starts docs/README.md when it does not exist.
  8. Adds .github/workflows/docs.yml.

To answer steps 2 and 3 up front, or to run the setup unattended:

jfdevelops add addon docs --docs-package packages/core --docs-name "Core"
jfdevelops add addon docs --yes

The workflow runs on pull requests, and on pushes to main, that change docs/**, the documented package's src/**, package.json, or CHANGELOG.md, jfdevelops.json, or the workflow itself. It sets up your package manager (Bun with oven-sh/setup-bun, otherwise Node.js 24), installs from the lockfile, then runs docs:generate and docs:check. The addon owns the workflow, so local edits to it go through conflict review; see Conflicts.

Finish an unfinished docs setup

When init adopts the docs addon, or a setup step fails, the addon is recorded without options. Run jfdevelops add addon docs again to finish it.

Next steps