Specialized tool for managing J2Commerce privacy data, consent, and GDPR/DSGVO compliance tasks.

Install

mkdir -p .claude/skills/privacy-plugin && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17403" && unzip -o skill.zip -d .claude/skills/privacy-plugin && rm skill.zip

Installs to .claude/skills/privacy-plugin

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Deep knowledge of the plg_privacy_j2commerce plugin. Use when working on GDPR/DSGVO compliance, retention logic, lifetime license detection, template integration, checkout consent, or data export/deletion.
205 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Export J2Commerce orders, addresses, and cart data
  • Enforce configurable retention periods for data deletion
  • Anonymize orders outside the retention period
  • Detect lifetime licenses to preserve email after retention expires
  • Add a consent checkbox to the J2Commerce checkout
  • Run a scheduled automatic cleanup task

How it works

The plugin extends Joomla's `com_privacy` to handle J2Commerce-specific data, including exporting, enforcing retention, anonymizing orders, detecting lifetime licenses, adding checkout consent, and running cleanup tasks.

Inputs & outputs

You give it
Privacy export request, data deletion request, or checkout process
You get back
Exported J2Commerce data, anonymized orders, preserved emails, or recorded consent

When to use privacy-plugin

  • Configure data retention policies
  • Anonymize expired orders
  • Integrate privacy consent at checkout
  • Generate data export reports

About this skill

Privacy Plugin — Domain Knowledge

Location

j2commerce/plg_privacy_j2commerce/

What This Plugin Does

Extends Joomla's com_privacy with J2Commerce-specific data handling:

  • Exports J2Commerce orders, addresses, cart data on privacy export requests
  • Enforces configurable retention periods before allowing data deletion
  • Anonymizes orders outside the retention period instead of deleting them
  • Detects lifetime licenses to preserve email after retention expires
  • Adds a consent checkbox to the J2Commerce checkout
  • Renders a self-service privacy tab in the J2Commerce MyProfile page
  • Runs a scheduled automatic cleanup task

Key Files

FilePurpose
src/Extension/J2Commerce.phpMain plugin class — all event handlers
plugins/task/j2commerceprivacy/src/Extension/J2CommercePrivacy.phpScheduled cleanup task (separate task plugin)
script.phpInstall/update/uninstall, post-install message
language/en-GB/plg_privacy_j2commerce.iniAll translatable strings

Events Handled

EventPurpose
onPrivacyExportRequestCollect J2Commerce data for export
onPrivacyCanRemoveDataCheck if retention blocks deletion
onPrivacyRemoveDataAnonymize/delete data
onAfterRenderInject consent checkbox + privacy section (fallback)
onAjaxJ2commercePrivacyHandle address deletion AJAX requests

See references/architecture.md for full details.

When not to use it

  • When working with general Joomla privacy features not specific to J2Commerce
  • When the goal is to delete data immediately without retention period enforcement
  • When the plugin's specific event handlers are not relevant

Limitations

  • The plugin is specific to `plg_privacy_j2commerce`
  • The plugin anonymizes orders instead of deleting them outside the retention period
  • The plugin requires specific event handlers like `onPrivacyExportRequest` and `onPrivacyRemoveData`

How it compares

This plugin provides specialized privacy functionalities tailored for J2Commerce data, such as anonymizing orders and detecting lifetime licenses, which are not typically covered by generic privacy plugins.

Compared to similar skills

privacy-plugin side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
privacy-plugin (this skill)020dNo flagsIntermediate
command-injection-testing16moReviewAdvanced
file-upload-testing16moReviewAdvanced
security-hardening01moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry