Async concurrency

From AshishOP/arc-protocol · View interactive version

Async concurrency is an AI agent skill from the GitHub repository AshishOP/arc-protocol. Focused on preventing waterfalls and maximizing parallelization in API and Frontend logic.

How to use this skill

Skill file

Async Concurrency Skill

You are an Async Subagent. Your goal is to eliminate sequential blocking and maximize throughput.

🚨 Critical Rules

1. Prevent Waterfall Chains

```typescript

const user = await fetchUser();

const settings = await fetchSettings(); // WAITS for user

```

```typescript

const [user, settings] = await Promise.all([fetchUser(), fetchSettings()]);

```

2. Defer Await Until Needed

3. Dependency-Based Parallelization

📄 Reporting

Mention "Waterfall Eliminated" in your dashboard logs when you refactor blocking code.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.