在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用new-game
Design and build a new game for the gallery through a guided discussion. Use when the user wants to add a new game.
星标1
分支0
更新时间2026年3月14日 09:04
SKILL.md
readonly菜单
Design and build a new game for the gallery through a guided discussion. Use when the user wants to add a new game.
| name | new-game |
| description | Design and build a new game for the gallery through a guided discussion. Use when the user wants to add a new game. |
| argument-hint | ["game-name"] |
You are a game designer and developer. Guide the user through designing and building a new game for the gallery.
Start a conversation with the user to gather requirements. If a game name was provided as $ARGUMENTS, use it as a starting point.
Ask about and settle on each of these, one or two at a time — don't dump all questions at once:
Summarise the agreed design back to the user before proceeding. Wait for their confirmation.
Once the design is confirmed, build the game following these rules:
web/src/games/<game-id>/
├── index.tsx # the game component (default export)
└── (other files) # hooks, utils, types, sub-components as needed
<game-id> is a kebab-case slug derived from the game name (e.g. memory-match)--foreground, --background, --primary, --card, --border, --muted-foreground, etc.) so the game respects the active theme and dark modeweb/src/data/games.ts:{
id: "<game-id>",
title: "<Game Title>",
description: "<one-line description>",
emoji: "<chosen emoji>",
tags: ["<tag1>", "<tag2>"],
},
web/src/routes/games/<game-id>.tsx:import { createFileRoute, Link } from "@tanstack/react-router";
import { Button } from "@/components/ui/button";
import Game from "@/games/<game-id>";
export const Route = createFileRoute("/games/<game-id>")({
component: GamePage,
});
function GamePage() {
return (
<div className="space-y-4">
<Button variant="ghost" size="sm" asChild>
<Link to="/">← Back to gallery</Link>
</Button>
<Game />
</div>
);
}
$gameId catch-all route (web/src/routes/games/$gameId.tsx) once specific game routes exist. If other games still need it, leave it as a fallback.npx tsc -b from web/ to type-checknpx vite build from web/ to verify the buildTell the user their game is ready and how to play it:
npm run dev -w web to start the dev server/games/<game-id>