Skip to content
Agentmart
Submit a tool

mandu-slot

Mandu Slot API for writing business logic.

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-slot

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

Mandu Slot API for writing business logic. Use when creating API handlers, implementing authentication guards, adding lifecycle hooks, or working with request/response context. Triggers on tasks involving Mandu.filling(), ctx.ok(), ctx.error(), .guard(), .get(), .post(), or slot files.

Use cases: backend, 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 4

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

Files it touches

  • ~/.claude/skills/mandu-slot

What's inside

Skill name
mandu-slot
Description
Mandu Slot API for writing business logic. Use when creating API handlers, implementing authentication guards, adding lifecycle hooks, or working with request/response context. Triggers on tasks involving Mandu.filling(), ctx.ok(), ctx.error(), .guard(), .get(), .post(), or slot files.
License
MIT
Metadata
author: mandu · version: 1.0.0
Instructions
114 lines in SKILL.md · view on GitHub

Files (8)

  • SKILL.md
  • metadata.json
  • _sections.md · rules/
  • _template.md · rules/
  • slot-basic-structure.md · rules/
  • slot-ctx-response.md · rules/
  • slot-guard-auth.md · rules/
  • slot-http-methods.md · rules/

SKILL.md (first lines)

# Mandu Slot

Slot은 비즈니스 로직을 작성하는 파일입니다. `Mandu.filling()` API를 사용하여
API 핸들러, 인증 가드, 라이프사이클 훅을 구현합니다.

## Agent Workflow Contract

This skill is a Domain addendum. It must not replace `mandu-agent-workflow`.
Use it only after `mandu.agent.plan` selects the slot, API, or security domain.

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

Preferred MCP tools:

| Step | Tools |
|------|-------|
| plan | `mandu.agent.plan`, `mandu.slot.read`, `mandu.slot.constraints` |
| apply | `mandu.agent.apply`, `mandu.generate` |
| verify | `mandu.agent.verify`, `mandu.slot.validate`, `mandu.contract.validate` |
| repair | `mandu.agent.repair` |

Allowed file edits:

- `spec/slots/**/*.slot.ts`
- Route handlers that bind to the planned slot
- Contract files only when the plan includes contract work

Verification command:

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

Common failures:

- Creating slot logic without checking `mandu.slot.constraints`
- Mixing auth/security changes into slot edits without security verification
- Returning untyped responses that drift from the linked contract

Repair path:

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

## When to Apply

Reference these guidelines when:
- Creating new API endpoints with business logic
- Implementing authentication or authorization
- Adding request/response lifecycle hooks
- Working with request body, params, or query
- Handling errors and responses

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Basic Structure | CRITICAL | `slot-basic-` |
| 2 | HTTP Methods | HIGH | `slot-http-` |
| 3 | Context API | HIGH | `slot-ctx-` |
| 4 | Guard Pattern | MEDIUM | `slot-guard-` |
| 5 | Lifecycle Hooks | MEDIUM | `slot-lifecycle-` |

## Quick Reference

### 1. Basic Structure (CRITICAL)

- `slot-basic-structure` - Always use Mandu.filling() as default export
- `slot-basic-location` - Place slot files in spec/slots/ directory

### 2. HTTP Methods (HIGH)

- `slot-http-get` - Use .get() for read operations
- `slot-http-post` - Use .post() for create operations
- `slot-http-put-patch` - Use .put()/.patch() for updates
- `slot-http-delete` - Use .delete() for removal

### 3. Context API (HIGH)

- `slot-ctx-response` - Use ctx.ok(), ctx.created(), ctx.error() for responses
- `slot-ctx-body` - Use ctx.body<T>() for typed request body
- `slot-ctx-params` - Use ctx.params for route parameters
- `slot-ctx-state` - Use ctx.set()/ctx.get() for request state

### 4. Guard Pattern (MEDIUM)

- `slot-guard-auth` - Use .guard() for authentication checks
- `slot-guard-early-return` - Return response to block, void to continue

### 5. Lifecycle Hooks (MEDIUM)

- `slot-lifecycle-request` - Use .onRequest() for request initialization
- `slot-lifecycle-after` - Use .afterHandle() for response modification
- `slot-lifecycle-middleware` - Use .middleware() for Koa-style chains

## How to Use

Read individual rule files for detailed explanations:

```
rules/slot-basic-structure.md
rules/slot-ctx-response.md
rules/slot-guard-auth.md
```

## File Location

```
spec/slots/{name}.slot.ts    # Server logic
spec/slots/{name}.client.ts  # Client logic (Island)
```

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-slot skill. Agent Mart. https://agentmart.dev/skills/konamgil-mandu-slot (last updated 2026-10-24)