What problem does it solve?
Agents currently may read environment secrets from files like .env and inadvertently write secrets to .squad/ committed files, risking credential leakage and exposure in git history. This skill codifies strict prohibitions and safe alternatives to prevent such leakage.
Core Features & Use Cases
- Prohibited File Reads: NEVER read files such as .env, .env.local, .env.production, .env.development, .env.staging, .env.test, or any .env.* unless explicitly allowed; use .env.example, .env.sample, or .env.template for schema and testing.
- Prohibited Output Patterns: Prevent secrets from appearing in .squad/ decisions, logs, or history; replace with placeholders and redact sensitive content.
- Safe Guidance & Validation: Enforce user prompts to ask for credentials or read from safe placeholders; includes pre-commit validation to block commits containing secrets.
Quick Start
Enable the secret-handling policy by activating this skill in your agent workflow to prevent reading .env files and writing secrets to .squad/ committed files.