Skip to content
Agentmart
Submit a tool

mandu-fs-routes

File-system based routing for Mandu.

Skill by mandu

IndexedMIT★ 47
Write a review

Chalk Labs

Need help deploying mandu-fs-routes?

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.

Book a call

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-fs-routes

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

File-system based routing for Mandu. Use when creating pages, API routes, layouts, or dynamic routes. Triggers on tasks involving app/ folder, page.tsx, route.ts, layout.tsx, [id], [...slug], or URL patterns.

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

  • codeload.github.com · found in install command
  • fresh.deno.dev · found in code
  • kit.svelte.dev · found in code
  • nextjs.org · found in code

Files it touches

  • ~/.claude/skills/mandu-fs-routes

What's inside

Skill name
mandu-fs-routes
Description
File-system based routing for Mandu. Use when creating pages, API routes, layouts, or dynamic routes. Triggers on tasks involving app/ folder, page.tsx, route.ts, layout.tsx, [id], [...slug], or URL patterns.
License
MIT
Metadata
author: mandu · version: 1.0.0
Instructions
112 lines in SKILL.md · view on GitHub

Files (7)

  • SKILL.md
  • metadata.json
  • _sections.md · rules/
  • _template.md · rules/
  • routes-api-methods.md · rules/
  • routes-dynamic-param.md · rules/
  • routes-naming-page.md · rules/

SKILL.md (first lines)

# Mandu FS Routes

FS Routes는 파일 시스템 기반 라우팅입니다. `app/` 폴더의 파일 구조가 URL이 됩니다.

## 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 route or API domain.

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

Preferred MCP tools:

| Step | Tools |
|------|-------|
| plan | `mandu.agent.plan`, `mandu.route.list` |
| apply | `mandu.agent.apply`, `mandu.generate`, `mandu.route.add` |
| verify | `mandu.agent.verify`, `mandu.manifest.validate` |
| repair | `mandu.agent.repair` |

Allowed file edits:

- `app/**/page.tsx`, `app/**/layout.tsx`, `app/**/route.ts`
- Route-local metadata files and co-located helpers
- Related contract/slot files only when the plan includes those domains

Verification command:

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

Common failures:

- Creating a page or API route before reading the local `app/` pattern
- Editing generated route manifests by hand
- Adding API files without contract verification when the plan includes API work

Repair path:

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

## When to Apply

Reference these guidelines when:
- Creating new pages or API endpoints
- Setting up dynamic routes with parameters
- Implementing shared layouts
- Organizing route groups
- Working with catch-all routes

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | File Naming | CRITICAL | `routes-naming-` |
| 2 | Page Routes | HIGH | `routes-page-` |
| 3 | API Routes | HIGH | `routes-api-` |
| 4 | Dynamic Routes | MEDIUM | `routes-dynamic-` |
| 5 | Layouts | MEDIUM | `routes-layout-` |

## Quick Reference

### 1. File Naming (CRITICAL)

- `routes-naming-page` - Use page.tsx for page components
- `routes-naming-route` - Use route.ts for API handlers
- `routes-naming-layout` - Use layout.tsx for shared layouts

### 2. Page Routes (HIGH)

- `routes-page-component` - Export default function component
- `routes-page-metadata` - Export metadata object for SEO

### 3. API Routes (HIGH)

- `routes-api-methods` - Export GET, POST, PUT, DELETE functions
- `routes-api-request` - Access Request object as first parameter

### 4. Dynamic Routes (MEDIUM)

- `routes-dynamic-param` - Use [id] for single parameter
- `routes-dynamic-catchall` - Use [...slug] for catch-all
- `routes-dynamic-optional` - Use [[...slug]] for optional catch-all

### 5. Layouts (MEDIUM)

- `routes-layout-wrapper` - Layouts wrap all child pages
- `routes-layout-nesting` - Layouts can be nested

## URL Mapping

| File Path | URL |
|-----------|-----|
| `app/page.tsx` | `/` |
| `app/about/page.tsx` | `/about` |
| `app/users/[id]/page.tsx` | `/users/:id` |
| `app/api/users/route.ts` | `/api/users` |
| `app/(auth)/login/page.tsx` | `/login` |

## How to Use

Read individual rule files for detailed explanations:

```
rules/routes-naming-page.md
rules/routes-dynamic-param.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

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-fs-routes 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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying mandu-fs-routes?

CallGet help
Cite this page

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