KS
Killer-Skills

local-development — how to use local-development how to use local-development, local-development setup guide, local-development vs docker, what is local-development, local-development install, local-development alternative, local-development troubleshooting, local-development and Storybook, local-development with Nx

v1.0.0
GitHub

About this Skill

Ideal for Full Stack Agents requiring streamlined local testing and development of web apps and functions. Local-development is a skill that allows users to run and test web apps and functions locally, facilitating troubleshooting and development.

Features

Runs functions locally using `npx nx run functions:serve` command
Builds functions and copies `.env.dev` to `dist/apps/functions/.env`
Starts watch mode for real-time updates
Supports Storybook for UI component development
Enables local testing and troubleshooting of web apps
Facilitates development with Nx and Node.js

# Core Topics

Maple-and-Spruce Maple-and-Spruce
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
51
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add Maple-and-Spruce/maple-and-spruce/local-development

Agent Capability Analysis

The local-development MCP Server by Maple-and-Spruce is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use local-development, local-development setup guide, local-development vs docker.

Ideal Agent Persona

Ideal for Full Stack Agents requiring streamlined local testing and development of web apps and functions.

Core Value

Empowers agents to run functions and web apps locally for testing purposes, utilizing commands like `npx nx run functions:serve` for building, serving, and troubleshooting, while also supporting Storybook integration and environment variable management via `.env.dev` files.

Capabilities Granted for local-development MCP Server

Debugging emulator issues in local development environments
Running Storybook for UI component testing and development
Testing web apps and functions locally before deployment

! Prerequisites & Limits

  • Requires local development environment setup
  • Does not support deployment or running of dev servers
  • Limited to local testing and troubleshooting, not for production use
Project
SKILL.md
1.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Local Development

When to Use

Use this skill when running the web app or functions locally, troubleshooting emulator issues, or running Storybook.

Important

The user runs functions and web app locally for testing. Claude writes code and creates PRs -- Claude does NOT deploy or run dev servers.

Running Functions Locally (user runs this)

bash
1npx nx run functions:serve

This command:

  1. Builds the functions
  2. Copies .env.dev to dist/apps/functions/.env
  3. Starts watch mode for rebuilds (background)
  4. Runs firebase serve --only functions --project=dev on port 5001

Running Web App Locally (user runs this)

bash
1npx nx run maple-spruce:serve

Runs on http://localhost:3000

Running Storybook

bash
1npx nx run maple-spruce:storybook 2# Opens http://localhost:6006

Building Storybook:

bash
1npx nx run maple-spruce:build-storybook 2# Output: dist/storybook/maple-spruce

Running Tests

bash
1npm test

Deployment

User decides when to deploy to dev. Production deploys automatically via CI/CD on merge to main.

Troubleshooting Local Functions

Emulator prompts for environment variables

The Firebase emulator is not finding the .env file. This happens when:

  • The build clears dist/apps/functions/ before the .env is copied
  • A stale watch process is interfering

Fix:

bash
1# Kill any stale processes 2pkill -f "firebase serve" 3pkill -f "nx run functions" 4 5# Clean and restart 6rm -rf dist/apps/functions 7npx nx run functions:serve

Why this happens:

  • Firebase reads .env from dist/apps/functions/
  • The nx run functions:build clears this directory
  • The serve command copies .env.dev after build, before starting the emulator
  • If ordering is wrong or stale processes exist, the emulator starts without the .env

Key indicator it's working:

i  functions: Loaded environment variables from .env.

Related Skills

Looking for an alternative to local-development or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication