Token导航 LogoToken导航TokenDH.com
开发规范需要联网github未标认证来源可访问clear审计通过

intershop-icm-best-practices店间 ICM 最佳实践

Agent Skill

intershop-icm-best-practices 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

333

周安装

14

GitHub Stars

8

下载量

116
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bartundmett/skills --skill intershop-icm-best-practices

简介

该技能用于记录任务执行中的错误、纠正和经验缺口。

  • 适合让 Agent 持续沉淀问题并优化最佳实践。
  • 可通过 npx 命令从指定 GitHub 仓库安装使用。
  • 使用前需确认权限范围及是否涉及联网或文件操作。
  • intershop-icm-best-practices 属于开发规范类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Intershop ICM Best Practices

Comprehensive best practices guide for Intershop Commerce Management (ICM) backend development, maintained by Intershop Engineering. Contains 68 rules across 20 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Developing custom ICM cartridges
  • Creating or modifying REST API endpoints
  • Implementing B2B features (punchout, customer pricing, organizations, quotes, budgets)
  • Working with business objects and persistent objects
  • Writing pipelets and pipelines
  • Performing database initialization or migration
  • Implementing batch jobs and event handling
  • Customizing Solr search
  • Adding security measures
  • Writing tests
  • Deploying to Kubernetes environments

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Customization PatternsCRITICALcustom-
2Performance OptimizationCRITICALperf-
3State Management & Data FlowCRITICALstate-
4B2B FeaturesCRITICALb2b-
5SecurityCRITICALsecurity-
6REST API DevelopmentHIGHrest-
7Cartridge ArchitectureHIGHcartridge-
8TestingHIGHtest-
9SearchHIGHsearch-
10InternationalizationHIGHi18n-
11Monitoring & ObservabilityHIGHmonitoring-
12Database & PersistenceMEDIUM-HIGHdb-
13Pipeline & Pipelet DevelopmentMEDIUMpipeline-
14Dependency Injection & GuiceMEDIUMguice-
15Job & Batch ProcessingMEDIUMjob-
16Events & MessagingMEDIUMevent-
17ImpEx Data ExchangeMEDIUMimpex-
18Logging & ObservabilityMEDIUMlogging-
19ISML TemplatesMEDIUMtemplate-
20Deployment & DevOpsLOW-MEDIUMdevops-

Quick Reference

1. Customization Patterns (CRITICAL)

  • custom-no-direct-modification - Never modify standard files directly
  • custom-use-extensions - Use business object extensions for custom behavior
  • custom-cartridge-naming - Follow layer-based cartridge naming conventions
  • custom-mark-changes - Mark all customizations with comments
  • custom-microservices - Prefer microservices for complex customizations

2. Performance Optimization (CRITICAL)

  • perf-caching-pattern - Use caching for expensive operations
  • perf-query-optimization - Optimize database queries, avoid N+1
  • perf-async-operations - Use async processing for non-critical ops
  • perf-lazy-loading - Use lazy loading with explicit fetch joins
  • perf-batch-processing - Batch operations with flush/clear pattern
  • perf-connection-pooling - Configure database connection pools properly
  • perf-memory-management - Manage memory efficiently, stream large data
  • perf-session-size - Minimize session size for scalability

3. State Management & Data Flow (CRITICAL)

  • state-repository-pattern - Use repositories for BO lifecycle management
  • state-bo-po-separation - Maintain strict BO/PO separation

4. B2B Features (CRITICAL)

  • b2b-punchout-implementation - Implement punchout with proper security
  • b2b-customer-pricing - Implement customer-specific pricing correctly
  • b2b-organization-hierarchy - Manage organization hierarchies
  • b2b-approval-workflows - Implement approval workflows with audit
  • b2b-budget-management - Implement budget controls at multiple levels
  • b2b-quote-management - Manage quotes with state machine and versioning
  • b2b-user-roles - Implement flexible RBAC with delegation

5. Security (CRITICAL)

  • security-input-validation - Validate all inputs with JSR-303
  • security-sql-injection - Use parameterized queries
  • security-xss-prevention - Use proper output encoding
  • security-sensitive-data - Handle PII properly
  • security-access-control - Implement RBAC correctly
  • security-csrf-protection - Implement CSRF token validation

