This skill helps you apply Intershop ICM back-end best practices to writing, reviewing, and refactoring Java code for performance, security, and
npx playbooks add skill bartundmett/skills --skill intershop
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.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Customization Patterns | CRITICAL | custom- |
| 2 | Performance Optimization | CRITICAL | perf- |
| 3 | State Management & Data Flow | CRITICAL | state- |
| 4 | B2B Features | CRITICAL | b2b- |
| 5 | Security | CRITICAL | security- |
| 6 | REST API Development | HIGH | rest- |
| 7 | Cartridge Architecture | HIGH | cartridge- |
| 8 | Testing | HIGH | test- |
| 9 | Search | HIGH | search- |
| 10 | Internationalization | HIGH | i18n- |
| 11 | Monitoring & Observability | HIGH | monitoring- |
| 12 | Database & Persistence | MEDIUM-HIGH | db- |
| 13 | Pipeline & Pipelet Development | MEDIUM | pipeline- |
| 14 | Dependency Injection & Guice | MEDIUM | guice- |
| 15 | Job & Batch Processing | MEDIUM | job- |
| 16 | Events & Messaging | MEDIUM | event- |
| 17 | ImpEx Data Exchange | MEDIUM | impex- |
| 18 | Logging & Observability | MEDIUM | logging- |
| 19 | ISML Templates | MEDIUM | template- |
| 20 | Deployment & DevOps | LOW-MEDIUM | devops- |
custom-no-direct-modification - Never modify standard files directlycustom-use-extensions - Use business object extensions for custom behaviorcustom-cartridge-naming - Follow layer-based cartridge naming conventionscustom-mark-changes - Mark all customizations with commentscustom-microservices - Prefer microservices for complex customizationsperf-caching-pattern - Use caching for expensive operationsperf-query-optimization - Optimize database queries, avoid N+1perf-async-operations - Use async processing for non-critical opsperf-lazy-loading - Use lazy loading with explicit fetch joinsperf-batch-processing - Batch operations with flush/clear patternperf-connection-pooling - Configure database connection pools properlyperf-memory-management - Manage memory efficiently, stream large dataperf-session-size - Minimize session size for scalabilitystate-repository-pattern - Use repositories for BO lifecycle managementstate-bo-po-separation - Maintain strict BO/PO separationb2b-punchout-implementation - Implement punchout with proper securityb2b-customer-pricing - Implement customer-specific pricing correctlyb2b-organization-hierarchy - Manage organization hierarchiesb2b-approval-workflows - Implement approval workflows with auditb2b-budget-management - Implement budget controls at multiple levelsb2b-quote-management - Manage quotes with state machine and versioningb2b-user-roles - Implement flexible RBAC with delegationsecurity-input-validation - Validate all inputs with JSR-303security-sql-injection - Use parameterized queriessecurity-xss-prevention - Use proper output encodingsecurity-sensitive-data - Handle PII properlysecurity-access-control - Implement RBAC correctlysecurity-csrf-protection - Implement CSRF token validationrest-authentication - Authenticate REST resources like server actionsrest-resource-objects - Use proper resource object patternsrest-handlers - Use handlers for customizable REST resourcesrest-pagination - Implement proper pagination with metadatarest-error-handling - Use consistent error response formatrest-versioning - Version APIs with URL path versioningrest-hateoas - Implement HATEOAS links properlycartridge-api-separation - Separate API and implementation cartridgestest-unit-test-services - Unit test services with mockingtest-integration-pipelines - Integration test pipelinestest-mock-repositories - Mock repositories correctlytest-test-data-builders - Use test data builderstest-rest-api-testing - Test REST APIs comprehensivelysearch-solr-customization - Customize Solr search correctlysearch-query-building - Build search queries safelydb-dbprepare-migration - Use DBPrepare for initialization and migrationdb-transaction-management - Manage transactions properlydb-optimistic-locking - Use optimistic locking for concurrencydb-po-lifecycle - Manage PO lifecycle correctlypipeline-best-practices - Follow pipeline design best practicespipeline-error-handling - Handle errors with transitionspipeline-transactions - Manage pipeline transactions correctlyguice-dependency-injection - Use Guice dependency injection correctlyjob-implementation - Implement jobs with progress trackingjob-error-handling - Handle job errors with retry and DLQevent-publishing - Publish domain events properlyevent-consuming - Consume events reliably with idempotencyimpex-import-patterns - Implement imports with streaming and validationimpex-export-patterns - Implement exports with delta supportlogging-structured-logging - Use structured logginglogging-correlation-ids - Use correlation IDslogging-log-levels - Use appropriate log levelslogging-no-sensitive-data - Never log sensitive datatemplate-isml-best-practices - Follow ISML coding standardstemplate-include-patterns - Use includes properlytemplate-loop-optimization - Optimize loopstemplate-caching - Use fragment cachingdevops-container-deployment - Follow container deployment best practicesi18n-localization - Implement proper multi-language and multi-locale supportmonitoring-apm-integration - Integrate APM for performance and error trackingBefore writing any custom code, always check:
All customizations should be designed with upgrades in mind:
Maintain clear boundaries between layers:
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:
For the complete guide with all rules expanded: AGENTS.md
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.