Skip to content
Agentmart
Submit a tool

mandu-performance

Performance optimization patterns for Mandu applications.

Skill by mandu

IndexedMIT★ 47
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/konamgil-mandu-performance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Performance optimization patterns for Mandu applications. Use when optimizing slot handlers, Island components, bundle size, or Bun runtime. Triggers on tasks involving async/await, Promise.all, lazy loading, caching, or performance.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 4

  • bun.sh · found in code
  • codeload.github.com · found in install command
  • react.dev · found in code
  • vercel.com · found in code

Files it touches

  • ~/.claude/skills/mandu-performance

What's inside

Skill name
mandu-performance
Description
Performance optimization patterns for Mandu applications. Use when optimizing slot handlers, Island components, bundle size, or Bun runtime. Triggers on tasks involving async/await, Promise.all, lazy loading, caching, or performance.
License
MIT
Metadata
author: mandu · version: 1.0.0
Instructions
115 lines in SKILL.md · view on GitHub

Files (12)

  • SKILL.md
  • metadata.json
  • _sections.md · rules/
  • _template.md · rules/
  • perf-async-defer-await.md · rules/
  • perf-async-parallel.md · rules/
  • perf-bun-file.md · rules/
  • perf-bun-serve.md · rules/
  • perf-bundle-imports.md · rules/
  • perf-bundle-island-lazy.md · rules/
  • perf-cache-react.md · rules/
  • perf-render-transitions.md · rules/

SKILL.md (first lines)

# Mandu Performance

Mandu 애플리케이션의 성능 최적화 가이드. 워터폴 제거, 번들 최적화, 캐싱 패턴, Bun 런타임 활용법을 다룹니다. Vercel의 React Best Practices를 Mandu 컨텍스트로 변환하여 적용합니다.

## Agent Workflow Contract

This skill is a Domain addendum. It must not replace `mandu-agent-workflow`.
Use it only after `mandu.agent.plan` selects performance, hydration, route, API, or runtime domains.

Canonical workflow step: `plan -> verify -> repair`.

Preferred MCP tools:

| Step | Tools |
|------|-------|
| plan | `mandu.agent.plan`, `mandu.agent.context` |
| apply | `mandu.agent.apply` |
| verify | `mandu.agent.verify`, `mandu.build`, `mandu.run.tests` |
| repair | `mandu.agent.repair` |

Allowed file edits:

- Route, slot, island, or cache code named in the plan
- Import boundaries that reduce bundle/runtime cost
- Benchmark/test files scoped to the performance claim

Verification command:

```bash
mandu agent verify --changed --json --write
```

Common failures:

- Optimizing without a measurable route, bundle, or runtime target
- Moving server-only code into client islands for convenience
- Skipping typecheck or targeted tests after cache/import rewrites

Repair path:

```bash
mandu agent repair --from .mandu/agent-verify.json --json
```

## When to Apply

Reference these guidelines when:
- Optimizing slot handler response times
- Reducing Island component bundle size
- Implementing caching strategies
- Working with async/await patterns
- Leveraging Bun runtime features

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Async Optimization | CRITICAL | `perf-async-` |
| 2 | Bundle Optimization | CRITICAL | `perf-bundle-` |
| 3 | Caching Strategies | HIGH | `perf-cache-` |
| 4 | Bun Runtime | HIGH | `perf-bun-` |
| 5 | Rendering | MEDIUM | `perf-render-` |

## Quick Reference

### 1. Async Optimization (CRITICAL)

- `perf-async-parallel` - Use Promise.all() for independent operations
- `perf-async-defer-await` - Move await into branches where actually used
- `perf-async-early-start` - Start promises early, await late

### 2. Bundle Optimization (CRITICAL)

- `perf-bundle-imports` - Import directly, avoid barrel files
- `perf-bundle-island-lazy` - Lazy load Islands with dynamic import
- `perf-bundle-preload` - Preload on hover/focus for perceived speed

### 3. Caching Strategies (HIGH)

- `perf-cache-slot` - Cache slot responses with appropriate TTL
- `perf-cache-react` - Use React.cache() for request deduplication
- `perf-cache-lru` - Use LRU cache for cross-request caching

### 4. Bun Runtime (HIGH)

- `perf-bun-serve` - Optimize Bun.serve() configuration
- `perf-bun-file` - Use Bun.file() for efficient file operations
- `perf-bun-sqlite` - Leverage bun:sqlite for fast database access

### 5. Rendering (MEDIUM)

- `perf-render-island-priority` - Set appropriate hydration priority
- `perf-render-transitions` - Use startTransition for non-urgent updates

## Performance Impact Summary

| Optimization | Typical Improvement |
|--------------|---------------------|
| Promise.all() | 2-10× faster |
| Direct imports | 15-70% faster dev boot |
| Island lazy loading | 40-60% smaller initial bundle |
| React.cache() | Eliminates duplicate queries |
| Bun.file() | 10× faster than Node fs |

## How to Use

Read individual rule files for detailed explanations:

```
rules/perf-async-parallel.md
rules/perf-bundle-imports.md
rules/perf-bun-serve.md
```

From konamgil/mandu, MIT.

Signals

Stars
47
Forks
3
Open issues
4
Last commit (this folder)
Aug 13, 2026 (2 months ago)
Last release
May 29, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mandu

Cite this page

mandu-performance skill. Agent Mart. https://agentmart.dev/skills/konamgil-mandu-performance (last updated 2026-10-24)