Create a project, adopt an existing one, and keep its skills current.
@jfdevelops/cli sets up projects with the shared jfdevelops convention skills and the agent skills your dependencies publish. It runs on Node.js 22.12.0 or newer with npm, pnpm, yarn, or bun.
In this guide you will:
Interactive file changes are previewed before confirmation. With --yes, create and init apply without prompting. Cancellation stops the remaining work and does not roll back earlier installs; see the retained installs described for add, update, and skills update.
Agents and scripts can run create and init with --yes and flags instead of prompts—for example npx @jfdevelops/cli@0.11.0 create my-app --kind app --yes or npx @jfdevelops/cli@0.11.0 init --yes. See Command reference for the flag defaults.
npx @jfdevelops/cli@0.11.0 create my-projectPass . instead of a name to create the project in the current directory, named after it. A valid scoped name such as @acme/site is the package name and creates the project in ./site. Any other argument is the destination, and its last path segment is the package name (create apps/web names the package web without asking). create asks for the name only when that segment is not a valid name, and with --yes it fails with "Invalid package name" instead. With no argument, it asks for both. It then asks whether the project is an app or a library, whether to make an app a Monorepo or add a package to a library, the template, package manager, formatter (Prettier or Biome), coding agents, and whether to initialize Git, with an optional remote URL. It then:
jfdevelops/skills on main, AGENTS.md, CLAUDE.md when Claude Code is selected, and jfdevelops.json.@jfdevelops/skills release.build, or typecheck, test, and build in a workspace.main with the commit chore(init): initialize project, and adds a pasted remote URL as origin without pushing. Git is skipped with a warning when Git has no author or committer identity (environment variables count as well as user.name and user.email) or the destination already contains a .git entry.The destination may contain files: differing paths go through conflict review. A destination with jfdevelops.json is refused; use init instead. Before you confirm, create shows the folder tree it will write. For an app you can also choose Monorepo, which creates a workspace with the app in apps/ and libraries in packages/. A library project can add more packages too, which makes it a workspace of libraries. Both ask you to name each package as you go; see the create command.
npx @jfdevelops/cli@0.11.0 initinit works through these steps:
--yes and no --addons, it adopts every detected integration..agents/skills, adds a marked block to AGENTS.md (creating it if needed), adds a short pointer block to CLAUDE.md when Claude Code is selected and to existing GEMINI.md and .github/copilot-instructions.md, adds @jfdevelops/cli at this version and @jfdevelops/skills at its latest release as development dependencies when the project lacks them, and records the setup in jfdevelops.json.init replaces a file you edited, or one the CLI does not manage, only when you choose to replace it in conflict review or pass --conflicts overwrite with --yes. It updates and deletes unchanged managed files, and edits the marked blocks in files you own, without a per-file prompt; an interactive run still asks you to confirm the whole change. Run it again at any time; with nothing to change it reports that the project is already up to date. To finish docs setup after init adopts the docs addon, see Addons.
| Path | Purpose | Owner |
|---|---|---|
.agents/skills/<name>/ | The only full copy of each skill, read natively by Codex, Cursor, and GitHub Copilot and linked from AGENTS.md | CLI |
.claude/skills/<name>/SKILL.md | A stub per skill when Claude Code is selected: the same frontmatter, pointing to the copy in .agents/skills | CLI |
AGENTS.md | Your instructions plus a marked block listing enabled skills | You, except the marked block |
CLAUDE.md, GEMINI.md, .github/copilot-instructions.md | A pointer block to AGENTS.md, added when the file exists (and to CLAUDE.md whenever Claude Code is selected) | You, except the marked block |
jfdevelops.json | The recorded setup; see configuration | CLI |
Commit all of these. Skill copies are files in your repository so every collaborator and agent sees the same instructions without any global setup.
jfdevelops skills reports whether enabled skills match your installed packages and the current jfdevelops/skills main. See skills and conflicts.jfdevelops skills sync updates copies after a dependency upgrade or a new commit on main, and installs newly added shared skills.jfdevelops skills update upgrades skill source packages to their latest releases, then syncs.jfdevelops update upgrades the CLI and refreshes the setup.jfdevelops add enables another skill, adopts an integration, or adds a workspace package. See Addons.See the command reference for every command and option.