tray-scripts-externos

Official

Safely manage storefront JavaScript snippets

Authortray-tecnologia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing custom JavaScript injected into a storefront can be error-prone and harmful to performance or security if scripts are added incorrectly, placed in the wrong location, or use insecure URLs. This Skill centralizes CRUD operations for external scripts so developers can reliably list, add, update, activate/deactivate, and remove injected scripts while following best practices.

Core Features & Use Cases

  • List and Inspect: Retrieve all external scripts and their metadata to audit injected code.
  • Create and Update: Register new external JavaScript snippets or modify existing ones with explicit location (head, body, footer) and activation flags.
  • Activate/Deactivate and Delete: Toggle script activation without deleting, or remove scripts entirely.
  • Use Case: Inject analytics (GTM), marketing pixels, or custom storefront features via HTTPS-hosted scripts placed in the footer for performance.

Quick Start

Add a footer script using the Tray API with URL https://cdn.example.com/gtm.js and set active to 1 using the Script wrapper and your access_token.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tray-scripts-externos
Download link: https://github.com/tray-tecnologia/tray-api-claude-plugin/archive/main.zip#tray-scripts-externos

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.