package.json` and run through Corepack: run `corepack enable` once, then `yarn install`.
## Development Commands
### Testing
```bash
# Run all tests with coverage
make test
yarn test
# Watch mode for development
make
Steady8 mentions in 2 weeks
No other project uses it yet
22k10mo agoReviewMountCreate a free account to mount
Rust optimizer; the only step that needs the Rust toolchain
```
The local scripts and tests use the TypeScript optimizer (`tsOptimizer: true` in the repo's own
vite configs and test
Steady8 mentions in 2 weeks
No other project uses it yet
22k15d agoReviewMountCreate a free account to mount
false`
5. Implement that single user story
6. Run quality checks (e.g., typecheck, lint, test - use whatever your project requires)
7. Update CLAUDE.md files if you discover reusable patterns
2 projects use a version of this
22k10mo agoReviewMountCreate a free account to mount
across all packages
- `npm run lint:fix` - Run ESLint with auto-fix
- `npm run test` - Run all tests
**Important:** `npm run compile` only compiles TypeScript. Before UI testing, you must
No other project uses it yet
22k3d agoReviewMountCreate a free account to mount
build # Build all packages
rush rebuild -o @coze-studio/app # Build specific package
rush test # Run all tests
rush lint # Lint all packages
```
### Testing
```bash
# Run tests (Vitest-based)
rush
No other project uses it yet
22k15mo agoReviewMountCreate a free account to mount
before it is added.
## Build
```bash
pip install -e . -v # Development install
ONNX_BUILD_TESTS=1 pip install -e . -v # With C++ tests
```
If [pixi](https://pixi.prefix.dev/latest/) is available
22k1d agoReviewMountCreate a free account to mount
master` and run the "before" benchmarks:
```bash
git stash && git switch master
go test ./benchmark/... -bench=BenchmarkXxx -benchmem -count=6 -cpu=1 | tee /tmp/before.txt
```
2. Switch to your branch
No other project uses it yet
21k12mo agoReviewMountCreate a free account to mount
Testing
- Use `github.com/stretchr/testify/assert` and `github.com/stretchr/testify/require` for assertions.
- Use `require` when the test cannot continue after a failure.
- Use `assert.Eventually` rather than manual `time.Sleep()` calls and timeouts.
- Use `t.Context
No other project uses it yet
21k3mo agoReviewMountCreate a free account to mount
Electron (via scripts/dev.js)
npm run check # Type-check both tsconfig.json and tsconfig.node.json
npm run test # Vitest run (single run)
npm run test:watch # Vitest watch mode
```
## Repository Structure
- `docs/` — VitePress
Steady2 mentions in 2 weeks
No other project uses it yet
21k33d agoReviewMountCreate a free account to mount
transit, and in use
- **ALWAYS** prioritize cryptographic integrity and data protection
- **ALWAYS** add unit tests (with mocking) for any new feature development
## Project Structure
- **Source Code**: `/src/` - Services and core
No other project uses it yet
21k4mo agoReviewMountCreate a free account to mount
module path ends in `/v10`; changes must preserve v10 API compatibility. Contributions require test coverage (see `.github/CONTRIBUTING.md`).
## Commands
```bash
make test # go test -cover -race ./...
make lint # installs golangci-lint
No other project uses it yet
20k21mo agoReviewMountCreate a free account to mount
making changes:
- Preserve the VitePress configuration in `docs/.vitepress/config.mjs`
- Maintain sidebar structure consistency in config.mjs
- Test locally with `npm run dev` before committing
- Check that image links work correctly
- Ensure theme
No other project uses it yet
20k14d agoReviewMountCreate a free account to mount
Commands
See [docs/installation.md](docs/installation.md) for the full installation guide.
```bash
# Contributor install (matches CI test jobs):
uv sync --frozen --extra browser --extra dev --extra markdown \
--extra mcp --extra server --extra
No other project uses it yet
20k2mo agoReviewMountCreate a free account to mount
Build the entire project
- `npm run build -w codegen` - Build specific workspace (e.g., codegen)
### Testing Commands
- `npm test` - Run all tests with Jest
- `npm run test:type-benches` - Run type
No other project uses it yet
20k6mo agoReviewMountCreate a free account to mount
A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.
Where does it go?
At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.
What should it contain?
Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.
CLAUDE.md or AGENTS.md?
Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.