Chalk Labs
Need help deploying mandu-create-api?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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-create-api
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.
About
Use cases: backend
Reviews
Write a reviewNo 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 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mandu-create-api
What's inside
- Skill name
mandu-create-api- Description
- REST API 생성. CRUD/인증/업로드 엔드포인트. 'API', 'endpoint', 'CRUD' 시 자동 호출
- License
- MPL-2.0
- Instructions
- 147 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Mandu Create API
REST API 엔드포인트를 생성하는 워크플로우.
Route + Contract + Slot + Test 파이프라인으로 완전한 API를 스캐폴딩합니다.
## Workflow: Route -> Contract -> Slot -> Test
### Step 1: Route 생성
```typescript
// app/api/posts/route.ts
import { Mandu } from "@mandujs/core";
export default Mandu.filling()
.get((ctx) => ctx.ok({ posts: [] }))
.post(async (ctx) => {
const body = await ctx.body<CreatePostInput>();
return ctx.created({ post: body });
});
```
### Step 2: Contract 정의
```typescript
// src/shared/contracts/post.contract.ts
import { z } from "zod";
export const CreatePostInput = z.object({
title: z.string().min(1).max(200),
content: z.string().min(1),
tags: z.array(z.string()).optional(),
});
export const PostResponse = z.object({
id: z.string(),
title: z.string(),
content: z.string(),
createdAt: z.string().datetime(),
});
export type CreatePostInput = z.infer<typeof CreatePostInput>;
export type PostResponse = z.infer<typeof PostResponse>;
```
### Step 3: Slot (서버 데이터 로더)
```typescript
// spec/slots/posts.slot.ts
import { Mandu } from "@mandujs/core";
import { CreatePostInput } from "@/shared/contracts/post.contract";
export default Mandu.filling()
.guard(async (ctx) => {
const token = ctx.headers.get("authorization");
if (!token) return ctx.error(401, "Unauthorized");
ctx.set("userId", await verifyToken(token));
})
.post(async (ctx) => {
const body = await ctx.body<CreatePostInput>();
const validated = CreatePostInput.parse(body);
const post = await db.posts.create({ ...validated, userId: ctx.get("userId") });
return ctx.created({ post });
});
```
### Step 4: Test 작성
```typescript
// tests/api/posts.test.ts
import { describe, test, expect } from "bun:test";
describe("POST /api/posts", () => {
test("creates a post with valid input", async () => {
const res = await fetch("http://localhost:3333/api/posts", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer test-token",
},
body: JSON.stringify({ title: "Test", content: "Hello" }),
});
expect(res.status).toBe(201);
const data = await res.json();
expect(data.post.title).toBe("Test");
});
test("returns 401 without auth", async () => {
const res = await fetch("http://localhost:3333/api/posts", {
method: "POST",
body: JSON.stringify({ title: "Test", content: "Hello" }),
});
expect(res.status).toBe(401);
});
});
```
## CRUD Pattern
```
app/api/{resource}/route.ts GET (list), POST (create)
app/api/{resource}/[id]/route.ts GET (read), PATCH (update), DELETE (remove)
src/shared/contracts/{resource}.contract.ts
spec/slots/{resource}.slot.ts
tests/api/{resource}.test.ts
```
## MCP Tools
| Tool | Purpose |
|------|---------|
| `mandu_add_route` | Create route file at correct path |
| `mandu_create_contract` | Generate Zod contract schema |
| `mandu_negotiate` | Analyze API requirements |
| `mandu_generate` | Full scaffold generation |
## Auth Patterns
```typescript
// Bearer token guardFrom konamgil/mandu, MPL-2.0.
More from konamgil/mandu
- 0.618score
mandu-composition
mandu
React composition patterns for Mandu applications.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-performance
mandu
Performance optimization patterns for Mandu applications.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-slot
mandu
Mandu Slot API for writing business logic.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-testing
mandu
Testing patterns for Mandu applications.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-guard
mandu
Architecture guard system for Mandu.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-hydration
mandu
Island Hydration pattern for Mandu.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-security
mandu
Security best practices for Mandu applications.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
mandu-fs-routes
mandu
File-system based routing for Mandu.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-mcp-create-flow
konamgil
스펙 우선 생성 워크플로우.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-mcp-verify
konamgil
편집 후 검증 루프.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-mcp-deploy
konamgil
빌드/배포 파이프라인 워크플로우.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-agent-workflow
mandu
Canonical Mandu agent workflow.
SkillBFreshness: B★ 47Claude Code +9
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
- License
- MPL-2.0
- Repository
- github.com/konamgil/mandu
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from konamgil
- 0.615score
mandu-mcp-verify
konamgil
편집 후 검증 루프.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-mcp-safe-change
konamgil
위험 변경 트랜잭션 래퍼.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-mcp-create-flow
konamgil
스펙 우선 생성 워크플로우.
SkillBFreshness: B★ 47Claude Code +9 - 0.615score
mandu-mcp-deploy
konamgil
빌드/배포 파이프라인 워크플로우.
SkillBFreshness: B★ 47Claude Code +9 - 0.612score
mandu-mcp-index
konamgil
MCP 도구 오케스트레이션 라우터 (always-on).
SkillBFreshness: B★ 47Claude Code +9 - 0.612score
mandu-hydration
konamgil
Island import 규칙.
SkillBFreshness: B★ 47Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get mandu-create-api running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
mandu-create-api skill. Agent Mart. https://agentmart.dev/skills/konamgil-mandu-create-api (last updated 2026-10-24)