Appearance
Development Workflow
Git Workflow
Branch Strategy
main- Production codedevelop- Development integrationqa- QA testingfeature/*- New featuresbugfix/*- Bug fixes
Creating Branches
Use Shortcut's git integration for automatic branch naming:
bash
# Pattern: type/sc-[ticket-id]-description
git checkout -b feature/sc-123-add-event-creation💡 Tip: Use Git Worktrees for Parallel Development
For working on multiple features simultaneously without context switching:
bash
# Create a worktree instead of switching branches
./scripts/worktree.sh feature/sc-123-add-event-creationThis creates an isolated workspace with its own environment files and dependencies. Learn more about Git Worktrees →
Commit Messages
Start all commit messages with the Shortcut story number:
bash
[sc-123] add event creation form
[sc-456] fix date picker bug
[sc-789] update API documentation
[sc-101] upgrade dependenciesDevelopment Process
Starting Work
- Pick task from Shortcut
- Create branch from
develop - Make changes
- Push and create PR
Code Standards
- TypeScript for all new code
- Run linter before committing:
npm run lint - Follow existing patterns in codebase
Before Creating PR
bash
# Ensure code quality
npm run lint
npm run buildDeployment
- Push to
develop→ Deploys to dev environment - Push to
qa→ Deploys to QA environment - Push to
main→ Deploys to production (requires approval)
Quick Commands
bash
# Development
npm run dev # Start everything
npm run dev:server # Backend only
npm run dev:webapp # Frontend only
# Database
npm run migration:run # Run migrations
npm run db:seed # Seed data
# Code quality
npm run lint # Check code
npm run format # Fix formatting