Documentation
Module 4.6.0 What’s new
Modules and consent · Going further

Use the skill with an AI assistant

The demo zip contains a skill: an instruction file that teaches an AI assistant to connect your module to the Kixell Tag banner, building on the demo's code.

For: developer, agency Checked with module 4.6.0 · updated Nov 29, 2026

What the skill contains #

The skill is in the skills/kixelltag-module-consent/ folder of the zip: a SKILL.md file readable by any assistant. It gives the assistant:

  • the rules of this section, never to be broken;
  • an eight-step method: list what the module stores or collects, classify each processing operation, have the declaration approved, write the PHP side, write the page side, remove the old consent code, write the instructions for the merchant, check;
  • code templates compatible with PHP 5.6 and the list of mistakes to reject in review.

The assistant uses the kixconsentdemo module as its reference example: keep the full module next to the skill.

Steps #

  1. Unzip kixconsentdemo.zip and place the kixconsentdemo folder in your module's repository, for example in vendor-docs/kixconsentdemo/.
  2. Copy the skills/kixelltag-module-consent/ folder into .claude/skills/ at the root of the project, or into ~/.claude/skills/ for all your projects.
  3. Ask, for example: "Add Kixell Tag consent to this module with the kixelltag-module-consent skill."
  1. Unzip kixconsentdemo.zip and place the kixconsentdemo folder in your module's repository, for example in vendor-docs/kixconsentdemo/.
  2. Give the assistant the SKILL.md file and the demo's docs/ folder, or add to its project instructions: "Before changing how this module handles cookies or consent, read vendor-docs/kixconsentdemo/skills/kixelltag-module-consent/SKILL.md and follow it."
  3. Ask it to add Kixell Tag consent to the module.
Result

Before writing any code, the assistant shows you a table: the key, the name, the privacy policy address and the purposes of each partner, with one line of justification per purpose.

Approving the declaration #

This is the step not to delegate. Review the proposed table:

  • the legal basis of each processing operation: consent or legitimate interest;
  • the purposes: purpose 1 as soon as a cookie or storage on the device is involved;
  • the address of your real privacy policy. If you do not give one, the assistant must make it a module setting and declare nothing as long as it is empty, never make up an address.

A partner key is final: check it before the first published version.

Note

The skill is a technical guide, not legal advice. The decision on the legal basis is yours, or the merchant's.

Reviewing the assistant's work #

What to check in the generated code

  • No collection when Kixell Tag is missing: no fallback such as if (!Module::isEnabled('kixelltag')) { collect(); }.
  • No $this->dependencies = ['kixelltag'].
  • No reading of _kt_token or of any other Kixell Tag cookie.
  • No hasVendorConsent() in the display hooks of a page that can be cached, nor in a payment notification.
  • Every kixelltag/javascript script that processes data has data-kt-vendor.
  • No "refused" value is stored.
  • The actionKixellTagConsent hook reads $params['modules'], without calling hasVendorConsent().
  • An upgrade script registers both hooks for shops that already have the module.
  • consent_uid, visitor identifiers and IP addresses appear in no log.

Then run the test scenarios, or ask the assistant for the list of what it could not test.

Missing or wrong information? Tell the support team