Skip to content

Commit 2dec2b7

Browse files
bcpeinhardtclaude
andcommitted
Add CLAUDE.md with development guidelines and commands
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent ada4ab1 commit 2dec2b7

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+
# Coder Extension Development Guidelines
2+
3+
## Build and Test Commands
4+
- Build: `yarn build`
5+
- Watch mode: `yarn watch`
6+
- Package: `yarn package`
7+
- Lint: `yarn lint`
8+
- Lint with auto-fix: `yarn lint:fix`
9+
- Run all tests: `yarn test`
10+
- Run specific test: `vitest ./src/filename.test.ts`
11+
- CI test mode: `yarn test:ci`
12+
13+
## Code Style Guidelines
14+
- TypeScript with strict typing
15+
- No semicolons (see `.prettierrc`)
16+
- Trailing commas for all multi-line lists
17+
- 120 character line width
18+
- Use ES6 features (arrow functions, destructuring, etc.)
19+
- Use `const` by default; `let` only when necessary
20+
- Prefix unused variables with underscore (e.g., `_unused`)
21+
- Sort imports alphabetically in groups: external → parent → sibling
22+
- Error handling: wrap and type errors appropriately
23+
- Use async/await for promises, avoid explicit Promise construction where possible
24+
- Test files must be named `*.test.ts` and use Vitest

0 commit comments

Comments
 (0)