knowledge-base
This file contains domain knowledge about the Cal.diy product and codebase. For coding…
When async operations have no interdependencies, execute them concurrently using `Promise.all()`.
$ npx -y skills add calcom/cal.diy --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
When async operations have no interdependencies, execute them concurrently using `Promise.all()`.
title: Promise.all() for Independent Operations impact: CRITICAL impactDescription: 2-10× improvement tags: async, parallelization, promises, waterfalls
When async operations have no interdependencies, execute them concurrently using `Promise.all()`.
**Incorrect (sequential execution, 3 round trips):**
const user = await fetchUser() const posts = await fetchPosts() const comments = await fetchComments()
**Correct (parallel execution, 1 round trip):**
const [user, posts, comments] = await Promise.all([ fetchUser(), fetchPosts(), fetchComments() ])
Repo: calcom/cal.com
This file contains domain knowledge about the Cal.diy product and codebase. For coding…
The `packages/features` package should contain only framework-agnostic code: - Repositories…