Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
/ RV_2.0 Public template

GitHub template repository with automated project setup system that saves 85-90% of setup time (30-45 min vs 7-10 hours)

License

Notifications You must be signed in to change notification settings

razorvision/RV_2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

93 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RV 2.0 Template Repository

License: MIT Node.js GitHub Issues GitHub Stars PRs Welcome

RV 2.0 project repository.

🎯 85-90% time savings on project setup (7-10 hours β†’ 1-2 hours)


πŸ‘‹ New Here? Start Here!

This template gives you a complete project foundation with automated workflows, documentation, and best practices.

Which Path Are You?

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        START HERE                               β”‚
β”‚                                                                 β”‚
β”‚  What are you trying to do?                                     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
       β”‚                      β”‚                      β”‚
       β–Ό                      β–Ό                      β–Ό
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚    NEW    β”‚         β”‚ EXISTING  β”‚         β”‚  SPECIFIC β”‚
 β”‚  PROJECT  β”‚         β”‚  PROJECT  β”‚         β”‚  FEATURE  β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                      β”‚                      β”‚
       β–Ό                      β–Ό                      β–Ό
  5-Min Quick           Project Intake        See Feature
  Start below              System            Guides below
       β”‚                      β”‚
       β–Ό                      β–Ό
  QUICKSTART.md        .project-intake/

Feature Guides (Pick What You Need)

I want to... Go to... Time
Get my environment ready Setup Checklist 15-30 min
Set up database Database Setup 10 min
Add authentication Auth Guide (has 5-min quick start!) 5-60 min
Configure Claude Code + MCP MCP Quick Start 5 min
Set up Docker Docker Guide 15 min
Set up testing (Django/Docker) Testing Template 30 min
Learn coding standards Coding Standards 15 min
See common tasks Common Tasks 5 min
See all env variables Environment Variables Reference Reference

Quick Links

Path Description
πŸ†• 5-Minute Quick Start Create new repo from this template
πŸ“¦ Existing Project Setup Add template to existing codebase
πŸ”§ Setup Checklist Single source of truth for dev setup
πŸ“‹ Common Tasks Day-to-day development reference
πŸ“– Full Documentation Complete documentation index

Prerequisites

πŸ”΄ Required:

  • Git
  • GitHub account

🟑 Optional (but recommended):

  • Node.js 18+ (for validation scripts only)
  • GitHub CLI (for automation)
  • Claude Code (for AI-assisted development)

πŸš€ 5-Minute Quick Start

For brand new projects:

  1. Click "Use this template" button at the top of this page
    • βœ… You should see: "Create a new repository" page

Repository main page showing the "Use this template" button

  1. Create your repository with your project name

    • βœ… You should see: Your new repository page
  2. Clone and setup:

    git clone https://github.com/your-username/your-new-repo.git
    cd your-new-repo
    npm install                      # Install dependencies
    cp .env.example .env.local       # Create your environment file
    bash scripts/setup-labels.sh     # Create GitHub labels (Mac/Linux/Git Bash)
    # OR: scripts\setup-labels.bat   # (Windows)
    • βœ… You should see: "Created label: priority: high" (and 40+ more labels)

GitHub labels page showing organized labels by category

  1. Configure environment - Edit .env.local with your values:

    DATABASE_URL=postgresql://...    # Your database connection
    AUTH_SECRET=...                  # Run: openssl rand -base64 32

    See ENV_VARIABLES.md for all options.

  2. Done! Start coding with best practices in place.

    npm run dev  # Start the development server

βœ… You now have: GitHub labels, issue templates, PR templates, documentation structure, and workflow guides.

🟑 Next steps:


πŸ“¦ Existing Project Setup

Adding this template to existing code:

  1. Copy template files to your project:

    # Mac/Linux/Git Bash
    cp -r .github/ your-project/
    cp -r .claude/ your-project/
    cp -r docs/ your-project/
    
    # Windows PowerShell
    Copy-Item -Recurse .github, .claude, docs your-project/
    • βœ… You should see: New .github/, .claude/, and docs/ directories in your project
  2. Run the Project Intake System:

    • Copy .project-intake/config.template.json to config.json
    • Fill in your project details
    • In Claude Code, say: "Execute the project intake system"
    • βœ… You should see: Generated README, setup documentation, and GitHub issues
  3. Customize for your tech stack using the generated documentation

    • βœ… You should see: Documentation tailored to your codebase

