project-standards is a pnpm monorepo for rolling out shared repository standards with a small, reviewable diff.
It combines shared config packages, repository templates, and a CLI so teams can adopt a common baseline without copying large configuration blocks into every repository.
Product documentation lives in docs/ and is published as a VitePress site in English and Japanese.
- overview:
docs/index.md - concepts and safety model:
docs/concepts.md - CLI usage:
docs/cli.md - base preset details:
docs/templates/base.md - Japanese pages:
docs/ja/
To run the docs locally:
pnpm docs:devThis repository combines three responsibilities:
- shared configuration packages for tools that should be referenced instead of copied
- repository templates for files that must exist inside each target repository
- a Node.js CLI that can
init,diff, andapplythose files safely
The first base preset includes:
- Renovate baseline config
- shared ESLint flat config with Stylistic rules
- Oxlint and Oxfmt starter files
AGENTS.md,CLAUDE.md, Cursor rules, and Cursor commands
For an existing repository:
- Run
diffto preview the proposed changes. - Review the plan and the generated diff.
- Run
apply --dry-runif you want an extra safety check. - Run
applyonce the diff looks correct.
For a new repository:
- Run
initagainst an empty or intentionally prepared directory. - Review the created baseline files.
- Add repository-specific setup on top of the generated scaffold.
.
├── docs
├── packages
│ ├── cli
│ ├── core
│ ├── eslint-config
│ └── renovate-config
├── templates
│ └── base
├── package.json
├── pnpm-workspace.yaml
├── tsconfig.base.json
└── tsconfig.json