Production Environment

Enforce environment configuration and deployment rules for production deployments.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ECFN15/Tous-Table --skill production-environment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Production Environment
Source: https://github.com/ECFN15/Tous-Table/tree/main/.agent/skills/production
Command: npx skills add https://github.com/ECFN15/Tous-Table --skill production-environment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase, npm, and includes scripts (resource) components.

What problem does it solve?

This Skill ensures secure deployments in the production environment by providing expert guidelines and security checks.

Core Features & Use Cases

  • Deployment Security: Offers rules and workflows to secure production deployments.
  • Audit and Verification: Includes scripts to verify the environment and configuration.
  • Build and Deployment: Provides instructions for building and deploying to production.
  • Use Case: For developers deploying applications to a production environment, this Skill helps ensure that the deployment adheres to security best practices.

Quick Start

Execute the production deployment workflow by running the following commands in sequence:

firebase use prod
powershell -File .agent/skills/production/scripts/verify_prod.ps1
npm run build:prod
firebase deploy --only hosting

Frequently Asked Questions about Production Environment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure my Firebase production deployment workflow?

To secure a Firebase production deployment, you must enforce environment configuration rules and run verification scripts before building. This workflow requires the Firebase CLI to switch to the production environment and npm to execute the build and deployment commands securely.

What steps are needed to deploy to a production environment using npm and Firebase?

Deploying to production requires switching to the target Firebase environment, executing a verification script, running the npm build command, and finally deploying hosting assets. This sequence ensures environment configuration is strictly verified before any production deployment occurs.

Do I need the Firebase CLI and npm installed to enforce deployment security?

Yes, you need both the Firebase CLI and npm installed to execute this secure production deployment workflow. The Firebase CLI manages the target environment and hosting deployment, while npm handles the production build process required before release.

What does a production environment verification script check before deployment?

A production environment verification script checks your environment configuration to ensure deployment rules are met. It audits the target setup to prevent insecure builds, verifying that all security best practices are satisfied before executing the final npm build and Firebase deploy.

Can I use this deployment workflow for staging environments or is it strictly for production?

This deployment workflow is strictly designed to secure production environments. It enforces production-specific configuration rules and verification checks, meaning it should not be used for staging environments where different deployment constraints and security rules apply.

Why should I run an environment verification script before an npm production build?

Running an environment verification script before an npm production build prevents deploying misconfigured applications. It audits your current Firebase environment setup to ensure strict adherence to security rules, mitigating the risk of exposing vulnerabilities during the production deployment process.