Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Configuration And Secrets?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sivaprasadreddy-configuration-and-secrets)
---
name: configuration-and-secrets
description: Manage application configuration, environment separation, secrets, feature flags, and operational settings safely across development, test, and production.
---
# Configuration and Secrets
## Purpose
Make runtime configuration predictable, secure, validated, and manageable across environments.
## When to use
Use when adding configuration, credentials, feature flags, environment-specific behavior, or deployment settings.
## Principles
- Separate deploy-time configuration from application code.
- Keep environment-specific values outside source code where practical.
- Treat secrets differently from ordinary configuration.
- Never commit credentials, private keys, access tokens, or production connection strings.
- Use an approved secret manager or protected deployment secret store.
- Apply least privilege and rotate credentials with a defined process.
- Validate required configuration at startup and fail clearly when invalid.
- Define safe defaults; avoid insecure fallback values.
- Avoid configuration sprawl and duplicated sources of truth.
- Make configuration changes auditable and reversible.
- Keep feature flags temporary unless they are intentionally part of product configuration.
## Workflow
1. Inventory configuration values and classify each as non-sensitive, sensitive, or environment-specific.
2. Define the authoritative source for each value.
3. Establish naming, typing, validation, and precedence conventions.
4. Provide safe local development and test configuration without production secrets.
5. Inject secrets at runtime through controlled mechanisms.
6. Define rotation, revocation, and incident response for credentials.
7. Document required values and safe examples.
8. Verify startup behavior for missing, malformed, and invalid configuration.
## Security expectations
- Do not expose secrets in logs, diagnostics, crash reports, client-side bundles, or error messages.
- Do not use a secret as a feature flag or ordinary configuration value.
- Restrict who and what can read each secret.
- Avoid copying production secrets into developer machines or test environments.
- Ensure backups and exported configuration do not leak credentials.
- Rotate compromised or overexposed credentials promptly.
## Review checklist
- Is each value stored in the right place?
- Are secrets separated from ordinary configuration?
- Are required values validated?
- Are defaults safe?
- Are environment differences explicit and minimal?
- Can credentials be rotated without code changes?
- Are configuration changes traceable?
Do not invent actual secret values. Use clearly marked placeholders in examples.