A production-grade, highly reusable GitHub Repository Template designed as a baseline configuration for modern JavaScript and TypeScript applications.
This repository standardizes and streamlines bootstrapping for multiple JavaScript/TypeScript stacks:
- React Native (Mobile application development)
- React (Single Page Applications)
- Next.js (Full-stack SSR web applications)
- NestJS (Enterprise-grade backend APIs)
- Node.js & Express.js (Microservices and REST APIs)
It is pre-configured with industry-standard tooling, CI/CD pipelines, documentation templates, developer guidelines, and AI agent instructions.
βββ .github/ # GitHub specific configurations
β βββ workflows/ # CI/CD, branch protection, promotion workflows
β βββ ISSUE_TEMPLATE/ # Structured issue forms (bugs, features)
β βββ CODEOWNERS # Reviews assignments
β βββ dependabot.yml # Weekly dependency updates schedules
β βββ PULL_REQUEST_TEMPLATE.md
β
βββ .agent/ # AI Development Guidelines & Workflows
β βββ rules/ # Architecture and coding rules
β βββ skills/ # Prompts/tasks for debugging, code reviews
β βββ workflows/ # Standard checklists for bug fixes and features
β
βββ docs/ # Extensive technical documentation
β βββ architecture/ # High-level architecture and system design
β βββ decisions/ # Architecture Decision Records (ADRs)
β βββ deployment/ # Guides on deployment patterns (Web & Mobile)
β βββ troubleshooting/ # Runbooks and common issues resolutions
β
βββ scripts/ # Automation scripts (setup, release prep)
β βββ setup.sh
β βββ release.sh
β
βββ .editorconfig # Editor layout configuration
βββ .gitignore # Multi-framework exclusions
βββ .nvmrc # Project target Node version
βββ .prettierrc # Custom prettier config
βββ eslint.config.js # ESLint Flat configuration
βββ .env.example # Base configuration environment template
β
βββ AGENTS.md # How to leverage AI Agents with this repo
βββ DEVELOPMENT.md # Instructions on local development setup
βββ CONTRIBUTING.md # Branching, commits, and review processes
βββ SECURITY.md # Disclosures and security report policy
βββ CHANGELOG.md # Automated release logs
βββ README.md
- Runtime: Node.js (LTS)
- Package Manager: pnpm (v9+)
- Language: TypeScript First
- Linter: ESLint (Flat Config)
- Formatter: Prettier
- Quality Checks: Automated type checking, testing, and linting on PRs
- Version Control: Semantic Versioning & Conventional Commits
Click the "Use this template" button at the top of the GitHub page. Select "Create a new repository", set your new repository name, and clone it.
Run the automated environment setup script to configure local files, git settings, and verify system dependencies:
chmod +x scripts/setup.sh
./scripts/setup.shAfter instantiating this template, clean up or modify configuration folders depending on the specific stack you are building:
- NestJS/Express: Initialize your source files inside
src/. - Next.js/React: Clean workspace and run your framework setup (
pnpm dlx create-next-app@latest .). - React Native: Set up your React Native structure (or run
npx react-native@latest init). Make sure to restore the.github/and.agent/folders to your root directory.
This repository contains AI instruction directories (.agent/) specifying styles, patterns, and workflows. AI assistants (such as Cursor, GitHub Copilot, or Gemini) will automatically discover these configurations to produce highly context-aware code matching this template's patterns.
Read AGENTS.md to learn how to integrate this into your workflow.
Please refer to the following documentation files to align with repository engineering standards:
- DEVELOPMENT.md - Project setup, engines, and tools guidelines.
- CONTRIBUTING.md - Branch strategy, commits rules, and PR guidelines.
- SECURITY.md - Vulnerabilities disclosures and security guidelines.