Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

sap-commerceSAP 商务

Agent Skill

sap-commerce 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

343

周安装

14

GitHub Stars

6

下载量

111
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/emenowicz/sap-commerce-skill --skill sap-commerce

简介

用于查找、检索和筛选 SAP Commerce 相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位资料。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • 可结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

SAP Commerce Development

Overview

SAP Commerce Cloud (formerly Hybris) is an enterprise e-commerce platform built on Java and Spring. This skill provides guidance for extension development, type system modeling, service layer implementation, data management, API customization, and accelerator patterns for both Cloud (CCv2) and On-Premise deployments.

Core Architecture

Type System

Data modeling via items.xml defines item types, attributes, relations, and enumerations. Types are compiled into Java classes during build. See type-system.md for syntax and patterns.

Extensions

Modular architecture where functionality lives in extensions. Each extension has extensioninfo.xml for metadata, items.xml for types, and *-spring.xml for beans. See extension-development.md.

Service Layer

Four-layer architecture: Facade (API for controllers) → Service (business logic) → DAO (data access) → Model (generated from types). See service-layer-architecture.md.

Data Management

ImpEx: Scripting language for data import/export. See impex-guide.md. FlexibleSearch: SQL-like query language for items. See flexiblesearch-reference.md.

OCC API

RESTful web services exposing commerce functionality. Controllers use DataMapper for DTO conversion. See occ-api-development.md.

Accelerators

Pre-built storefronts: B2C (retail) and B2B (enterprise with approval workflows). See accelerator-customization.md.

CronJobs & Task Engine

Scheduled and asynchronous job execution. Define AbstractJobPerformable implementations, configure via ServicelayerJob + CronJob + Trigger in ImpEx. See cronjob-task-engine.md.

Business Processes

Stateful workflows for order processing, returns, approvals, and custom flows. XML process definitions with action beans (AbstractSimpleDecisionAction, AbstractAction), wait states, and event triggers. See business-process.md.

Solr Search

Product search and faceted navigation powered by Apache Solr. Configure indexed types, properties, value providers, and boost rules. See solr-search-configuration.md.

Promotions & Rule Engine

Drools-based promotion rules with conditions and actions. Supports order/product/customer promotions, coupons, and custom actions. See promotions-rule-engine.md.

Caching

Multi-layered caching: platform region caches (entity, query, typesystem), Spring @Cacheable, and cluster-aware invalidation. See caching-guide.md.

Backoffice

Administration UI customization via cockpitng: widget configuration, custom editors, search/list views, wizards, and deep links. See backoffice-configuration.md.

Common Workflows

Create a Custom Extension

  1. Generate structure with ant extgen or use template from assets/extension-structure/
  2. Configure extensioninfo.xml with dependencies
  3. Define types in items.xml
  4. Configure beans in *-spring.xml
  5. Add to localextensions.xml
  6. Build: ant clean all

Reference: extension-development.md | Template: assets/extension-structure/

Define Custom Item Types

  1. Create or modify *-items.xml in extension
  2. Define itemtype with attributes, relations
  3. Build to generate model classes
  4. Use in services/DAOs

Reference: type-system.md | Templates: assets/item-type-definition/

Implement Service Layer

  1. Create DTO class for data transfer
  2. Create DAO interface and implementation with FlexibleSearch
  3. Create Service interface and implementation with business logic
  4. Create Facade interface and implementation for external API
  5. Configure beans in *-spring.xml

Reference: service-layer-architecture.md | Templates: assets/service-layer/

Import Data with ImpEx

  1. Create .impex file with header and data rows
  2. Use INSERT_UPDATE for create/modify operations
  3. Define macros for reusable values
  4. Import via HAC or ant importImpex

Reference: impex-guide.md | Templates: assets/impex-scripts/

Query with FlexibleSearch

SELECT {pk} FROM {Product} WHERE {code} = ?code
SELECT {p.pk} FROM {Product AS p JOIN Category AS c ON {p.supercategories} = {c.pk}} WHERE {c.code} = ?category

