Skip to content

Commit 34a9e4b

Browse files
committed
add a claudfile
1 parent 6fa8cf1 commit 34a9e4b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CLAUDE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Commands
6+
- Build: `yarn build`
7+
- Dev: `yarn dev` (starts CouchDB, platform-ui, express)
8+
- Lint: `yarn workspace @vue-skuilder/platform-ui lint` or `yarn workspace @vue-skuilder/express lint:fix`
9+
- Type check: `yarn workspace @vue-skuilder/express type-check`
10+
- Unit tests: `yarn workspace @vue-skuilder/platform-ui test:unit`
11+
- Run single test: `yarn workspace @vue-skuilder/platform-ui test:unit <test-file-path>`
12+
- E2E tests: `yarn workspace @vue-skuilder/platform-ui test:e2e`
13+
14+
## Style Guidelines
15+
- Use TypeScript with strict typing
16+
- Format: singleQuote, 2-space tabs (4 for JSON), 100 char line width (120 for Vue files)
17+
- Import order: external modules first, then internal modules
18+
- Vue components use PascalCase
19+
- CSS uses kebab-case
20+
- Variables/functions use camelCase
21+
- Use async/await for promises
22+
- Error handling: try/catch blocks for async code
23+
- Use ESLint and Prettier for code formatting
24+
- Follow Vue 3 Composition API patterns

0 commit comments

Comments
 (0)