Web Artifacts Builder
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
Fix 404 errors for frontend JS files when using Vite proxy. An agent skill from divinevideo/divine-mobile.
$ npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile vite-proxy-folder-name-conflict --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/vite-proxy-folder-name-conflict .claude/skills/vite-proxy-folder-name-conflict && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "vite-proxy-folder-name-conflict" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflict into .claude/skills/vite-proxy-folder-name-conflict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vite-proxy-folder-name-conflict", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflictType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile vite-proxy-folder-name-conflict --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/vite-proxy-folder-name-conflict .agents/skills/vite-proxy-folder-name-conflict && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "vite-proxy-folder-name-conflict" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflict into .agents/skills/vite-proxy-folder-name-conflict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vite-proxy-folder-name-conflict", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile vite-proxy-folder-name-conflict --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/vite-proxy-folder-name-conflict .cursor/skills/vite-proxy-folder-name-conflict && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "vite-proxy-folder-name-conflict" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflict into .cursor/skills/vite-proxy-folder-name-conflict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vite-proxy-folder-name-conflict", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/vite-proxy-folder-name-conflict--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile vite-proxy-folder-name-conflict --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/vite-proxy-folder-name-conflict .gemini/skills/vite-proxy-folder-name-conflict && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "vite-proxy-folder-name-conflict" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflict into .gemini/skills/vite-proxy-folder-name-conflict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vite-proxy-folder-name-conflict", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile vite-proxy-folder-name-conflictInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/vite-proxy-folder-name-conflict .github/skills/vite-proxy-folder-name-conflict && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "vite-proxy-folder-name-conflict" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflict into .github/skills/vite-proxy-folder-name-conflict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vite-proxy-folder-name-conflict", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile vite-proxy-folder-name-conflict --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/vite-proxy-folder-name-conflict .opencode/skills/vite-proxy-folder-name-conflict && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "vite-proxy-folder-name-conflict" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/vite-proxy-folder-name-conflict into .opencode/skills/vite-proxy-folder-name-conflict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vite-proxy-folder-name-conflict", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
vite-proxy-folder-name-conflictFix 404 errors for frontend JS files when using Vite proxy. An agent skill from divinevideo/divine-mobile.
Vite Proxy Folder Name Conflict is an agent skill from divinevideo/divine-mobile. Fix 404 errors for frontend JS files when using Vite proxy. Use when: (1) Browser shows "Failed to load resource: 404" for JS/JSX files that exist on disk, (2) Vite serves HTML instead of JavaScript for module imports, (3) You have a client folder named "api" (or similar) AND a Vite proxy configured for "/api". The proxy intercepts requests for client-side files when folder names match proxy paths. Applies to Vite, Vite+React, Vite+Vue projects with dev server proxy configuration.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering React components. It works with Vite, JavaScript, React and Vue.js. The licence is MPL-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6487b05. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Vite Proxy Folder Name Conflict loads about 1.3k tokens when it runs. Until then it costs about 129 tokens; SKILL.md has 350 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit 6487b05, republished under its MPL-2.0 licence (© divinevideo). 350 words, ~1,318 tokens.
.claude/skills/vite-proxy-folder-name-conflict/SKILL.md (or your agent's skills folder).Frontend JavaScript/JSX files return 404 errors even though they exist on disk. The browser console shows errors like:
usePeople.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
useMedia.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)The files exist at paths like src/client/api/hooks/usePeople.js, but Vite returns 404 or
serves HTML instead of JavaScript.
This issue occurs when ALL of these conditions are true:
Vite dev server with proxy configuration in vite.config.js:
server: {
proxy: {
'/api': {
target: 'http://localhost:3001',
changeOrigin: true,
},
},
}Client-side folder with the same name as the proxy path:
src/client/
├── api/ ← Folder name matches proxy path "/api"
│ ├── client.js
│ └── hooks/
│ ├── usePeople.js
│ └── useMedia.jsImports that resolve to the proxied path:
// In src/client/pages/Directory.jsx
import { usePeople } from '../api/hooks/usePeople.js';
// Vite transforms this to: /api/hooks/usePeople.js
// This matches the proxy rule and gets sent to backend!Vite's module resolution transforms relative imports to absolute paths. When you import
../api/hooks/usePeople.js from a page, Vite resolves it to /api/hooks/usePeople.js.
The proxy configuration matches paths starting with /api and forwards them to the backend
server. Since /api/hooks/usePeople.js starts with /api, it gets proxied to the backend
instead of being served as a static file.
The backend doesn't have a route for /api/hooks/usePeople.js, so it returns 404.
Option 1: Rename the client folder (Recommended)
Rename the conflicting folder to something that won't match the proxy path:
# Rename api to services (or lib, helpers, etc.)
mv src/client/api src/client/services
# Update all imports
find src/client -name "*.jsx" -o -name "*.js" | xargs sed -i '' 's|from.*['"'"'"]\.\.\/api|from "../services|g'Option 2: Use a different proxy path
Change the proxy path to something more specific:
// vite.config.js
server: {
proxy: {
'/api/v1': { // More specific path
target: 'http://localhost:3001',
changeOrigin: true,
},
},
}Option 3: Configure proxy to exclude certain patterns
Use a custom function to exclude certain paths:
server: {
proxy: {
'/api': {
target: 'http://localhost:3001',
changeOrigin: true,
bypass: (req) => {
// Don't proxy requests for JS/TS files
if (req.url.match(/\.(js|jsx|ts|tsx|mjs)$/)) {
return req.url;
}
},
},
},
}After applying the fix:
rm -rf node_modules/.vitenpm run devTest both:
curl http://localhost:5173/services/hooks/usePeople.js should return JavaScriptcurl http://localhost:5173/api/people should return JSON from backendBefore (broken):
src/client/
├── api/ ← Conflicts with proxy
│ └── hooks/
│ └── usePeople.js
├── pages/
│ └── Directory.jsx ← import from '../api/hooks/usePeople.js'
vite.config.js:
proxy: { '/api': 'http://localhost:3001' }
Result: Browser gets 404 for usePeople.jsAfter (fixed):
src/client/
├── services/ ← Renamed to avoid conflict
│ └── hooks/
│ └── usePeople.js
├── pages/
│ └── Directory.jsx ← import from '../services/hooks/usePeople.js'
vite.config.js:
proxy: { '/api': 'http://localhost:3001' } ← Unchanged
Result: Frontend files served correctly, API still proxiedapi, graphql, socket, wsnode_modules/.vite) after changing folder structure© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/vite-proxy-folder-name-conflict of divinevideo/divine-mobile.
Open the folder on GitHubat commit 6487b05
Vite Proxy Folder Name Conflict next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Vite Proxy Folder Name Conflict this skilldivinevideo/divine-mobile | 266 | — | ~1.3k | Automated safety check: Pass | MPL-2.0 | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Tailwindcss Developmentanonaddy/anonaddy | 4.9k | 10 repos | ~865 | Automated safety check: Pass | MIT | |
| React Router Developmentremix-run/react-router | 57k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| GSAP Core Animationgreensock/gsap-skills | 16k | 4 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Chakra UI v3 Builderchakra-ui/chakra-ui | 41k | — | ~3.1k | Automated safety check: Pass | MIT |
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
anonaddy/anonaddy
Always invoke when the user's message includes 'tailwind' in any form.
remix-run/react-router
Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.
greensock/gsap-skills
Covers the GSAP core API for tweens, easing, staggers, defaults and matchMedia, and when to choose GSAP over CSS animations or other JavaScript animation libraries.
chakra-ui/chakra-ui
Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.
creativetimofficial/ui
Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix 404 errors for frontend JS files when using Vite proxy. An agent skill from divinevideo/divine-mobile. Vite Proxy Folder Name Conflict is an agent skill from divinevideo/divine-mobile. Fix 404 errors for frontend JS files when using Vite proxy.
Vite Proxy Folder Name Conflict fits situations like: browser shows Failed to load resource: 404 for JS/JSX files that exist on disk; vite serves HTML instead of JavaScript for module imports; you have a client folder named api (or similar) AND a Vite proxy configured for /api.
Run `npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a claude-code`. Or copy the skill folder (.agents/skills/vite-proxy-folder-name-conflict in divinevideo/divine-mobile) into .claude/skills/vite-proxy-folder-name-conflict in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a codex`. Or copy the skill folder (.agents/skills/vite-proxy-folder-name-conflict in divinevideo/divine-mobile) into .agents/skills/vite-proxy-folder-name-conflict in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill vite-proxy-folder-name-conflict -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vite-proxy-folder-name-conflict, .gemini/skills/vite-proxy-folder-name-conflict, .github/skills/vite-proxy-folder-name-conflict and .opencode/skills/vite-proxy-folder-name-conflict in your project.
Going by SKILL.md and its folder, Vite Proxy Folder Name Conflict needs the command-line tools its instructions call (curl and npm).
SKILL.md contains no URLs. Its commands use curl and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Vite Proxy Folder Name Conflict is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Vite Proxy Folder Name Conflict: Web Artifacts Builder (anthropics/skills, 180k stars), Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), React Router Development (remix-run/react-router, 57k stars) and GSAP Core Animation (greensock/gsap-skills, 16k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 9, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.