Reference: flexiblesearch-reference.md | Examples: assets/flexiblesearch-queries/

Customize OCC API

  1. Create controller with @Controller and @RequestMapping
  2. Create WsDTO for response data
  3. Create populator for model-to-DTO conversion
  4. Register in *-web-spring.xml

Reference: occ-api-development.md | Templates: assets/occ-customization/

Extend Accelerator Checkout

  1. Create custom checkout step implementing CheckoutStep
  2. Configure in checkout flow XML
  3. Create JSP for step UI
  4. Register beans in *-spring.xml

Reference: accelerator-customization.md | Templates: assets/checkout-customization/

Create a Scheduled Job (CronJob)

  1. Implement AbstractJobPerformable<CronJobModel> with perform() method
  2. Register Spring bean with parent="abstractJobPerformable"
  3. Create ServicelayerJob, CronJob, and Trigger via ImpEx
  4. Test via HAC > Platform > CronJobs

Reference: cronjob-task-engine.md | Templates: assets/cronjob/

Define a Business Process

  1. Create process definition XML in resources/processes/
  2. Implement action beans extending AbstractSimpleDecisionAction
  3. Register action beans in Spring with parent="abstractAction"
  4. Register process definition via ProcessDefinitionResource Spring bean
  5. Start process via BusinessProcessService.createProcess() and startProcess()

Reference: business-process.md | Templates: assets/business-process/

Configure Solr Product Search

  1. Set up SolrFacetSearchConfig with server, languages, currencies, catalog versions
  2. Define SolrIndexedType for Product
  3. Configure SolrIndexedProperty entries (searchable, facet, sortable)
  4. Set up indexer CronJobs (full nightly, incremental every 5 min)
  5. Test search via HAC > Platform > Solr

Reference: solr-search-configuration.md | Templates: assets/solr-configuration/

Set Up Promotions

  1. Create PromotionGroup for your store
  2. Define PromotionSourceRule with conditions and actions
  3. Configure coupons (SingleCodeCoupon / MultiCodeCoupon) if needed
  4. Publish rules to activate them
  5. Test in Backoffice > Marketing > Promotion Rules

Reference: promotions-rule-engine.md | Templates: assets/promotions/

Quick Reference

TaskReferenceAssetsScript
Extension setupextension-development.mdassets/extension-structure/scripts/generate-extension.sh
Type definitionstype-system.mdassets/item-type-definition/-
Service layerservice-layer-architecture.mdassets/service-layer/-
Data importimpex-guide.mdassets/impex-scripts/scripts/validate-impex.sh
Queriesflexiblesearch-reference.mdassets/flexiblesearch-queries/scripts/query-items.sh
API customizationocc-api-development.mdassets/occ-customization/-
Checkout/Storefrontaccelerator-customization.mdassets/checkout-customization/-
Spring configspring-configuration.md--
Data patternsdata-modeling-patterns.md--
Troubleshootingtroubleshooting-guide.md--
CronJobscronjob-task-engine.mdassets/cronjob/-
Business processesbusiness-process.mdassets/business-process/-
Solr searchsolr-search-configuration.mdassets/solr-configuration/-
Promotionspromotions-rule-engine.mdassets/promotions/-
Cachingcaching-guide.md--
Backofficebackoffice-configuration.md--

Resources

scripts/

Utility scripts for common tasks:

  • generate-extension.sh - Scaffold new extension structure
  • validate-impex.sh - Validate ImpEx syntax before import
  • query-items.sh - Execute FlexibleSearch queries via HAC

references/

Detailed guides for each topic area. Load as needed for in-depth information.

assets/

Production-quality code templates ready to copy and customize. Organized by domain (service-layer, impex-scripts, etc.).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.86%
按下载量换算41

Claude

33.02%
按下载量换算37

Cursor

17.8%
按下载量换算20

Gemini CLI

10.12%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills