Token导航 LogoToken导航

Agent Skill · 前端设计

saleor-development(销售员发展)

saleor-development 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

saleor-development 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 6,896。

总安装 445周安装 18GitHub Stars 19下载 140核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:saleor-development(销售员发展)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/saleor-development
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill saleor-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill saleor-development

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

saleor-development 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

适用于销售员发展相关的代码与协作信息管理,可结合来源仓库和原始 README 进一步核验具体用法。通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。安装前建议核实是否会触发联网、命令执行或文件读写操作,避免影响系统安全。

当前暂无详细功能说明,建议参考原始 SKILL.md 获取完整能力描述和使用示例。

来源仓库内路径:skills/saleor-development

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill sal…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

saleor-development 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill saleor-develo…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

saleor-development 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

saleor-development 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

saleor-development 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

saleor-development 用的人多吗?

公开数据是累计安装 445 次,近一周安装 18 次,下载 140 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

saleor-development 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
saleor-development

销售员发展 · 本页

44519接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Saleor Development

Overview

Saleor is a headless, GraphQL-first e-commerce platform built on Django and Python. It exposes a fully typed GraphQL API for storefronts and third-party apps, a React-based dashboard for store management, and an extension system that lets you react to events via webhooks or inject UI into the dashboard. This skill covers querying the Saleor API, building Saleor Apps (plugins hosted outside Saleor), and customizing the dashboard with App Extensions.

When to Use This Skill

  • When building a custom storefront (Next.js, Remix, mobile) against a Saleor backend
  • When creating a Saleor App that reacts to order or product lifecycle webhooks
  • When injecting custom UI panels into the Saleor Dashboard via App Extensions
  • When exploring or extending the Saleor product catalog, checkout, or customer APIs
  • When setting up a local Saleor development environment with Docker

Prerequisites & Platform Notes

This skill is written for custom/headless storefronts (Node.js, Python, or similar backend). The code examples use TypeScript/Node.js and can be adapted to any stack.

Shopify: Shopify Hydrogen is Shopify's headless framework. MACH/composable patterns apply when using Shopify as the commerce backend with a custom frontend, or when mixing Shopify with other best-of-breed services. WooCommerce: WooCommerce can serve as a headless backend via its REST API and WPGraphQL. These patterns apply when decoupling the frontend from WordPress. Magento: Magento's GraphQL API and PWA Studio support headless architectures. These composable patterns apply to Magento as a backend service in a MACH stack.

You'll need:

  • Node.js 18+ (or adapt to your backend language)
  • PostgreSQL (or your preferred relational database)
  • Redis for caching/queues
  • Stripe account and API keys
  • An email sending service (SendGrid, AWS SES, or Postmark)
  • Docker and/or Kubernetes for container orchestration
  • CDN (Cloudflare, CloudFront, or Fastly)

Core Instructions

  1. Run Saleor locally with Docker Compose git clone https://github.com/saleor/saleor-platform.git cd saleor-platform docker compose up --detach # API: http://localhost:8000/graphql/ # Dashboard: http://localhost:9000 Create the first superuser and populate demo data: docker compose run --rm api python manage.py createsuperuser docker compose run --rm api python manage.py populatedb --createsuperuser
  2. Query the Storefront GraphQL API Use the Saleor CLI or any GraphQL client (Apollo, urql, graphql-request). Install the CLI for code generation: npm install -g @saleor/cli saleor configure Example — fetch the first 12 products from the default channel: query ProductList($channel: String!) {products(first: 12, channel: $channel) {edges {node {id name slug thumbnail {url alt} pricing {priceRange {start {gross {amount currency}}}}}} pageInfo {hasNextPage endCursor}}} import {createClient} from 'urql'; const client = createClient({url: process.env.NEXT_PUBLIC_SALEOR_API_URL, fetchOptions: () => ({headers: {'Content-Type': 'application/json'},}),}); const {data} = await client.query(PRODUCT_LIST_QUERY, {channel: 'default-channel'}).toPromise();
  3. Authenticate a customer and start checkout mutation CustomerLogin($email: String!, $password: String!) {tokenCreate(email: $email, password: $password) {token refreshToken errors {field message} user {id email}}} Create a checkout and add lines: mutation CheckoutCreate($channel: String!, $lines: [CheckoutLineInput!]!) {checkoutCreate(input: {channel: $channel, lines: $lines}) {checkout {id token totalPrice {gross {amount currency}}} errors {field message}}} Complete checkout with a payment gateway token (e.g., from Stripe Elements): mutation CheckoutComplete($checkoutId: ID!, $paymentData: JSONString) {checkoutComplete(id: $checkoutId, paymentData: $paymentData) {order {id number status} errors {field message code}}}
  4. Bootstrap a Saleor App A Saleor App is a Node.js service that registers itself with Saleor, receives webhooks, and optionally renders UI in the dashboard via iframes. npx @saleor/app-sdk@latest create my-saleor-app cd my-saleor-app npm install npm run dev # Expose with: npx ngrok http 3000 Register the app in the dashboard under Apps → Install custom app, entering your ngrok URL. Saleor calls your /api/manifest endpoint: ` // pages/api/manifest.ts import {createManifestHandler} from "@saleor/app-sdk/handlers/next"; import {AppManifest} from "@saleor/app-sdk/types"; const manifest: AppManifest = {id: "my-saleor-app", name: "My Saleor App", version: "1.0.0", about: "Example app", permissions: ["MANAGE_ORDERS"], appUrl: process.env.APP_URL!, tokenTargetUrl: ${process.env.APP_URL}/api/register, webhooks: [{name: "Order Created", asyncEvents: ["ORDER_CREATED"], query: subscription {event {... on OrderCreated {order {id number}}}}, targetUrl: ${process.env.APP_URL}/api/webhooks/order-created, isActive: true,},],}; export default createManifestHandler({manifestFactory: () => manifest}); `
  5. Handle Saleor webhooks securely Saleor signs every webhook with an HMAC-SHA256 signature using your app's secret token. ` // pages/api/webhooks/order-created.ts import {SaleorAsyncWebhook} from "@saleor/app-sdk/handlers/next"; import {OrderCreatedDocument} from "@/generated/graphql"; const orderCreatedWebhook = new SaleorAsyncWebhook<OrderCreatedPayload>({name: "Order Created", webhookPath: "api/webhooks/order-created", asyncEvent: "ORDER_CREATED", apl: saleorApp.apl, query: OrderCreatedDocument,}); export default orderCreatedWebhook.createHandler((req, res, ctx) => {const {order} = ctx.payload; console.log(New order #${order.number} received); // Trigger fulfillment, email, ERP sync, etc. return res.status(200).end();}); export const config = {api: {bodyParser: false}}; // required for signature check `
  6. Add a Dashboard Extension (custom UI panel) Extensions render an iframe inside the Saleor Dashboard. Declare them in the manifest: ` extensions: [{label: "Sync to ERP", mount: "PRODUCT_DETAILS_MORE_ACTIONS", target: "POPUP", permissions: ["MANAGE_PRODUCTS"], url: ${process.env.APP_URL}/extension/product-sync,},], The extension page uses @saleor/app-sdk to communicate with the dashboard host: import {actions, useAppBridge} from "@saleor/app-sdk/app-bridge"; export default function ProductSyncExtension() {const {appBridge} = useAppBridge(); const handleSync = async () => {appBridge?.dispatch(actions.Notification({status: "success", title: "Sync started", text: "Product is being synced to ERP.",}));}; return <button onClick={handleSync}>Sync to ERP</button>;}`

