一键导入
mapache-api-hosting
Host an app or API behind the Mapache preview gateway.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Host an app or API behind the Mapache preview gateway.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
QA a Mapache preview with the runner-owned browser QA command, status checks, console logs, screenshots, and structured reports.
Work from or create GitHub issues with repository context, labels, clarification, and implementation flow.
Build static web output where the Mapache preview canvas can serve it.
Run or compose Mapache browser QA tests from checked-in e2e/qa case manifests using Chrome DevTools. Use when the user explicitly asks for QA testing, smoke testing, browser testing, end-to-end testing, or a named QA case, and when issue-workflow changes frontend behavior and requires QA before PR completion.
Use when the user provides a GitHub issue number and wants Codex to complete the whole implementation workflow: update local main from remote, read the issue and comments, create an issue-named branch, implement and test the change, compose and run QA for frontend changes, commit, push, open a pull request, return to main, and comment or label the issue when blocked or waiting on user action.
Route agents through the Mapache developer wiki before non-trivial implementation work.
| name | mapache-api-hosting |
| description | Host an app or API behind the Mapache preview gateway. |
Use this skill when a preview needs a running server, API routes, server-rendered app, or function emulator instead of only static files.
The runner can proxy /preview/* to a local HTTP server when the workspace contains /workspace/.mapache/preview.json:
{
"mode": "proxy",
"upstream": "http://127.0.0.1:3000"
}
Only localhost upstreams are accepted. Use 127.0.0.1 or localhost.
Vite dev server:
npm run dev -- --host 127.0.0.1 --port 3000
Express or Node API:
HOST=127.0.0.1 PORT=3000 npm start
Function framework:
npx functions-framework --target=app --host=127.0.0.1 --port=3000
Remove /workspace/.mapache/preview.json or write:
{
"mode": "static",
"staticRoot": "build"
}