Claude-skill-registry env-standalone
Conditionally generates .env.standalone file for micro-frontend applications only. Enables running micro-frontends in standalone mode without single-spa launcher. Skipped for standalone applications.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/env-standalone" ~/.claude/skills/majiayu000-claude-skill-registry-env-standalone && rm -rf "$T"
manifest:
skills/data/env-standalone/SKILL.mdsource content
Environment Standalone Skill
Purpose
Generate
.env.standalone file for running micro-frontend applications in standalone mode (without single-spa launcher).
Note: This file should ONLY be created for micro-frontend applications (
application_type: "micro-frontend"). Standalone applications do NOT need this file.
Input Parameters
: Should be "micro-frontend" to generate this fileapplication_type
Output
Create the file:
.env.standalone (only if application_type === "micro-frontend")
Notes
- Micro-Frontend Only: This file is only relevant for micro-frontend applications
- Standalone Apps: Do NOT create this file for standalone applications
enables standalone mode for development without the launcher.env.standalone- When
, the micro-frontend app runs independentlySTANDALONE_SINGLE_SPA=true - Useful for local development and testing without single-spa dependencies
- This file can be committed to the repository (no secrets)
- Use with
or similar script (if using Vite modes)npm run dev:standalone - The application will mount directly without waiting for single-spa lifecycle