Skip to content
Agentmart
Submit a tool

mandu-testing

Testing 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-testing

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

Testing patterns for Mandu applications. Use when writing unit tests, integration tests, or E2E tests. Triggers on test, spec, Bun test, Playwright, or testing tasks.

Use cases: testing, writing, 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 5

  • bun.sh · found in code
  • codeload.github.com · found in install command
  • kentcdodds.com · found in code
  • playwright.dev · found in code
  • testing-library.com · found in code

Files it touches

  • ~/.claude/skills/mandu-testing

What's inside

Skill name
mandu-testing
Description
Testing patterns for Mandu applications. Use when writing unit tests, integration tests, or E2E tests. Triggers on test, spec, Bun test, Playwright, or testing tasks.
License
MIT
Metadata
author: mandu · version: 1.0.0
Instructions
122 lines in SKILL.md · view on GitHub

Files (8)

  • SKILL.md
  • metadata.json
  • _sections.md · rules/
  • _template.md · rules/
  • test-component-island.md · rules/
  • test-e2e-playwright.md · rules/
  • test-mock-fetch.md · rules/
  • test-slot-unit.md · rules/

SKILL.md (first lines)

# Mandu Testing

Mandu 애플리케이션의 테스트 패턴 가이드. Bun test를 활용한 단위 테스트, slot 테스트, Island 컴포넌트 테스트, Playwright E2E 테스트를 다룹니다.

## Agent Workflow Contract

This skill is a Domain addendum. It must not replace `mandu-agent-workflow`.
Use it only after `mandu.agent.plan` selects testing or `mandu.agent.verify` asks for targeted test coverage.

Canonical workflow step: `verify -> repair`.

Preferred MCP tools:

| Step | Tools |
|------|-------|
| plan | `mandu.agent.plan` |
| verify | `mandu.agent.verify`, `mandu.run.tests`, `mandu.ate.generate`, `mandu.ate.run` |
| repair | `mandu.agent.repair`, `mandu.ate.heal` |

Allowed file edits:

- Co-located `*.test.ts` / `*.test.tsx` files
- `tests/e2e/**/*.spec.ts`
- Test fixtures and mocks scoped to the planned domain

Verification command:

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

Common failures:

- Running broad watch-mode tests as an agent default
- Adding tests that bypass the route/slot/contract path under change
- Applying ATE healing before reading the verify report

Repair path:

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

## When to Apply

Reference these guidelines when:
- Writing unit tests for slots
- Testing Island components
- Setting up E2E tests with Playwright
- Mocking external dependencies
- Testing authentication flows

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Slot Testing | HIGH | `test-slot-` |
| 2 | Component Testing | HIGH | `test-component-` |
| 3 | E2E Testing | MEDIUM | `test-e2e-` |
| 4 | Mocking | MEDIUM | `test-mock-` |

## Quick Reference

### 1. Slot Testing (HIGH)

- `test-slot-unit` - Unit test slot handlers
- `test-slot-guard` - Test guard authentication
- `test-slot-integration` - Integration test with database

### 2. Component Testing (HIGH)

- `test-component-island` - Test Island components
- `test-component-render` - Test rendering output
- `test-component-interaction` - Test user interactions

### 3. E2E Testing (MEDIUM)

- `test-e2e-playwright` - Playwright setup and patterns
- `test-e2e-auth` - Test authentication flows
- `test-e2e-navigation` - Test page navigation

### 4. Mocking (MEDIUM)

- `test-mock-fetch` - Mock fetch requests
- `test-mock-database` - Mock database operations

## Low-Level Test Commands

Use these only after `agent plan` or `agent verify` identifies the target:

```bash
mandu agent verify --changed --json --write
bun test src/slots/user.test.ts
bun test --coverage
```

## Test File Convention

```
spec/slots/
├── users.slot.ts
├── users.slot.test.ts    # Slot tests
app/
├── dashboard/
│   ├── client.tsx
│   └── client.test.tsx   # Component tests
tests/
└── e2e/
    └── auth.spec.ts      # E2E tests
```

## How to Use

Read individual rule files for detailed explanations:

```
rules/test-slot-unit.md
rules/test-component-island.md
rules/test-e2e-playwright.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-testing skill. Agent Mart. https://agentmart.dev/skills/konamgil-mandu-testing (last updated 2026-10-24)