Time investment: 15-30 minutes for basic setup, 1-2 hours for full automation


πŸ“‘ Table of Contents

What's Included

πŸ§ͺ Testing Infrastructure

Django/Docker Testing Template (testing-template-packet/)

Complete testing setup for Django projects with Docker containerization:

  • Auto-Discovery Testing - Custom /test slash command that intelligently discovers and runs relevant tests
  • Comprehensive Documentation - 8 files (~1,300 lines) covering setup, usage, and best practices
  • Docker Integration - Windows/PowerShell compatible commands for containerized testing
  • Pytest Configuration - Pre-configured markers (unit, integration, slow, playwright) and settings
  • Example Tests - Real-world test patterns with mocks, fixtures, and assertions
  • Quick Reference - One-page cheat sheet for common testing commands

Key Files:

  • README.md - Testing setup overview and features
  • START-HERE.md - Quick start guide with 8-step implementation
  • .claude/commands/test.md - Custom slash command for auto-discovery
  • pytest.ini.example - Pytest configuration template
  • QUICK-REFERENCE.md - Command cheat sheet
  • SETUP-CHECKLIST.md - Step-by-step setup guide
  • docs/TESTING.md - Comprehensive testing documentation
  • tests/test_example.py - Example test patterns

Customization Required:

  • Update container name (default: wiseloan-core-core-1)
  • Update test paths to match your project structure
  • Adapt pytest markers for your testing needs

Time Savings: 1-2 hours of testing infrastructure setup β†’ 15 minutes

πŸ“‹ Project Management Infrastructure

Issue & PR Templates (.github/ISSUE_TEMPLATE/)

  • Bug report template with reproduction steps
  • Feature request template with acceptance criteria
  • Epic template for large features
  • Pull request template with comprehensive checklist

Project Management Guides (.github/)

πŸ“š Development Guidelines

Core Standards & Practices:

πŸ€– Claude Code Integration

MCP Servers (Model Context Protocol):

16 pre-configured MCP servers are included. Most work without setup - just approve when prompted.

🟒 Core Servers (No Setup Required):

  • Filesystem - File operations within your project
  • Git - Git operations and repository management
  • Memory - Persistent context across Claude sessions
  • Sequential Thinking - Enhanced reasoning for complex problems

🟑 Enhanced Servers (Minimal Setup):

  • Playwright - Browser automation (run: npx playwright install)
  • Puppeteer - Alternative browser automation
  • Context7 - Documentation search
  • Everything - System-wide file search (Windows)
  • SQLite - Local database operations

πŸ”΄ Advanced Servers (Require API Keys/Tokens):

  • GitHub - Requires: GITHUB_PERSONAL_ACCESS_TOKEN
  • Slack - Requires: SLACK_BOT_TOKEN, SLACK_TEAM_ID
  • Brave Search - Requires: BRAVE_API_KEY (2K free/month)
  • PostgreSQL - Requires: POSTGRES_CONNECTION_STRING
  • Docker - Requires Docker Desktop running
  • Sentry - Requires: Sentry account and DSN
  • AWS KB - Requires: AWS credentials and knowledge base setup

πŸ“š Documentation:

Configuration (.claude/):

  • Claude Config README - Complete configuration guide
  • settings.json.template - Project-scoped permissions template
  • settings.local.json - Machine-specific settings (git-ignored)
  • Permission management (allow, ask, deny)
  • Custom instructions and MCP server configuration

Slash Commands Library (.claude/commands/):

  • Command Library README - Complete slash commands documentation
  • /review-security - Comprehensive security audit
  • /review-code - Code quality review
  • /create-component - Generate React components
  • /create-api-route - Create API endpoints
  • /add-test - Generate test files
  • /refactor - Code improvement and cleanup
  • /optimize - Performance optimization
  • /debug - Systematic troubleshooting

🎯 Project Intake System (.project-intake/)

For Existing Codebases Only - This is different from the template!

When to use:

  • You have an existing project with code already written
  • You want to add this template's structure to your existing repo
  • You need automated documentation generation for legacy code

