privacy-plugin
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.zipInstalls 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.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
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
| File | Purpose |
|---|---|
src/Extension/J2Commerce.php | Main plugin class — all event handlers |
plugins/task/j2commerceprivacy/src/Extension/J2CommercePrivacy.php | Scheduled cleanup task (separate task plugin) |
script.php | Install/update/uninstall, post-install message |
language/en-GB/plg_privacy_j2commerce.ini | All translatable strings |
Events Handled
| Event | Purpose |
|---|---|
onPrivacyExportRequest | Collect J2Commerce data for export |
onPrivacyCanRemoveData | Check if retention blocks deletion |
onPrivacyRemoveData | Anonymize/delete data |
onAfterRender | Inject consent checkbox + privacy section (fallback) |
onAjaxJ2commercePrivacy | Handle 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| privacy-plugin (this skill) | 0 | 20d | No flags | Intermediate |
| command-injection-testing | 1 | 6mo | Review | Advanced |
| file-upload-testing | 1 | 6mo | Review | Advanced |
| security-hardening | 0 | 1mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
command-injection-testing
Ed1s0nZ
命令注入漏洞测试的专业技能和方法论
file-upload-testing
Ed1s0nZ
文件上传漏洞测试的专业技能和方法论
security-hardening
boctulus
Security best practices for SimpleRest including JWT configuration, ACL hardening, input sanitization, CSRF protection, and encryption.
orbit-sec-supply-chain
adityaarsharma
Supply-chain security audit — Composer + npm dependency CVE check, license compatibility (GPL-compatible only), abandoned package detection, typosquatting risk, lockfile integrity, post-install / preinstall scripts that smell like supply-chain attacks. Use when the user says "supply chain audit", "d
api-security-best-practices
davila7
Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities
laravel-specialist
Jeffallan
Use when building Laravel 10+ applications requiring Eloquent ORM, API resources, or queue systems. Invoke for Laravel models, Livewire components, Sanctum authentication, Horizon queues.