Production-ready development environment combining Claude AI, GitHub Codespaces, and VS Code for maximum productivity.
π― Pre-configured Codespace with:
- Node.js (LTS) + Python 3.11 + Git
- GitHub Copilot & Copilot Chat
- Remote SSH for VPS connections
- Port forwarding (3000-3010, 5678)
- Essential VS Code extensions
π€ AI-Powered Workflow:
- Claude AI for architecture & debugging
- GitHub Copilot for code completion
- Integrated development workflow
π Security First:
- SSH key management
- Environment variable handling
- Secure .gitignore configuration
π Complete Documentation:
- Step-by-step setup guides
- Best practices & workflows
- Troubleshooting resources
Option A: Use This Template
- Click "Use this template" β "Create a new repository"
- Name your project
- Choose public/private
- Click "Create repository"
Option B: Clone & Customize
git clone https://github.com/JeffreyLovett/claude-github-codespace-template.git my-project
cd my-project- Go to your repository on GitHub
- Click Code β Codespaces β Create codespace on main
- Wait 2-3 minutes for environment setup
- Start coding! π
Run in Codespace terminal:
node --version # Should show v20.x
python --version # Should show 3.11.x
git --version # Latest
gh auth status # GitHub CLI authenticated| Document | Purpose |
|---|---|
| WORKSPACE_SETUP.md | Complete setup walkthrough |
| docs/CLAUDE_INTEGRATION.md | Claude AI workflow guide |
| docs/SSH_VPS_GUIDE.md | Remote server connections |
- Node.js (LTS): JavaScript/TypeScript runtime
- Python 3.11: Data science, automation, backends
- Git: Version control
- GitHub CLI: Repository management from terminal
- SSH: Secure remote connections
- GitHub Copilot - AI code completions
- GitHub Copilot Chat - Conversational AI assistance
- Remote SSH - Connect to VPS/servers
- Python - Python development
- ESLint - JavaScript linting
- Prettier - Code formatting
- GitLens - Git visualization
Pre-configured ports: 3000-3010, 5678
- Web servers (Express, Next.js, etc.)
- Development tools
- Debugging ports
# 1. Plan architecture with Claude (in browser)
# β Describe your feature, get design suggestions
# 2. Implement in Codespace
npm init -y
npm install express
# 3. Let Copilot help write code
# β Start typing, accept suggestions
# 4. Test & iterate
npm test# 1. Generate SSH key
ssh-keygen -t ed25519 -C "your.email@example.com"
# 2. Add to server
ssh-copy-id user@your-server.com
# 3. Deploy
npm run build
rsync -avz ./dist/ user@server:/var/www/app/
ssh user@server 'sudo systemctl restart app'# 1. Install dependencies
npm install express pg dotenv
# 2. Set environment variables
# GitHub β Settings β Codespaces β Secrets
# Add: DATABASE_URL
# 3. Connect & code
# Copilot helps with DB queriesβ Configured for you:
.gitignoreexcludes secrets, keys,.env- SSH keys stay in Codespace (never committed)
- Environment variables via Codespace secrets
- Use strong SSH key passphrases
- Rotate keys every 6-12 months
- Never commit API keys or tokens
- Use
.envfiles for local secrets
For Every New Project:
- Go to template repo (this one)
- Click "Use this template"
- Name your new project
- Launch Codespace
- Install project dependencies:
npm init -y # or pip install -r requirements.txt
That's it! Same environment, different project.
For Organizations:
- Fork this template to your org
- Customize
.devcontainer/devcontainer.json(add org-specific tools) - Team members use org template for consistent environments
- No more "works on my machine" issues
- Check GitHub Codespaces status page
- Try rebuilding container:
Cmd/Ctrl + Shift + Pβ "Rebuild Container"
- Extensions panel β Ensure "GitHub Copilot" is enabled
Cmd/Ctrl + Shift + Pβ "GitHub Copilot: Sign In"
- See docs/SSH_VPS_GUIDE.md troubleshooting section
- PORTS tab (bottom panel) β Right-click port β "Port Visibility: Public"
claude-github-codespace-template/
βββ .devcontainer/
β βββ devcontainer.json # Codespace configuration
βββ docs/
β βββ CLAUDE_INTEGRATION.md # AI workflow guide
β βββ SSH_VPS_GUIDE.md # Server connection guide
βββ .gitignore # Security-first ignore rules
βββ README.md # This file
βββ WORKSPACE_SETUP.md # Complete setup walkthrough
Improvements welcome!
- Fork this repository
- Create feature branch:
git checkout -b feature/improvement - Commit changes:
git commit -m 'Add improvement' - Push:
git push origin feature/improvement - Open Pull Request
ββββββββββββββββββββββββββββββββββββββββββ
β PRODUCTION-READY WORKSPACE TEMPLATE β
ββββββββββββββββββββββββββββββββββββββββββ€
β β
β β
Development environment β
β β
AI-powered coding β
β β
Secure remote access β
β β
Complete documentation β
β β
Reusable for all projects β
β β
β π START BUILDING NOW! β
β β
ββββββββββββββββββββββββββββββββββββββββββ
- β Launch Codespace (if you haven't)
- π Read WORKSPACE_SETUP.md
- π Set up SSH keys (see SSH_VPS_GUIDE.md)
- π€ Try Claude integration (see CLAUDE_INTEGRATION.md)
- π» Start coding!
Questions? Feedback? Open an issue or discussion!
Built with β€οΈ for developers who love automation