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:
Each command shows the changes it plans and applies them; see Questions, flags, and defaults for what it asks. Cancelling a question does not roll back earlier installs; see Cancelling. Agents and scripts pass flags instead; see Run in automation.
npx @jfdevelops/cli 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 creates the project in apps/web and names the package web). To create the project somewhere else, pass that path as the argument: create never asks for a destination. When that last segment is not a valid package name, create asks for the name instead, with the segment as the default. With no argument, it asks only for the name, defaulting to my-project.
It then asks, in this order:
Each question has a flag that answers it, so a command such as the following asks nothing about the kind or the package manager:
npx @jfdevelops/cli create my-app --kind app --package-manager pnpmcreate 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.--no-git, initializes Git on main with the commit chore(init): initialize project, and adds a given 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 are offered as conflicts. A destination with jfdevelops.json is refused; use init instead. Before it writes anything, create shows the folder tree it will write. For an app you can also choose a monorepo, which creates a workspace with the app in apps/ and libraries in packages/. A library project can be a workspace of several packages too. In both cases you name the packages in one comma-separated answer; see the create command.
npx @jfdevelops/cli initinit works through these steps:
jfdevelops.json records none), the workspace packages, and whether each is an app or a library. It reuses a kind recorded in jfdevelops.json and asks only for a kind it cannot determine. To correct a kind, pass --targets <path>=<app|library>, for example npx @jfdevelops/cli init --targets packages/ui=library. See target kinds.init asks which to adopt and preselects every detected integration. With --yes or without a terminal, it adopts all detected integrations on first setup and keeps the recorded integrations on later runs. --addons supplies your selection in either mode.--skills answers this question.--agents answers this question.--conflicts), then applies the plan: it installs one copy of each skill in .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 the conflict question or pass --conflicts overwrite. It updates and deletes unchanged managed files, and edits the marked blocks in files you own, without a per-file question. Run it again at any time; it reuses the recorded setup, and with nothing to change it reports that the project is already up to date. A rerun with --yes, or without a terminal, keeps the skills you enabled and the agents recorded; it does not enable skills that became available since. Use jfdevelops add skill <name> for those. 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 uses the recorded package manager to upgrade the CLI and skill packages. Its init step keeps the recorded integrations, target kinds, agents, and enabled skills without asking. That step detects the package manager again and falls back to the recorded one.jfdevelops add enables another skill, adopts an integration, or adds a workspace package. See Addons.See the command reference for every command and option.