local-development — local-development install local-development, maple-and-spruce, community, local-development install, ide skills, local-development troubleshooting, local-development and Storybook, local-development with Nx, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Full Stack Agents requiring rapid 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/8/2026

Agent Capability Analysis

The local-development skill by Maple-and-Spruce is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for local-development install, local-development troubleshooting, local-development and Storybook.

Ideal Agent Persona

Ideal for Full Stack Agents requiring rapid 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 and serving functions, and supporting environments like `.env.dev` for development configurations.

Capabilities Granted for local-development

Debugging emulator issues
Running Storybook for UI component testing
Testing web apps locally before deployment

! Prerequisites & Limits

  • Requires local development environment setup
  • Does not deploy or run dev servers
  • Limited to local testing and development purposes
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

local-development

Install local-development, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

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
1pnpm exec 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
1pnpm exec nx run maple-spruce:serve

Runs on http://localhost:3000

Running Storybook

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

Building Storybook:

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

Running Tests

bash
1pnpm 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 7pnpm exec 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.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is local-development?

Ideal for Full Stack Agents requiring rapid 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.

How do I install local-development?

Run the command: npx killer-skills add Maple-and-Spruce/maple-and-spruce/local-development. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for local-development?

Key use cases include: Debugging emulator issues, Running Storybook for UI component testing, Testing web apps locally before deployment.

Which IDEs are compatible with local-development?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for local-development?

Requires local development environment setup. Does not deploy or run dev servers. Limited to local testing and development purposes.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Maple-and-Spruce/maple-and-spruce/local-development. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use local-development immediately in the current project.

Related Skills

Looking for an alternative to local-development or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

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
AI

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
AI