6. REST API Development (HIGH)

  • rest-authentication - Authenticate REST resources like server actions
  • rest-resource-objects - Use proper resource object patterns
  • rest-handlers - Use handlers for customizable REST resources
  • rest-pagination - Implement proper pagination with metadata
  • rest-error-handling - Use consistent error response format
  • rest-versioning - Version APIs with URL path versioning
  • rest-hateoas - Implement HATEOAS links properly

7. Cartridge Architecture (HIGH)

  • cartridge-api-separation - Separate API and implementation cartridges

8. Testing (HIGH)

  • test-unit-test-services - Unit test services with mocking
  • test-integration-pipelines - Integration test pipelines
  • test-mock-repositories - Mock repositories correctly
  • test-test-data-builders - Use test data builders
  • test-rest-api-testing - Test REST APIs comprehensively

9. Search (HIGH)

  • search-solr-customization - Customize Solr search correctly
  • search-query-building - Build search queries safely

10. Database & Persistence (MEDIUM-HIGH)

  • db-dbprepare-migration - Use DBPrepare for initialization and migration
  • db-transaction-management - Manage transactions properly
  • db-optimistic-locking - Use optimistic locking for concurrency
  • db-po-lifecycle - Manage PO lifecycle correctly

11. Pipeline & Pipelet Development (MEDIUM)

  • pipeline-best-practices - Follow pipeline design best practices
  • pipeline-error-handling - Handle errors with transitions
  • pipeline-transactions - Manage pipeline transactions correctly

12. Dependency Injection & Guice (MEDIUM)

  • guice-dependency-injection - Use Guice dependency injection correctly

13. Job & Batch Processing (MEDIUM)

  • job-implementation - Implement jobs with progress tracking
  • job-error-handling - Handle job errors with retry and DLQ

14. Events & Messaging (MEDIUM)

  • event-publishing - Publish domain events properly
  • event-consuming - Consume events reliably with idempotency

15. ImpEx Data Exchange (MEDIUM)

  • impex-import-patterns - Implement imports with streaming and validation
  • impex-export-patterns - Implement exports with delta support

16. Logging & Observability (MEDIUM)

  • logging-structured-logging - Use structured logging
  • logging-correlation-ids - Use correlation IDs
  • logging-log-levels - Use appropriate log levels
  • logging-no-sensitive-data - Never log sensitive data

17. ISML Templates (MEDIUM)

  • template-isml-best-practices - Follow ISML coding standards
  • template-include-patterns - Use includes properly
  • template-loop-optimization - Optimize loops
  • template-caching - Use fragment caching

18. Deployment & DevOps (LOW-MEDIUM)

  • devops-container-deployment - Follow container deployment best practices

19. Internationalization (HIGH)

  • i18n-localization - Implement proper multi-language and multi-locale support

20. Monitoring & Observability (HIGH)

  • monitoring-apm-integration - Integrate APM for performance and error tracking

Core Principles

The Golden Rule: No Customization is Best

Before writing any custom code, always check:

  1. Can this be achieved through back office configuration?
  2. Is there an existing Intershop feature that meets this need?
  3. Is this feature request standard-worthy (contact Intershop)?

Upgrade Safety

All customizations should be designed with upgrades in mind:

  • Use extension mechanisms over file modifications
  • Mark all changes with standardized comments
  • Keep custom cartridges separate from standard ones
  • Prefer microservices for complex integrations

Layer Separation

Maintain clear boundaries between layers:

  • API (capi) - Public interfaces only
  • Internal - Implementation details
  • ORM - Database persistence
  • Pipeline - Business workflows

How to Use

Read individual rule files for detailed explanations and code examples:

rules/custom-use-extensions.md
rules/perf-caching-pattern.md
rules/b2b-punchout-implementation.md
rules/security-input-validation.md
rules/test-unit-test-services.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Additional context and references

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenCode

26.71%
按下载量换算31

Codex

22.53%
按下载量换算26

Gemini CLI

16.67%
按下载量换算19

Claude Code

13.87%
按下载量换算16

windsurf

8.74%
按下载量换算10

Antigravity

3.38%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills