Your first run
This is the smallest complete repoctl workflow. It makes one change, records evidence, and leaves you with a clear next action.
Install
bash
pnpm add -D repoctlInitialize
bash
pnpm exec repo initReview the planned files before accepting writes. If the repository already has local conventions, use the adoption guide before allowing replacements.
Diagnose
bash
pnpm exec repo doctorThe report checks the repository root, package manager, workspace layout, task runner, hooks, and release metadata. Fix the first reported blocker, then run the command again.
Plan checks
bash
pnpm exec repo check --dry-runThis prints the commands that would run for lint, types, builds, tests, and package checks. Execute the plan only after it matches the checks your repository expects.
Next
- New repository: Create a package or app.
- Existing repository: Adopt an existing workspace.
- CI setup: Add checks to CI.