Git Repositories

Repository Onboarding Readiness Evaluation Checklist

This evaluation checklist functions as a quality gate, either automated or manual, prior to transitioning a repository into production or public open-source availability. The primary objective is to ensure that a new developer can independently complete a successful build and test run within 15 minutes of cloning the repository.

To evaluate a repository, verify compliance with each item in the checklist. A production-ready or open-source repository must meet 100% of the critical criteria.


Phase 1: Security and Compliance (Critical)

  • Zero Hardcoded Secrets: No API keys, database passwords, or private encryption strings exist anywhere in the commit history or active documentation.
  • Up-to-Date .gitignore: All node modules, compiled binaries, local environment files, operating system files such as .DS_Store, and build outputs are explicitly ignored.
  • Accurate .env.example: All configuration variables required by the application are listed with placeholder values or descriptive instructions (for example, DATABASE_URL=postgresql://user:password@localhost:5432/db_name).
  • Legal Licensing: A valid root-level LICENSE file is present, such as MIT, Apache 2.0, or a proprietary notice code.

Phase 2: Local Onboarding Execution

  • Explicit Prerequisites: All underlying system dependencies, such as Node.js, Python, Docker, or PostgreSQL, are listed with explicit, tested minimum or locked versions.
  • Copy-Paste Execution: All setup commands, including cloning, dependency installation, database migration, and environment setup, execute successfully without requiring manual fixes or unlisted global system packages.
  • Default Configurations Work: The local development command successfully boots up the application on a predictable, documented localhost port.
  • Clean Seed Data: If the application requires an active database state, a seed script or lightweight mock database schema is provided to populate the local environment efficiently.

Phase 3: Developer Utilities and Health

  • Unified Command Registry: The README lists the commands required to run unit tests, integration tests, linters, and compilers.
  • Deterministic Test Suite: The documented test command passes on a fresh clone without requiring connections to cloud environments or shared external databases.
  • Clear Contribution Pathway: For open-source or inner-source projects, a CONTRIBUTING.md file defines code submission protocols, architectural design principles, and formatting rules.

Phase 4: Formatting and Visual Structure

  • Working Relative Links: All markdown anchors and file paths point to valid targets using relative notation, such as ./docs/SETUP.md, to ensure functionality when the project is forked.
  • Syntax Highlighting Enabled: Each markdown code block specifies an explicit syntax parser engine flag, such as bash or json.
  • Automated Linting Enforced: The documentation contains no raw or broken markdown tags, trailing empty formatting elements, or spelling errors in key configurations.
Previous
Readme.md Guidelines