Skills Plugins MCP Prompt Model 博客 我的中心
生活与工具 #data #cloud

sapcc-skill

SAP Commerce Cloud skill for querying, administrating and operating a SAP CC (Hybris / CCv2) instance. Use this skill when the user asks to query, inspect, modify or administrate SAP Commerce Cloud – e.g. find products, orders, customers, run ImpEx, check cronjobs, execute business logic, or retrieve platform data. Automatically selects Groovy or FlexSearch based on request complexity.

DeepseekModel 官方收录技能 质量 良好 · 48 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=eljoujat-sapcc-skill-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name sapcc-skill description SAP Commerce Cloud skill for querying, administrating and operating a SAP CC (Hybris / CCv2) instance. Use this skill when the user asks to query, inspect, modify or administrate SAP Commerce Cloud – e.g. find products, orders, customers, run ImpEx, check cronjobs, execute business logic, or retrieve platform data. Automatically selects Groovy or FlexSearch based on request complexity. license MIT compatibility Requires Node.js >= 18. SAP CC credentials must be set in .env (HAC_URL, HAC_USERNAME, HAC_PASSWORD). Dependencies are installed automatically on first use — no manual npm install needed. metadata {"author":"eljoujat","version":"2.0.0","homepage":"https://github.com/eljoujat/sapcc-skill","tags":["sapcommerce","hybris","groovy","flexiblesearch","ccv2","sap"]} SAP Commerce Cloud Skill Interact with a SAP Commerce Cloud (Hybris/CCv2) instance using sapcc-hac-client — currently supporting Groovy scripts and FlexibleSearch queries. Designed to be extended with additional SAP CC capabilities over time. The skill automatically decides whether to use: FlexibleSearch – for data queries (SELECT/WHERE on SAP CC types) Groovy script – for complex logic, service calls, multi-step operations, or writes Works with Claude Code, Cursor, Copilot, Codex, Pi and any agent compatible with the Agent Skills format. Setup Dependencies are installed automatically the first time execute.js runs — no manual npm install needed. Create a .env file in your project root (or in the skill directory as fallback): cp <skill-dir>/.env.example . env # Then fill in your values Required .env variables: HAC_URL=https://backoffice.<your-instance>.commerce.ondemand.com HAC_USERNAME=admin HAC_PASSWORD=your_password HAC_IGNORE_SSL=false # set true for self-signed certs HAC_TIMEOUT=30000 Verify setup: node <skill-dir>/scripts/execute.js --health-check Decision Guide: FlexSearch vs Groovy Read references/decision-guide.md for the full matrix. Quick rule: Use FlexSearch when… Use Groovy when… Pure data retrieval (SELECT) Business service calls (ProductService, OrderService…) Simple WHERE conditions Multi-step / conditional logic Counting / listing items Writes, creates, updates, deletes Joining SAP CC types Running ImpEx programmatically Checking attribute values Triggering cronjobs / business processes Fast exploration Complex calculations or transformations Workflow Step 1 – Assess the request Classify the user's intent into one of: flexsearch – data query, no side effects, can be expressed as a SELECT statement groovy – business logic, writes, service access, multi-type joins with business rules If in doubt, prefer FlexSearch first; escalate to Groovy if the query returns insufficient data or requires logic. Step 2 – Compose the script or query For FlexSearch: write a valid FlexibleSearch query. Always qualify attributes: {product:pk} , {p:code} , etc. Use JOIN syntax for related types Apply WHERE clauses with proper escaping Read references/flexsearch-guide.md for syntax and common patterns For Groovy: write a Groovy script. Use Spring beans via the spring variable: spring.getBean('productService') Use catalogVersionService , userService , orderService , etc. Return a value or use println for output Set --commit only when writing data Read references/groovy-patterns.md for patterns and Spring bean names Step 3 – Execute # FlexibleSearch node <skill-dir>/scripts/execute.js \ -- type flexsearch \ --query "SELECT {pk},{code},{name[en]} FROM {Product} WHERE {code} LIKE '%LAPTOP%' ORDER BY {code} ASC" \ --max-count 50 # Groovy (read-only) node <skill-dir>/scripts/execute.js \ -- type groovy \ --script " def ps = spring.getBean('productService') def cv = spring.getBean('catalogVersionService').getCatalogVersion('electronicsProductCatalog','Online') def p = ps.getProductForCode(cv, 'LAPTOP_001') return p?.name " # Groovy (write – commit=true) node <skill-dir>/scripts/execute.js \ -- type groovy \ --commit \ --script " def product = new de.hybris.platform.core.model.product.ProductModel() product.code = 'TEST_001' modelService.save(product) return 'saved' " # From a .groovy file node <skill-dir>/scripts/execute.js -- type groovy --file /tmp/my-script.groovy # JSON output (for programmatic use) node <skill-dir>/scripts/execute.js -- type flexsearch --query "..." --json Step 4 – Interpret and present results FlexSearch result (JSON): { "success" : true , "resultCount" : 42 , "executionTime" : 123 , "headers" : [ "pk" , "code" , "name[en]" ] , "rows" : [ [ "8796093055058" , "LAPTOP_001" , "Laptop Pro" ] ] } Groovy result (JSON): { "success" : true , "executionResult" : "Laptop Pro" , "outputText" : "" , "stacktrace" : "" } Present tabular data as a Markdown table when headers and rows are available Highlight success: false with the error or stacktrace message When resultCount is 0, suggest query refinements Step 5 – Error handling Error Action Missing required environment variables Ask user to fill .env (HAC_URL, HAC_USERNAME, HAC_PASSWORD) Authentification échouée Check credentials; try --health-check HTTP 403 Check user permissions in HAC FlexSearch syntax error Fix query; check type names and attribute aliases Groovy MissingMethodException Check Spring bean name in references/groovy-patterns.md ECONNREFUSED / ETIMEDOUT Check HAC_URL reachability; try HAC_IGNORE_SSL=true for dev Reference Files Load these on-demand when needed: File When to load references/decision-guide.md Complex cases where you're unsure of FlexSearch vs Groovy references/flexsearch-guide.md Composing FlexibleSearch queries (syntax, types, joins, caveats) references/groovy-patterns.md Common Groovy patterns, Spring bean names, service examples references/sap-cc-types.md Common SAP CC type names, attributes and catalog structure
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。