configuration-and-secrets
Skill198 starsChanged 5 days agoMITView on GitHub
Manage application configuration, environment separation, secrets, feature flags, and operational settings safely across development, test, and production.
In this repository20 other files it gives its agents.
- api-designSkill
- application-securitySkill
- apply-renovate-prsSkill
- architecture-guidelinesSkill
- authentication-authorizationSkill
- data-access-and-migrationsSkill
- database-designSkill
- deployment-and-deliverySkill
- external-integrations-and-messagingSkill
- java-code-reviewSkill
- jspecify-skillSkill
- observabilitySkill
- pair-programmingSkill
- progenSkill
- reliability-and-performanceSkill
- spec-writerSkill
- spring-boot-skillSkill
- spring-modulith-verifierSkill
- technical-decision-makingSkill
- testing-strategySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 14 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 12
Use when adding configuration, credentials, feature flags, environment-specific behavior, or deployment settings.
- Distinctive: line 16
Keep environment-specific values outside source code where practical.
- Distinctive: line 17
Treat secrets differently from ordinary configuration.
- Distinctive: line 18
Never commit credentials, private keys, access tokens, or production connection strings.
- Distinctive: line 19
Use an approved secret manager or protected deployment secret store.
- Distinctive: line 23
Avoid configuration sprawl and duplicated sources of truth.
- Distinctive: line 25
Keep feature flags temporary unless they are intentionally part of product configuration.
- Distinctive: line 34
Document required values and safe examples.
- Distinctive: line 35
Verify startup behavior for missing, malformed, and invalid configuration.
- Distinctive: line 38
Do not expose secrets in logs, diagnostics, crash reports, client-side bundles, or error messages.
- Distinctive: line 39
Do not use a secret as a feature flag or ordinary configuration value.
- Distinctive: line 41
Avoid copying production secrets into developer machines or test environments.
- Distinctive: line 42
Ensure backups and exported configuration do not leak credentials.
- Distinctive: line 54
Do not invent actual secret values.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Inventory configuration values and classify each as non-sensitive, sensitive, or environment-specific.
- Define the authoritative source for each value.
- Establish naming, typing, validation, and precedence conventions.
- Provide safe local development and test configuration without production secrets.
- Inject secrets at runtime through controlled mechanisms.
- Define rotation, revocation, and incident response for credentials.
- Document required values and safe examples.
- 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

