
实现了书单系统,包含 Vite React 商店(React Router、TanStack 查询)和 Express + Prisma + SQLite API
概览
一个:简短的指令,AI助手在构建一个小指令(订单、管理、上传)加上一个(订单表单、收据查询、通过私有存储的门控下载、最小管理)。参考设计默认使用支付证明;你仍然可以要求代理在提示中添加(Stripe、webhooks等)。 完整规格在 。技能在这里遵循共享形状(SKILL.md YAML 前置);每个产品决定从中加载技能。 复制整个文件夹(保持 SKILL.md 在里面)。前言是书-订单-平台;是驱动自动匹配的关键——如果触发器感觉太宽或太窄,就调整它。 - 书籍-订单-平台目录(该 README 为可选)。- 通过编辑(路由、环境变量、存储选择)。编辑后保持并准确。 无需安装 npm——只需这些文件即可。
概述(AI 翻译)
这是什么
客服技能:AI助手在构建图书订单堆栈时阅读的简短指令**——一个小型API(订单、管理、上传)加上网络商店(订单表单、收据查询、通过签名URL从私有存储下载,极少管理)。参考设计默认使用人工检查付款证明;你仍然可以要求代理在提示中添加自动支付(Stripe、webhooks等)。
完整规格在 SKILL.md 中。这里的技能遵循共享的 Agent Skills 格式([SKILL.md),带有 YAML 前言);每个产品决定它们从哪里加载。
如何使用这项技能(按产品)
复制整个**book-order-platform文件夹(保持SKILL.md]在里面)。前置信息name是book-order-platform];description**是驱动自动匹配的关键——如果触发器感觉太宽或太窄,可以调整它。
光标
| 放置位置 | 项目: .cursor/skills/book-order-platform/(推荐——提交仓库)。用户(所有项目): ~/.cursor/skills/book-order-platform/。光标还记录了.agents/skills/,用于部分设置——详见其页面。 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Book order platform (skill)
What this is
An agent skill: short instructions an AI assistant reads when building a book order stack—a small API (orders, admin, uploads) plus a web storefront (order form, receipt lookup, gated downloads via signed URLs from private storage, minimal admin). The reference design uses human-checked payment proof by default; you can still ask the agent to add automated payments (Stripe, webhooks, etc.) in your prompt.
The full spec is in SKILL.md. Skills here follow the shared Agent Skills shape (SKILL.md with YAML frontmatter); each product decides where it loads them from.
How to use this skill (by product)
Copy the whole book-order-platform folder (keep SKILL.md inside it). The frontmatter name is book-order-platform; the description is what drives automatic matching—tune it if triggers feel too broad or too narrow.
Cursor
| Where to put it | Project: .cursor/skills/book-order-platform/ (recommended—commit with the repo). User (all projects): ~/.cursor/skills/book-order-platform/. Cursor also documents .agents/skills/ for some setups—see their page. |
| How it runs | The agent can apply the skill when your request matches its description. You can also steer explicitly, e.g. “Implement the book-order-platform skill” or attach SKILL.md in chat if your UI supports file/skill context. |
| Docs | Agent Skills (Cursor) |
Claude Code
| Where to put it | Project: .claude/skills/book-order-platform/. Personal (all projects): ~/.claude/skills/book-order-platform/. Nested packages/.../.claude/skills/ is supported in monorepos. |
| How it runs | Explicit: slash command from the skill name → /book-order-platform (optional path or hint after it). Implicit: ask in natural language; Claude loads the skill when the description fits. Edits to SKILL.md are picked up without restart in normal cases; creating a new top-level skills directory may need a restart. |
| Docs | Extend Claude with skills |
Codex (CLI, IDE extension, app)
| Where to put it | Codex discovers skills under .agents/skills/ (from your current working directory up to the git repo root, plus ~/.agents/skills/ for user-wide). Copy this folder to e.g. /.agents/skills/book-order-platform/ (not only .cursor/skills/, unless your team symlink or duplicate). |
| How it runs | Explicit: use /skills or $ (skill mention) in the UI/CLI and choose the skill. Implicit: Codex may activate it when the task matches the description. If a new skills folder does not show up, restart Codex. |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add eimg/book-order-platform-skill