summaryrefslogtreecommitdiffstats
path: root/PRE-WEEK3-CHECKLIST.md
blob: 3526e03d21f08395cbfb7134c4075f41f40fafae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# Pre-Week 3 Checklist

## ✅ Branching Policy Implementation Complete

Before you start Week 3, verify everything is in place:

### Documentation Review

- [ ] Read `BRANCHING-POLICY.md` (5-10 min)
  - Understand why weekly branching
  - Understand branch naming convention
  - Understand merge workflow

- [ ] Review `GIT-WORKFLOW-QUICK-REF.md` (2-3 min)
  - Common commands reference
  - Have it nearby during development

- [ ] Keep `GIT-WORKFLOW.md` handy
  - Reference when needed
  - Complete guide with examples

### Project Files Updated

- [ ] `CLAUDE.md` — Work protocol now includes branching requirement
- [ ] `WEEK3-START.md` — Branching instructions before Week 3 tasks
- [ ] `WEEKS1-2-SUMMARY.md` — Week 3+ branching workflow documented
- [ ] `PROGRESS-STATUS.txt` — Branching requirement noted
- [ ] `memory/MEMORY.md` — Index updated with GIT-WORKFLOW reference

### Ready to Start Week 3

- [ ] Understand the branching requirement
- [ ] Ready to create `week-3-cards-nav` branch
- [ ] Ready to commit regularly with clear messages
- [ ] Ready to test thoroughly before merging
- [ ] Ready to merge back to master at end of week

---

## Week 3 Startup Steps

### 1. Create Feature Branch

```bash
git checkout -b week-3-cards-nav
```

Verify:
```bash
git branch -v
# Should show:
#   master          abc1234 message
# * week-3-cards-nav abc1234 message
```

### 2. Start Development

```bash
# Work on Week 3 tasks:
# - Article cards
# - Navigation header
# - Hamburger menu
# - Breadcrumbs

# After each component:
npm run build
hugo server
git commit -m "feat: add component description"
```

### 3. Daily Progress

Update memory if working across multiple sessions:
```bash
cat > /path/to/memory/week3_progress.md << 'EOF'
# Week 3 Progress

**Date:** 2026-04-17
**Status:** In progress (Day 1)

## Completed
- [x] Article cards
- [ ] Navigation header
- [ ] Hamburger menu
- [ ] Breadcrumbs
EOF

git add memory/week3_progress.md
git commit -m "docs: update week 3 progress"
```

### 4. End of Week

```bash
# Review all changes
git diff master..week-3-cards-nav
git diff --stat master..week-3-cards-nav

# Test thoroughly
# - Dark mode: all pages
# - Light mode: toggle on each page
# - Mobile (320px), Tablet (768px), Desktop (1060px+)
# - Keyboard navigation (Tab, Shift+Tab, Enter, Space, Escape)
# - All interactive components (buttons, menus, forms)
# - CSS build: npm run build (no errors)
# - Browser console: no errors

# View commits
git log master..week-3-cards-nav --oneline

# Merge to master
git checkout master
git merge week-3-cards-nav

# Delete feature branch
git branch -d week-3-cards-nav

# Verify merge
git log --oneline -5
```

---

## Documentation Structure

```
Quick Start
  └─ BRANCHING-POLICY.md (read first)

During Development
  ├─ GIT-WORKFLOW-QUICK-REF.md (reference)
  ├─ WEEK3-START.md (Week 3 tasks)
  └─ GIT-WORKFLOW.md (detailed guide)

Project Requirements
  ├─ CLAUDE.md (work protocol, includes branching)
  └─ WEEKS1-2-SUMMARY.md (how to continue pattern)
```

---

## Key Commands

```bash
# Create branch
git checkout -b week-3-cards-nav

# Check status
git status

# View changes
git diff

# Stage files
git add <file>

# Commit
git commit -m "feat: description"

# View history
git log --oneline -10
git log master..week-3-cards-nav --oneline

# Review before merge
git diff master..week-3-cards-nav
git diff --stat master..week-3-cards-nav

# Merge
git checkout master
git merge week-3-cards-nav

# Delete branch
git branch -d week-3-cards-nav
```

---

## Testing Checklist

Before merging to master, verify:

### Dark Mode
- [ ] Homepage displays correctly
- [ ] All components styled
- [ ] Text readable
- [ ] No missing styles

### Light Mode
- [ ] Toggle theme works
- [ ] All components styled
- [ ] Text readable
- [ ] No color issues

### Responsive
- [ ] Mobile (320px): Single column, readable
- [ ] Tablet (768px): Layout adjusts appropriately
- [ ] Desktop (1060px+): Full layout, sidebar visible

### Interactive
- [ ] Buttons work on click
- [ ] Menus open/close
- [ ] Links clickable
- [ ] Focus states visible on all interactive elements
- [ ] Tab navigation works
- [ ] Escape key closes modals/menus

### Quality
- [ ] CSS builds: `npm run build` (no errors, <200ms)
- [ ] No console errors: Check DevTools → Console
- [ ] No hard-coded colors in CSS
- [ ] Git history is clean: `git log --oneline`

---

## When in Doubt

1. Read `BRANCHING-POLICY.md` (answers most questions)
2. Check `GIT-WORKFLOW.md` FAQ section
3. Reference `GIT-WORKFLOW-QUICK-REF.md` for commands
4. Look at examples in `GIT-WORKFLOW.md`

---

## Summary

✅ Policy documented  
✅ Integration complete  
✅ References provided  
✅ Examples included  
✅ Ready for Week 3  

You're all set to start Week 3 with weekly branching! 🚀