repo-onboard
v1.0.2
Published
Standardized human and AI onboarding for repositories
Downloads
13,183
Maintainers
Readme
Repo Onboard - Human & AI Onboarding Standardizer
Repo Onboard is a CLI tool designed to standardize repository onboarding for both human contributors and AI agents. It generates essential documentation and reference files to ensure clarity and consistency across your project.
Features
- Standardize Documentation: Generates
CONTRIBUTING.md,ARCHITECTURE.md,DECISIONS.md, and more. - AI-Ready: Creates dedicated context files for AI tools like ChatGPT, GitHub Copilot, Gemini, and Claude.
- Audit Tool: Checks your repository for missing onboarding artifacts.
- Configurable: Choose where your docs live.
Installation
You can run this tool directly using npx:
npx repo-onboard initOr install it globally:
npm install -g repo-onboardUsage
Initialization (init)
To set up onboarding artifacts in your repository:
npx repo-onboard initFollow the interactive prompts to configure:
- Documentation Directory: Where to store human-readable docs (default:
docs/). - AI References: Whether to generate
.ai/context files.
Non-Interactive Mode: For CI/CD or scripts:
npx repo-onboard init --docs-dir mydocs --generate-ai -yAuditing (audit)
To check if your repository has all the standard artifacts:
npx repo-onboard auditThis command will list missing files and exit with an error code if artifacts are missing (useful for CI checks).
Generated Files
Human Docs
CONTRIBUTING.mddocs/ONBOARDING.mddocs/ARCHITECTURE.mddocs/DECISIONS.mdREADME.md(if missing)
AI Context (.ai/)
_base.md: Shared context and rules.chatgpt.md: Instructions for ChatGPT.copilot.md: Instructions for GitHub Copilot.gemini.md: Instructions for Gemini.claude.md: Instructions for Claude.
Development
- Clone the repository.
- Install dependencies:
npm install - Build the project:
npm run build - Run locally:
./bin/repo-onboard.js --help
Current Release
License
MIT
