SAP Commerce Task Development
Overview
Use this skill for backend SAP Commerce delivery with strict boundaries, predictable architecture, and maintainable implementation.
Keep the workflow project-agnostic: align to repo conventions, isolate ownership per extension, and preserve SAP Commerce layering.
Trigger Checklist
Use this skill when one or more are true:
- implementing or refactoring SAP Commerce backend logic
- changing service/facade/controller flows
- changing
*-items.xml, *-beans.xml, Spring XML, or ImpEx patches
- adding or updating OCC backend endpoints
- implementing integrations, cronjobs, or model-driven features
Out Of Scope
Do not use this skill for:
- storefront/frontend work (Spartacus, Angular, JSP/UI)
- extension scaffolding/generation guidance (
extgen, extension templates)
- generic testing tutorials or framework primers
- script-driven skill workflows
Progressive Disclosure
Keep this file focused on workflow; load detail files only when needed:
- references/backend-basics.md - layering, package ownership, service/facade/controller rules
- references/model-and-contracts.md -
items.xml, beans.xml, DTO generation, mapping
- references/spring-impex-checklist.md - Spring wiring and ImpEx/patch placement
- references/verification-and-done.md - verification flow, done checks, reporting format
- references/gotchas.md - frequent SAP Commerce implementation failure modes
- references/guides-index.md - curated deep reference catalog + backend template map
Curated Guides Library
A curated SAP Commerce guides set is available under references/guides/ and references/templates/.
Use it when task scope needs deeper examples, but stay backend-only.
Explicit exclusions are enforced:
- no extension-structure scaffolding
- no frontend/storefront assets
- no testing-guide content
- no scripts workflows
Delivery Workflow
- Clarify scope, acceptance criteria, and extension ownership.
- Confirm layer boundaries before coding (controller/facade/service/DAO/model).
- Implement model and contract changes (
items.xml, beans.xml) where needed.
- Implement business logic in service/facade layers; keep controllers orchestration-only.
- Update Spring XML wiring and mappings in the owning extension.
- Update ImpEx/patch artifacts in the project-defined location.
- Run project-standard verification commands for the changed scope.
- Report changes, decisions, verification evidence, and remaining risks.
Non-Negotiable Standards
- Keep business logic out of controllers.
- Keep interface +
impl structure for services/facades/clients/strategies.
- Prefer generated DTO/Data artifacts from
*-beans.xml over handwritten classes when generation is available.
- Keep
items.xml types, enums, and attribute descriptions explicit and stable.
- Use explicit Spring bean wiring; add aliases only for real overrides.
- Keep methods cohesive and low-complexity; extract helpers instead of nesting.
Gotchas
Use references/gotchas.md when implementation drifts. Record the issue and the mitigation in your task notes.
Completion Output
At the end of delivery, report:
- Files changed and rationale.
- Architectural decisions and tradeoffs.
- Verification commands executed and outcomes.
- Build/test status for changed scope.
- Remaining risks and follow-up actions.
1---2name: sap-commerce-task-development3description: Use for backend SAP Commerce implementation work that must stay project-agnostic and extension-driven: service/facade/controller layering, items.xml and beans.xml contract changes, Spring XML wiring, ImpEx/patch updates, and build verification. Trigger for feature delivery, refactors, integrations, OCC backend APIs, cronjobs, and data-model updates. Exclude frontend/storefront work and extension scaffolding.4---56# SAP Commerce Task Development78## Overview910Use this skill for backend SAP Commerce delivery with strict boundaries, predictable architecture, and maintainable implementation.1112Keep the workflow project-agnostic: align to repo conventions, isolate ownership per extension, and preserve SAP Commerce layering.1314## Trigger Checklist1516Use this skill when one or more are true:1718- implementing or refactoring SAP Commerce backend logic19- changing service/facade/controller flows20- changing `*-items.xml`, `*-beans.xml`, Spring XML, or ImpEx patches21- adding or updating OCC backend endpoints22- implementing integrations, cronjobs, or model-driven features2324## Out Of Scope2526Do not use this skill for:2728- storefront/frontend work (Spartacus, Angular, JSP/UI)29- extension scaffolding/generation guidance (`extgen`, extension templates)30- generic testing tutorials or framework primers31- script-driven skill workflows3233## Progressive Disclosure3435Keep this file focused on workflow; load detail files only when needed:3637- [references/backend-basics.md](references/backend-basics.md) - layering, package ownership, service/facade/controller rules38- [references/model-and-contracts.md](references/model-and-contracts.md) - `items.xml`, `beans.xml`, DTO generation, mapping39- [references/spring-impex-checklist.md](references/spring-impex-checklist.md) - Spring wiring and ImpEx/patch placement40- [references/verification-and-done.md](references/verification-and-done.md) - verification flow, done checks, reporting format41- [references/gotchas.md](references/gotchas.md) - frequent SAP Commerce implementation failure modes42- [references/guides-index.md](references/guides-index.md) - curated deep reference catalog + backend template map4344## Curated Guides Library4546A curated SAP Commerce guides set is available under `references/guides/` and `references/templates/`.4748Use it when task scope needs deeper examples, but stay backend-only.4950Explicit exclusions are enforced:5152- no extension-structure scaffolding53- no frontend/storefront assets54- no testing-guide content55- no scripts workflows5657## Delivery Workflow58591. Clarify scope, acceptance criteria, and extension ownership.602. Confirm layer boundaries before coding (controller/facade/service/DAO/model).613. Implement model and contract changes (`items.xml`, `beans.xml`) where needed.624. Implement business logic in service/facade layers; keep controllers orchestration-only.635. Update Spring XML wiring and mappings in the owning extension.646. Update ImpEx/patch artifacts in the project-defined location.657. Run project-standard verification commands for the changed scope.668. Report changes, decisions, verification evidence, and remaining risks.6768## Non-Negotiable Standards6970- Keep business logic out of controllers.71- Keep interface + `impl` structure for services/facades/clients/strategies.72- Prefer generated DTO/Data artifacts from `*-beans.xml` over handwritten classes when generation is available.73- Keep `items.xml` types, enums, and attribute descriptions explicit and stable.74- Use explicit Spring bean wiring; add aliases only for real overrides.75- Keep methods cohesive and low-complexity; extract helpers instead of nesting.7677## Gotchas7879Use [references/gotchas.md](references/gotchas.md) when implementation drifts. Record the issue and the mitigation in your task notes.8081## Completion Output8283At the end of delivery, report:84851. Files changed and rationale.862. Architectural decisions and tradeoffs.873. Verification commands executed and outcomes.884. Build/test status for changed scope.895. Remaining risks and follow-up actions.