aboutsummaryrefslogtreecommitdiff
path: root/skills/localize-external-assets.md
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-06-06 06:00:27 +0200
committerAgando <roduccomm@gmail.com>2026-06-06 06:00:27 +0200
commitccc7d9956559d2195e20345e7a794662b52cd403 (patch)
tree757354fbfec5c75b4577b2cb620d5ab1582e19b1 /skills/localize-external-assets.md
parentb538577cd0a4292e4cd4ca1c9f9829fc7e133caa (diff)
auto: 2026-06-06_06:00 changes
Diffstat (limited to 'skills/localize-external-assets.md')
-rw-r--r--skills/localize-external-assets.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/skills/localize-external-assets.md b/skills/localize-external-assets.md
deleted file mode 100644
index b7a1c9b..0000000
--- a/skills/localize-external-assets.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-name: localize-external-assets
-description: Downloads external JS/CSS assets to the VFS to bypass server-side security restrictions on external scripts.
-tags: [security, assets, vfs, localization]
-category: system
----
-
-### Logic
-1. Identify external URLs in the target HTML/CSS.
-2. Use the `download <url>` command to save these files into a local `/assets/` directory.
-3. Update the HTML file to reference local paths (e.g., `src="https://cdn..."` $\rightarrow$ `src="/assets/..."`).
-
-### Implementation Steps
-1. **Scan**: Read the file and extract all `src` and `href` attributes pointing to external domains.
-2. **Prepare**: Create an `/assets/` directory if it doesn't exist.
-3. **Fetch**: Execute `download <url>` for every identified external dependency.
-4. **Patch**: Use `write_file` to replace the remote URLs with the local VFS paths.
-5. **Verify**: Confirm the file is successfully updated and assets are present in the VFS.