One-click install
npx skills add https://github.com/subinium/vibesubin --skill manage-secrets-env
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-secrets-env
Source: https://github.com/subinium/vibesubin/tree/main/plugins/vibesubin/skills/manage-secrets-env
Command: npx skills add https://github.com/subinium/vibesubin --skill manage-secrets-env

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Opinionated defaults and full lifecycle playbook for secrets and environment variables. Decides where a secret or env-specific value lives (constant, .env, CI secret, env var), scaffolds .env.example and .gitignore, and manages the lifecycle end to end — add, update, rotate, remove, migrate between buckets, audit cross-environment drift, provision new environments. High-stakes companion to project-conventions. Language-agnostic.

Core Features & Use Cases

  • Decide bucket for values (constant, .env, CI secret, env var) and when to migrate between them.
  • Scaffold baseline configuration files (.env.example) and default ignore rules (.gitignore) to prevent secret leakage.
  • Manage lifecycle end-to-end: add, update, rotate, remove, migrate, audit drift, and provision new environments.
  • Audit cross-environment drift to ensure consistency and compliance.

Quick Start

Invoke the manage-secrets-env skill to scaffold a baseline environment and enforce end-to-end secret lifecycle across your project.

Frequently Asked Questions about manage-secrets-env

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

FAQPage Schema
How do I decide where to store environment variables and secrets across development, staging, and production?

Secrets and environment variables are sorted using a four-bucket decision model: constants, .env files, CI secret stores, and environment variables. This model determines where a value lives based on its sensitivity and target environment, preventing misconfiguration and accidental leakage.

What's the best way to prevent secret leakage when scaffolding a new project environment?

To prevent secret leakage during environment scaffolding, generate baseline .env.example files and enforce strict .gitignore rules. Startup validation then checks that all required environment variables are present and correctly configured before the application fully initializes.

How do I audit cross-environment drift for secrets and environment variables?

Cross-environment drift is audited by running a dedicated audit workflow that compares secrets and environment variables across development, staging, and production. This ensures consistency and compliance by identifying missing, mismatched, or outdated configurations between environments.

Can I rotate and migrate secrets between local .env files and CI secret stores?

Yes, you can rotate and migrate secrets between local .env files and CI secret stores. The lifecycle management supports add, update, rotate, remove, and migrate workflows, allowing values to move between buckets as security requirements change.

Does this secrets lifecycle management approach work for language-agnostic projects?

Yes, this secrets lifecycle management approach is language-agnostic. It provides opinionated defaults for managing environment variables and secrets without relying on language-specific libraries, applying consistent rules across any project stack.