用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jackeydou/Pichu --skill sites-building命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | sites-building |
| description | Build or modify web sites, web apps, landing pages, reports, and dashboards. |
Use this skill when the user asks to create or modify a website, web app, landing page, report page, or dashboard.
Build or modify the requested site locally. For new sites, use templates/site-app-template unless the user is modifying an existing project, explicitly asks for a standalone static artifact, or names a different stack.
index.html, CSS, and optional client JS only for explicit single-file requests, existing static edits, fixed snapshots, or throwaway shareable output.Never read, print, copy, commit, or embed local auth files or raw credential material while building or debugging a site. This includes token files, user session files, CLI auth config, .netrc, .npmrc, .ssh/**, cookies, access tokens, refresh tokens, API keys, and authorization headers.
If auth fails, use the SDK, route helper, CLI status/doctor command, or ask the user to re-authenticate; do not inspect token file contents directly.
When creating a new site:
templates/site-app-template before making structural changes.templates/site-app-template; copy it first and run commands only in the
target project.When modifying an existing site, preserve its current structure unless the user explicitly asks for a larger rework.
Do not let the starter define the final product; use it as structure.
package.json and prefer libraries already available in the starter or existing app.For shadcn/ui projects, use the bundled shadcn skill workflow before adding or composing standard UI controls.
Select for short option sets and single-select filters, DropdownMenu for command menus and overflow actions, Tooltip for hover/focus help, Combobox for searchable or multi-select filters, and shadcn date/time components for calendar or schedule inputs.<select>, NativeSelect, input[type="date"], input[type="time"], or custom dropdown/listbox/multiselect/date-picker controls for app UI unless the user explicitly requests no-JS/native fallback behavior.Check installed components and use the shadcn CLI before composing unfamiliar or missing standard controls:
npx shadcn@latest info --json
npx shadcn@latest search @shadcn -q "<component or pattern>"
npx shadcn@latest docs <component>
npx shadcn@latest add <component>
After adding a component, read the generated files and use the exported API instead of guessing prop names.
The template uses Next.js, Tailwind CSS, TypeScript, SWR, Recharts, lucide-react, and shadcn Base UI Rhea components/ui primitives.
The template source must stay free of runtime artifacts such as .next,
.next-dev, .pichu, node_modules, out, dist, generated logs,
next-env.d.ts, and local env files. If any of these appear in the template source, remove them
before copying the template.
cp -R "$SKILL_DIR/templates/site-app-template" <target-dir>
cd <target-dir>
pnpm install
pnpm run dev
Use the template's package scripts for dev, build, and start behavior instead of invoking Next.js directly. During iterative app creation, use pnpm run dev as the preview server so source edits apply through the running development server.
Before calling the site work complete:
pnpm run build./api/... routes when the change affects runtime behavior.