smithery.ai

backend-deployment-configuration

Environment config, .env management.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,123 B
  • docs SUMMARY.md 76 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Backend Deployment Configuration

When to use this skill

  • Environment setup
  • Configuration management
  • Deployment
  • Security

Workflow

  • Use .env for config
  • Never commit .env
  • Separate dev/staging/prod
  • Validate required vars
  • Document configuration

Instructions

.env File

# .env
CI_ENVIRONMENT = production

database.default.hostname = localhost
database.default.database = myapp
database.default.username = dbuser
database.default.password = secret
database.default.DBDriver = MySQLi

JWT_SECRET = your-secret-key
API_KEY = external-api-key

Usage

<?php

$dbHost = env('database.default.hostname');
$jwtSecret = env('JWT_SECRET');

Required Vars Check

<?php

$required = ['JWT_SECRET', 'database.default.password'];
foreach ($required as $key) {
    if (!env($key)) {
        throw new \RuntimeException("Missing env var: {$key}");
    }
}

Resources

  • Use .env for all config
  • Different .env per environment
  • Never commit secrets