skills/route-management/SKILL.md
# Route Management Skill This skill teaches the agent how to configure route mappings for the workspace content server. ## Overview The workspace content server serves files and surfaces from the current workspace. By default, it serves: - `/images/` -> `public/generated-images/` - `/` -> `public/` (if exists) - `/surface/:id` -> Surface HTML Preview You can customize this behavior by creating a `.route-map.json` file in the workspace root. ## Route Map Configuration The `.route-map.json`
npx skillsauth add sschepis/oboto skills/route-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill teaches the agent how to configure route mappings for the workspace content server.
The workspace content server serves files and surfaces from the current workspace. By default, it serves:
/images/ -> public/generated-images// -> public/ (if exists)/surface/:id -> Surface HTML PreviewYou can customize this behavior by creating a .route-map.json file in the workspace root.
The .route-map.json file is a JSON object where keys are external routes and values are internal targets.
.route-map.json exists, DEFAULT ROUTES ARE DISABLED. Only mapped routes will work./* at the end of both key and value to map a directory.surface:<id> as the target to serve a UI Surface.{
"/assets/*": "public/assets/*",
"/gallery/*": "public/generated-images/*",
"/dashboard": "surface:dashboard-main",
"/about": "public/about.html"
}
To configure routes, simply create or update the .route-map.json file using the write_file tool.
Example Task: "Map the generated images to /photos and the dashboard surface to /app"
Action:
{
"path": ".route-map.json",
"content": "{\n \"/photos/*\": \"public/generated-images/*\",\n \"/app\": \"surface:dashboard\"\n}"
}
public/generated-images/* to some route if you expect image generation to work properly. The system will automatically detect the mapped route for new images.development
Design intelligence skill providing UI styles, color palettes, font pairings, chart types, and UX guidelines for building professional interfaces. Based on the open-source UI UX Pro Max project (github.com/nextlevelbuilder/ui-ux-pro-max-skill).
development
Talkdown — An AI-based execution language. Markdown documents are programs, LLMs are the runtime. Supports document chaining, hybrid AI/code execution, pluggable LLM providers, and Next.js-style route deployment.
development
Expert knowledge for creating, analyzing, and optimizing Dwitter (dwitter.net) visual JavaScript demos in 140 characters
data-ai
A Wolfram Alpha-like skill for solving mathematical problems, converting units, and retrieving factual data.