sap/spartacus · Archived

schematics

Use this skill when working with Spartacus schematics - Angular schematics for installing, configuring, and migrating Spartacus libraries. Trigger when the user mentions writing, debugging, or testing schematics, works with migration scripts or constructor/component deprecations, creates feature schematics configuration, adds new library installation schematics, tests schematics with verdaccio, or updates migrations.json or deprecation data files. Even if the user just mentions 'schematics', 'n…

Installation

$ npx skills add sap/spartacus --skill schematics

Summary

  • Use this skill when working with Spartacus schematics - Angular schematics for installing, configuring, and migrating Spartacus libraries.
  • Trigger when the user mentions writing, debugging, or testing schematics, works with migration scripts or constructor/component deprecations, creates feature schematics configuration, adds new library installation schematics, tests schematics with verdaccio, or updates migrations.json or deprecation data files.
  • Even if the user just mentions 'schematics', 'ng add', or 'ng update' in the context of Spartacus development, load this skill.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from sap/spartacus.

npx skills add sap/spartacus

Browse all from sap/spartacus

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 783
License LICENSES
Default branch develop
Open issues 795
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,733 B
  • docs SUMMARY.md 597 B

History

  1. First recorded snapshot · 6 installs

SKILL.md

Spartacus Schematics Development

This skill covers developing and testing Angular schematics for Spartacus library installation and migration.

Directory Structure

Path Purpose
core-libs/schematics/ Main installation and migration schematics
core-libs/schematics/src/migrations/ Version-specific migration scripts
core-libs/schematics/src/shared/ Shared utilities
core-libs/schematics/src/shared/lib-configs/ Feature schematics configurations
<lib>/schematics/ Feature-specific installation schematics in each library

Testing Commands

# Core Schematics lib
cd core-libs/schematics && npm run test


# All libs' schematics
npm run test:all-schematics

# Single library schematics (Jest)
nx run <library-name>:test-jest

# Specific test file
nx run <library-name>:test-jest --testPathPatterns="<spec-filename>"

Technical note: During build/test, feature-toggles.ts is copied from @spartacus/core to src/feature-toggles.copied-from-core-lib.ts (git-ignored). This avoids direct dependency on @spartacus/core.