Examples

Paginated product catalog with TypeScript and graphql-request

import { GraphQLClient, gql } from 'graphql-request';

const client = new GraphQLClient(process.env.SALEOR_API_URL!, {
  headers: { Authorization: `Bearer ${process.env.SALEOR_APP_TOKEN}` },
});

const PRODUCTS_QUERY = gql`
  query Products($first: Int!, $after: String, $channel: String!) {
    products(first: $first, after: $after, channel: $channel) {
      edges { node { id name slug description } }
      pageInfo { hasNextPage endCursor }
    }
  }
`;

async function fetchAllProducts(channel: string) {
  const products = [];
  let after: string | null = null;

  do {
    const data = await client.request(PRODUCTS_QUERY, { first: 100, after, channel });
    products.push(...data.products.edges.map((e: any) => e.node));
    after = data.products.pageInfo.hasNextPage ? data.products.pageInfo.endCursor : null;
  } while (after);

  return products;
}

Order status update via Admin API

mutation FulfillOrder($orderId: ID!, $input: OrderFulfillInput!) {
  orderFulfill(orderId: $orderId, input: $input) {
    fulfillments {
      id
      status
      trackingNumber
    }
    errors { field message code }
  }
}
await client.request(FULFILL_ORDER_MUTATION, {
  orderId: "T3JkZXI6MTIz",
  input: {
    lines: [{ orderLineId: "T3JkZXJMaW5lOjQ1", stocks: [{ warehouse: "V2FyZWhvdXNlOjE=", quantity: 1 }] }],
    notifyCustomer: true,
    allowStockToBeExceeded: false,
  },
});

Best Practices

  • Use channels for multi-region or B2B/B2C separation — every product listing, pricing, and checkout is channel-scoped; create separate channels per locale/currency rather than duplicating products
  • Generate TypeScript types from the schema — run saleor app generate-types or use graphql-codegen so queries are fully typed
  • Store app tokens in Saleor's APL (Auth Persistence Layer) — the default file-based APL is fine for development; use Redis or Upstash APL in production
  • Always verify webhook signatures — use the SaleorAsyncWebhook wrapper which handles HMAC verification automatically; never process unauthenticated payloads
  • Use subscription-based webhook queries — Saleor webhooks use GraphQL subscriptions as the payload definition, giving you control over exactly which fields are included
  • Cache product catalog responses at the CDN layer — product data rarely changes; set Cache-Control: s-maxage=300 on catalog API routes
  • Use Saleor Cloud for production — self-hosting Django + Celery + Redis + PostgreSQL requires operational maturity; Saleor Cloud handles this

Common Pitfalls

ProblemSolution
GraphQL errors for unauthorized operationsEnsure the app has been granted the correct permissions in the manifest AND in the dashboard under App settings
Webhook payload is empty / fields missingThe webhook payload is defined by a GraphQL subscription query in the manifest — add the fields you need to the query property
tokenCreate returns null on storefrontThe channel must have the storefront API enabled and an assigned country; check channel configuration in the dashboard
App works locally but not after deploymentThe APP_URL env var must match the publicly accessible URL Saleor can reach; update the app URL in the dashboard after deployment
Dashboard extension iframe is blankThe extension URL must be served over HTTPS and must include Access-Control-Allow-Origin headers for the dashboard origin

Related Skills

  • @shopify-hydrogen
  • @composable-commerce
  • @webhook-architecture
  • @jamstack-storefront
  • @commerce-api-gateway

平台分布

Codex

38.98%
按下载量换算55

Claude

28.84%
按下载量换算40

Cursor

17.27%
按下载量换算24

Gemini CLI

9.2%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills