tampermonkey-script-writer

Generate Tampermonkey userscript scaffolds with headers and directory structure.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/DKunin/skills --skill tampermonkey-script-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tampermonkey-script-writer
Source: https://github.com/DKunin/skills/tree/main/tempermonkey
Command: npx skills add https://github.com/DKunin/skills --skill tampermonkey-script-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writes a Tampermonkey userscript scaffold and creates all required files for a repository, saving time and reducing setup friction.

Core Features & Use Cases

  • Guides two-phase workflow (planning and implementation) to generate production-ready scripts.
  • Generates a complete script scaffold including header, @match patterns, and guard logic.
  • Creates optional directories (scripts/, references/, assets/) and prebuilt README templates to accelerate delivery.

Quick Start

Provide a user prompt describing the browser automation task to trigger planning and scaffold generation.

Frequently Asked Questions about tampermonkey-script-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Tampermonkey script from a natural language prompt?

You can generate a Tampermonkey script by providing a natural language prompt describing your browser automation task, which triggers a two-phase workflow to plan and implement the complete userscript scaffold.

What is the best way to create a userscript scaffold for browser UI injection?

The best way to create a userscript scaffold for UI injection is using an automated generator that enforces a two-phase planning and implementation workflow, producing a ready-to-edit header, @match patterns, and guard logic.

Can I use this to automate adding buttons and copying to clipboard on dynamic pages?

Yes, you can automate tasks like copying to clipboard or adding buttons to dynamic or static pages by generating a production-ready Tampermonkey script tailored to your specific browser automation requirements.

Do I need to manually set up directories for my userscript repository?

No, you do not need to manually set up directories as the scaffold generation automatically creates optional directories for scripts, references, and assets, alongside prebuilt README templates to accelerate delivery.

What is included in the generated Tampermonkey script header?

The generated Tampermonkey script header includes ready-to-edit metadata, @match patterns for target pages, and guard logic to ensure stable execution across dynamic or static browser environments.

Why does my Tampermonkey userscript generation require a planning phase?

Your Tampermonkey userscript generation requires a planning phase to ensure the implementation phase produces a production-ready scaffold with correct file structure, UI injection logic, and proper guard mechanisms.