Serve
Description
--- description: Start a local http server on 127.0.0.1:4567 to avoid file:// CORS issues. Required for React/Babel artifacts that load external .jsx files. argument-hint: [port] allowed-tools: Bash(python3:*) Bash(lsof:*) Bash(sleep:*) Bash(curl:*) --- # Serve Start a local http server on port `$0` (default 4567). Needed for any artifact that loads external `.jsx` through `<script src>` + `type="text/babel"` — Babel-standalone uses XHR, which fails on `file://` due to CORS. ## Steps 1. Port
Installation
Installs to ~/.claude/commands/bluzir-claude-code-design-serve.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/bluzir/claude-code-design/HEAD/.claude/commands/serve.md -o ~/.claude/commands/bluzir-claude-code-design-serve.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development