Session Start Skill
Initialize your coding session with essential context and status checks.
What This Skill Does
- •Loads Git Workflow Rules - Ensures safe branching and commit practices
- •Checks Unity Console - Identifies any existing errors or warnings
- •Verifies Current State - Confirms branch status and working tree
Usage
Run at the start of each coding session:
code
/session-start
Session Checklist
1. Git Status Check
First, verify your git state:
bash
git status git branch
Expected state:
- •On a feature/refactor/fix/phase branch (NOT main)
- •Working tree clean, or with intentional uncommitted changes
If on main: Create a branch before making changes:
bash
git checkout -b feature/description
2. Unity Console Check
Check for pre-existing compilation errors:
code
read_console(action="get", types=["error", "warning"], count=20)
Expected state:
- •No errors (compilation successful)
- •Warnings are acceptable but should be addressed if reasonable
If errors exist: Fix compilation errors before starting new work.
3. Review Recent History
Understand what was done previously:
bash
git log --oneline -5
Workflow Rules Summary
Branch Types
- •
feature/- New functionality - •
refactor/- Code restructuring - •
fix/- Bug fixes - •
phase/- Multi-part changes
Commit Types
- •
feat:- New feature - •
refactor:- Restructuring - •
fix:- Bug fix - •
docs:- Documentation - •
test:- Tests - •
chore:- Config/tooling
Core Principles
- •Never work directly on main
- •Commit after each logical phase
- •Verify compilation before commits
- •Run code-simplify before PRs
- •Test save compatibility before merging
Quick Actions
Start New Feature
bash
git checkout main && git pull origin main git checkout -b feature/my-feature
Resume Work
bash
git status # Check state git stash list # Check for stashed work git stash pop # Restore if needed
Before Committing
- •Run
/unity-consoleto verify no errors - •Stage changes:
git add . - •Commit:
git commit -m "type: description"
Related Skills
- •
/unity-console- Check Unity Editor console - •
/unity-mcp- Unity MCP expert guidance - •
/git-workflow- Detailed git workflow rules
Full Documentation
- •Git workflow:
.claude/git-workflow.md - •Service layer:
Assets/Scripts/Services/README.md - •Project instructions:
CLAUDE.md