What it does:

  1. Analyzes your existing codebase and tech stack
  2. Generates customized README and documentation
  3. Sets up Git hooks and branch strategy
  4. Creates GitHub labels, issues, and project board
  5. Documents your code quality standards

Quick Start:

  1. Copy .project-intake/config.template.json to config.json
  2. Fill in your project details
  3. Tell Claude Code: "Execute the project intake system"
  4. Review and refine the generated docs

πŸ“– See the Existing Project Setup guide above

⚠️ Note: If you're starting a NEW project from this template, you don't need this system.

πŸ”§ Automation Tools

GitHub Actions Workflows (.github/workflows/):

  • Workflows README - Complete workflows documentation
  • ci.yml - Continuous integration (lint, test, build, e2e)
  • codeql.yml - Security scanning and code analysis
  • dependency-update.yml - Automated weekly dependency updates
  • pr-checks.yml - Pull request validation (title, size, conflicts, TODOs)
  • release.yml - Automated releases with changelog generation

Scripts & Utilities:

  • setup-labels.sh / setup-labels.bat - Automated label creation
  • convert_drafts_to_issues_TEMPLATE.py - Convert draft issues to GitHub issues
  • create_issue.sh - Create GitHub issues via CLI
  • work-epic-issue.sh - Workflow automation for epics
  • Health check validation scripts
  • Config validation utilities

πŸ›‘οΈ Git Workflow Protection

Pre-Commit Hooks:

  • Pre-commit Configuration - Comprehensive code quality checks
  • Pre-commit Hooks Guide - Setup and usage documentation
  • Automated Checks:
    • ESLint and Prettier (formatting)
    • TypeScript type checking
    • Secret detection (prevent credential leaks)
    • Security scanning (Bandit for Python)
    • Commit message validation (Conventional Commits)
    • Markdown, Docker, and shell script linting
    • Large file detection
    • Merge conflict detection
  • Blocks direct commits to main branch
  • Cross-platform support (Mac/Linux/Windows)

Repository Structure

Key directories:

  • .claude/ - Claude Code configuration and custom slash commands
  • .github/ - Issue templates, PR templates, GitHub Actions workflows
  • docs/ - Complete documentation (guides, security, workflows)
  • testing-template-packet/ - Django/Docker testing infrastructure
  • scripts/ - Automation scripts for setup and maintenance

πŸ“– See complete directory structure

Customization

All templates and guidelines can be adapted to your needs:

  • For your tech stack: Update CODING_STANDARDS.md with your languages/frameworks
  • For your workflow: Modify BRANCH_STRATEGY.md branch prefixes and conventions
  • For your project type: Add custom labels (e.g., platform: ios, env: production)
  • For your tools: Customize MCP servers in .mcp.json or add more slash commands to .claude/commands/

πŸ’‘ Tip: Start with the defaults and customize as you go. The templates work well out-of-the-box.

Best Practices

  • Security: Never commit secrets Β· Use .env for config Β· Validate all input Β· See SECURITY.md
  • Code Quality: Follow CODING_STANDARDS.md Β· Write tests Β· Keep functions focused
  • Git Workflow: Use feature branches Β· Write clear commits Β· Keep PRs small Β· See BRANCH_STRATEGY.md
  • Project Management: Use labels (priority/type/status) Β· See PROJECT_MANAGEMENT_GUIDE.md

Documentation

Essential Guides

Project Management

Support & Resources

Getting Help

External Resources

Contributing

Improvements to this template are welcome! To contribute:

  1. Fork this repository
  2. Create a feature branch: git checkout -b feature/improvement
  3. Make your changes
  4. Test with a new project
  5. Submit a pull request

License

This template is provided as-is for use in any project. Customize as needed for your team's workflow.

Credits

Created by: Andrew Tucker Powered by: Claude Code Based on learnings from: SafeQuote.io and MedNexus projects


Template Version: 1.0.0 Last Updated: 2025-11-21


What's Next?

  1. Click "Use this template" to create your new repository
  2. Follow POST_TEMPLATE_CHECKLIST.md for complete setup
  3. Read TEMPLATE_USAGE.md for detailed guidance
  4. Start building with confidence in your foundation

Questions? Check the documentation or open an issue!

About

GitHub template repository with automated project setup system that saves 85-90% of setup time (30-45 min vs 7-10 hours)

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •