What problem does it solve?
This skill eliminates the repetitive, error-prone manual work of querying Madison Reed's Tophat CMS through raw mongosh commands. Instead of writing one-off Docker exec queries, parsing BSON output by eye, and repeating the process 4-6 times per investigation, you get a stable, scripted toolkit that returns structured JSON and enforces safety rails like dry-run mode and automatic backups.
Core Features & Use Cases
- Read-only inspection scripts: Answer "what does this URL render?" or "what's bound to this experiment?" in a single command. Covers content, templates, experiments, partials, JSON-LD, and component code locations.
- Safe mutation scripts: Modify experiment status, variant weights, JSON-LD scripts, and template fields with mandatory dry-run gates, automatic backups, and idempotent re-runs.
- Code locator scripts: Translate CMS metadata (mixin_key, URI) directly to Vue component files and Express route handlers, eliminating grep marathons across the codebase.
Quick Start
Use the cms-tools skill to inspect what renders on the URL /colorbar/location-specific by running the inspect-content-by-uri script and reviewing the returned JSON for the active experiment, variations, and component mixin keys.