Skip to content

Commit 34f98d9

Browse files
committed
Refactor CSS utility classes and update agent instructions across multiple steps
- Updated CSS utility classes in instructions for improved clarity and consistency. - Removed unnecessary tools from UI Review agent configuration. - Revised instructions for using Playwright and Copilot CLI sessions in various agents. - Enhanced workshop documentation to reflect changes in agent workflows and setup processes. - Adjusted commit messages for clarity and alignment with project goals.
1 parent 9efa84f commit 34f98d9

36 files changed

Lines changed: 362 additions & 175 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "Soc-Ops Python",
33
"image": "mcr.microsoft.com/devcontainers/python:3.13",
44
"features": {
5-
"ghcr.io/va-h/devcontainers-features/uv": {}
5+
"ghcr.io/va-h/devcontainers-features/uv": {},
6+
"ghcr.io/devcontainers/features/node:1": {}
67
},
78
"customizations": {
89
"vscode": {

.github/agents/pixel-jam.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Implement UI elements from the provided plan through small, focused iterations w
2222
- Make sure dev server task is running and browser preview is open.
2323
- Prioritize clarity, responsiveness, and visual alignment with intent.
2424
- Break down the iterative design steps into small, manageable #tool:todo items.
25-
- After each step, make sure the build task is OK, then visually review components and interactions.
25+
- After each step, make sure the build task is OK, then use Playwright to visually review components and interactions.
2626
- Keep tracking decisions and findings in the design spec file.
2727
- PAUSE for user feedback after each completed iteration.
2828

.github/agents/ui-review.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: UI Review
33
argument-hint: Optional review area to focus on (or just "start")
44
model: Claude Haiku 4.5 (copilot)
5-
tools: ['search', 'search/usages', 'read/problems', 'web/fetch', 'todo', 'agent']
5+
tools: ['search', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web/fetch', 'todo', 'agent']
66
---
77

88
Your goal is to do an in-depth UI review of a website using Playwright and scope potential fixes.

.github/instructions/css-utilities.instructions.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,43 @@ This project uses custom CSS utility classes (similar to Tailwind) defined in `a
1818

1919
### Spacing
2020
```css
21-
.p-1 through .p-6, .px-*, .py-*
22-
.mb-2 through .mb-8, .mx-auto
21+
/* Padding */
22+
.p-1, .p-3, .p-4, .p-6
23+
.px-3, .px-4, .px-6, .px-8
24+
.py-1\.5, .py-2, .py-3, .py-4
25+
/* Margin */
26+
.mb-2, .mb-3, .mb-4, .mb-6, .mb-8, .mx-auto
27+
/* Gap */
2328
.gap-1, .space-y-2
2429
```
2530

2631
### Sizing
2732
```css
28-
.h-full, .w-full, .min-h-full
33+
.h-full, .w-full, .w-16, .min-h-full
2934
.max-w-xs, .max-w-sm, .max-w-md
3035
.aspect-square
36+
.min-h-[60px]
3137
```
3238

3339
### Colors
3440
```css
41+
/* Backgrounds */
3542
.bg-white, .bg-gray-50, .bg-gray-100
36-
.bg-accent (primary blue), .bg-marked (green for selected)
37-
.text-gray-500 through .text-gray-900
38-
.text-green-600, .text-amber-500
43+
.bg-amber-100, .bg-amber-200
44+
.bg-accent (primary blue: #2563eb)
45+
.bg-marked (light green: #dcfce7)
46+
.bg-black/50 (semi-transparent overlay)
47+
/* Text */
48+
.text-white
49+
.text-gray-500, .text-gray-600, .text-gray-700, .text-gray-800, .text-gray-900
50+
.text-green-600, .text-green-800
51+
.text-amber-500, .text-amber-800, .text-amber-900
3952
```
4053

4154
### Typography
4255
```css
43-
.text-xs through .text-5xl
56+
/* Size (only these exist — no text-base, text-xl, text-2xl, etc.) */
57+
.text-xs, .text-sm, .text-lg, .text-3xl, .text-4xl, .text-5xl
4458
.font-semibold, .font-bold
4559
.text-center, .text-left
4660
.leading-tight
@@ -49,14 +63,24 @@ This project uses custom CSS utility classes (similar to Tailwind) defined in `a
4963
### Borders & Shadows
5064
```css
5165
.border, .border-b
66+
.border-gray-200, .border-gray-300, .border-amber-400, .border-marked-border
5267
.rounded, .rounded-lg, .rounded-xl
5368
.shadow-sm, .shadow-xl
5469
```
5570

5671
### Positioning
5772
```css
5873
.fixed, .absolute, .relative
59-
.inset-0, .z-50
74+
.inset-0
75+
.top-0\.5, .right-0\.5
76+
.z-50
77+
```
78+
79+
### Interactivity
80+
```css
81+
.select-none
82+
.wrap-break-word
83+
.hyphens-auto
6084
```
6185

6286
### Animation

.solutions/README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ This folder contains step-by-step checkpoints for the VS Code Agent Lab workshop
99

1010
## Checkpoints Overview
1111

12-
| Step | Description | Key Changes |
13-
|------|-------------|-------------|
14-
| `step-00-baseline` | Starting point | Clean Python app with basic bingo game |
15-
| `step-01-instructions` | Workspace instructions | Added `.github/copilot-instructions.md` |
16-
| `step-02-linting` | Linting rules | Ruff linting configured in `pyproject.toml` |
17-
| `step-03-readme-update` | Enhanced README | Made README more engaging as landing page |
18-
| `step-04-redesign-cyberpunk` | UI Redesign | Cyberpunk Neon theme applied |
19-
| `step-05-quiz-techlife` | Quiz Master | Tech Life Bingo questions |
20-
| `step-06-scavenger-hunt` | Scavenger Hunt mode | New game mode with progress tracking |
21-
| `step-07-card-deck` | Card Deck Shuffle | Random card draw mode |
22-
| `finished` | Complete workshop | All features combined |
12+
Solution steps are more granular than workshop parts — a single workshop part may produce multiple solution steps.
13+
14+
| Step | Workshop Part | Description | Key Changes |
15+
|------|--------------|-------------|-------------|
16+
| `step-00-baseline` || Starting point | Clean Python app with basic bingo game |
17+
| `step-01-instructions` | [Part 1](../workshop/01-setup.md) — Task 1 | Workspace instructions | Added `.github/copilot-instructions.md` |
18+
| `step-02-linting` | [Part 1](../workshop/01-setup.md) — Task 2 | Linting rules | Ruff linting configured via Copilot CLI session |
19+
| `step-03-readme-update` | [Part 1](../workshop/01-setup.md) — Task 2 | Enhanced README | Made README more engaging via cloud agent |
20+
| `step-04-redesign-cyberpunk` | [Part 2](../workshop/02-design.md) — Task 1 | UI Redesign | Cyberpunk Neon theme applied |
21+
| `step-05-quiz-techlife` | [Part 3](../workshop/03-quiz-master.md) | Quiz Master | Tech Life Bingo questions |
22+
| `step-06-scavenger-hunt` | [Part 4](../workshop/04-multi-agent.md) — Task 1 | Scavenger Hunt mode | New game mode with progress tracking (TDD-built) |
23+
| `step-07-card-deck` | [Part 4](../workshop/04-multi-agent.md) — Task 2 | Card Deck Shuffle | Random card draw mode (Pixel Jam-built) |
24+
| `finished` || Complete workshop | All features combined |
2325

2426
## How to Use a Checkpoint
2527

.solutions/finished/.github/agents/pixel-jam.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Implement UI elements from the provided plan through small, focused iterations w
2222
- Make sure dev server task is running and browser preview is open.
2323
- Prioritize clarity, responsiveness, and visual alignment with intent.
2424
- Break down the iterative design steps into small, manageable #tool:todo items.
25-
- After each step, make sure the build task is OK, then use #tool:playwright/* to visually review components and interactions.
25+
- After each step, make sure the build task is OK, then use Playwright to visually review components and interactions.
2626
- Keep tracking decisions and findings in the design spec file.
2727
- PAUSE for user feedback after each completed iteration.
2828

.solutions/finished/.github/agents/ui-review.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: UI Review
33
argument-hint: Optional review area to focus on (or just "start")
44
model: Claude Haiku 4.5 (copilot)
5-
tools: ['search', 'execute/getTaskOutput', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web/fetch', 'web/githubRepo', 'todo', 'agent']
5+
tools: ['search', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web/fetch', 'todo', 'agent']
66
infer: true
77
---
88

.solutions/finished/.github/instructions/css-utilities.instructions.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,43 @@ This project uses custom CSS utility classes (similar to Tailwind) defined in `a
1818

1919
### Spacing
2020
```css
21-
.p-1 through .p-6, .px-*, .py-*
22-
.mb-2 through .mb-8, .mx-auto
21+
/* Padding */
22+
.p-1, .p-3, .p-4, .p-6
23+
.px-3, .px-4, .px-6, .px-8
24+
.py-1\.5, .py-2, .py-3, .py-4
25+
/* Margin */
26+
.mb-2, .mb-3, .mb-4, .mb-6, .mb-8, .mx-auto
27+
/* Gap */
2328
.gap-1, .space-y-2
2429
```
2530

2631
### Sizing
2732
```css
28-
.h-full, .w-full, .min-h-full
33+
.h-full, .w-full, .w-16, .min-h-full
2934
.max-w-xs, .max-w-sm, .max-w-md
3035
.aspect-square
36+
.min-h-[60px]
3137
```
3238

3339
### Colors
3440
```css
41+
/* Backgrounds */
3542
.bg-white, .bg-gray-50, .bg-gray-100
36-
.bg-accent (primary blue), .bg-marked (green for selected)
37-
.text-gray-500 through .text-gray-900
38-
.text-green-600, .text-amber-500
43+
.bg-amber-100, .bg-amber-200
44+
.bg-accent (primary blue: #2563eb)
45+
.bg-marked (light green: #dcfce7)
46+
.bg-black/50 (semi-transparent overlay)
47+
/* Text */
48+
.text-white
49+
.text-gray-500, .text-gray-600, .text-gray-700, .text-gray-800, .text-gray-900
50+
.text-green-600, .text-green-800
51+
.text-amber-500, .text-amber-800, .text-amber-900
3952
```
4053

4154
### Typography
4255
```css
43-
.text-xs through .text-5xl
56+
/* Size (only these exist — no text-base, text-xl, text-2xl, etc.) */
57+
.text-xs, .text-sm, .text-lg, .text-3xl, .text-4xl, .text-5xl
4458
.font-semibold, .font-bold
4559
.text-center, .text-left
4660
.leading-tight
@@ -49,14 +63,24 @@ This project uses custom CSS utility classes (similar to Tailwind) defined in `a
4963
### Borders & Shadows
5064
```css
5165
.border, .border-b
66+
.border-gray-200, .border-gray-300, .border-amber-400, .border-marked-border
5267
.rounded, .rounded-lg, .rounded-xl
5368
.shadow-sm, .shadow-xl
5469
```
5570

5671
### Positioning
5772
```css
5873
.fixed, .absolute, .relative
59-
.inset-0, .z-50
74+
.inset-0
75+
.top-0\.5, .right-0\.5
76+
.z-50
77+
```
78+
79+
### Interactivity
80+
```css
81+
.select-none
82+
.wrap-break-word
83+
.hyphens-auto
6084
```
6185

6286
### Animation

.solutions/step-01-instructions/.github/agents/pixel-jam.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Implement UI elements from the provided plan through small, focused iterations w
2222
- Make sure dev server task is running and browser preview is open.
2323
- Prioritize clarity, responsiveness, and visual alignment with intent.
2424
- Break down the iterative design steps into small, manageable #tool:todo items.
25-
- After each step, make sure the build task is OK, then use #tool:playwright/* to visually review components and interactions.
25+
- After each step, make sure the build task is OK, then use Playwright to visually review components and interactions.
2626
- Keep tracking decisions and findings in the design spec file.
2727
- PAUSE for user feedback after each completed iteration.
2828

.solutions/step-01-instructions/.github/agents/ui-review.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: UI Review
33
argument-hint: Optional review area to focus on (or just "start")
44
model: Claude Haiku 4.5 (copilot)
5-
tools: ['search', 'execute/getTaskOutput', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web/fetch', 'web/githubRepo', 'todo', 'agent']
5+
tools: ['search', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web/fetch', 'todo', 'agent']
66
infer: true
77
---
88

0 commit comments

Comments
 (0)