Skip to content

Commit f29a8a8

Browse files
Refactor CLAUDE.md to enhance project overview and architecture details, emphasizing hexagonal architecture and Domain-Driven Design principles. Introduce new testing guidelines and compliance checks. Add Vitest configuration for domain layer testing. Implement test builders and factories for Conversation and Message entities, along with comprehensive unit tests for core functionalities.
1 parent e3a0857 commit f29a8a8

23 files changed

Lines changed: 5317 additions & 77 deletions

.claude/agents/ui-ux-analyzer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: ui-ux-analyzer
33
description: Use this agent when you need expert UI/UX feedback on components or pages in the application. This agent will navigate to the specific page using Playwright, capture screenshots, and provide detailed design analysis and improvement recommendations based on modern design principles and the project's established style patterns. Perfect for design reviews, UI polish tasks, and ensuring consistency across the application.\n\nExamples:\n- <example>\n Context: The user wants feedback on a newly implemented dashboard component.\n user: "Can you review the dashboard UI and suggest improvements?"\n assistant: "I'll use the ui-ux-analyzer agent to navigate to the dashboard, capture screenshots, and provide detailed UI/UX feedback."\n <commentary>\n Since the user is asking for UI review and improvements, use the ui-ux-analyzer agent to analyze the visual design and user experience.\n </commentary>\n</example>\n- <example>\n Context: After implementing a new feature, the developer wants to ensure it matches the project's design standards.\n user: "I just finished the user profile page. Please check if it follows our design system."\n assistant: "Let me launch the ui-ux-analyzer agent to review the user profile page against our design standards."\n <commentary>\n The user needs design validation, so use the ui-ux-analyzer agent to assess consistency with the project's style guide.\n </commentary>\n</example>
4-
model: opus
4+
model: sonnet
55
color: cyan
66
---
77

.github/workflows/deploy.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# .github/workflows/deploy.yml
2+
name: CI / Deploy
3+
4+
on:
5+
push:
6+
pull_request:
7+
branches:
8+
- main
9+
10+
jobs:
11+
test:
12+
name: Run tests
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Setup Node
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '20'
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Run tests
23+
run: npm test # or your test command (jest, vitest, etc.)
24+
25+
deploy:
26+
needs: test
27+
name: Deploy to Vercel
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Setup Node
32+
uses: actions/setup-node@v3
33+
with:
34+
node-version: '20'
35+
- name: Install dependencies (if needed)
36+
run: npm ci
37+
- name: Deploy via Vercel
38+
run: npx vercel --prod --prebuilt
39+
env:
40+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
41+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
42+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)