Secret Handling

Never read .env files or write secrets to .squad/ committed files

45 stars 11 forksWriting & Content

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Azure-Samples/agent-skills-dotnet-demo --skill secret-handling
Manual install
git clone --depth 1 https://github.com/Azure-Samples/agent-skills-dotnet-demo.git /tmp/agent-skills-dotnet-demo
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills-dotnet-demo/.squad/templates/skills/secret-handling ~/.claude/skills/secret-handling

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

## Context

Spawned agents have read access to the entire repository, including `.env` files containing live credentials. If an agent reads secrets and writes them to `.squad/` files (decisions, logs, history), Scribe auto-commits them to git, exposing them in remote history. This skill codifies absolute prohibitions and safe alternatives.

## Patterns

### Prohibited File Reads

**NEVER read these files:**
- `.env` (production secrets)
- `.env.local` (local dev secrets)
- `.env.production` (production environment)
- `.env.development` (development environment)
- `.env.staging` (staging environment)
- `.env.test` (test environment with real credentials)
- Any file matching `.env.*` UNLESS explicitly allowed (see below)

**Allowed alternatives:**
- `.env.example` (safe — contains placeholder values, no real secrets)
- `.env.sample` (safe — documentation template)
- `.env.template` (safe — schema/structure reference)

**If you need config info:**
1. **Ask the user directly** — "What's the database connection string?"
2. **Read `.env.example`** — shows structure without exposing secrets
3. **Read documentation** — check `README.md`, `docs/`, config guides

**NEVER assume you can "just peek at .env to understand the schema."** Use `.env.example` or ask.

### Prohibited Output Patterns

**NEVER write these to `.squad/` files:**

| Pattern Type | Examples | Regex Pattern (for scanning) |
|--------------|----------|-------------------------------|
Read the full skill on GitHub

Details

Skill name
secret-handling
Path
.squad/templates/skills/secret-handling/SKILL.md
License
MIT
Repo updated
10 April 2026

FAQ

What does the Secret Handling skill do?

Never read .env files or write secrets to .squad/ committed files

How do I install the Secret Handling skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Azure-Samples/agent-skills-dotnet-demo --skill secret-handling. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Secret Handling popular?

It lives in Azure-Samples/agent-skills-dotnet-demo, which has 45 GitHub stars and 11 forks.

Related skills

Agent Collaboration

45

Azure-Samples/agent-skills-dotnet-demo

Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication

AI, LLMs & Agents11

Agent Conduct

45

Azure-Samples/agent-skills-dotnet-demo

Shared hard rules enforced across all squad agents

AI, LLMs & Agents11

Architectural Proposals

45

Azure-Samples/agent-skills-dotnet-demo

How to write comprehensive architectural proposals that drive alignment before code is written

Writing & Content11

Csdn Article Publish

43

wuchubuzai2018/expert-skills-hub

csdn blog article publish skills,CSDN博客文章生成与发布技能。实现CSDN博客网站的文章的创建、保存草稿、更新和发布。适用场景:(1) 用户请求"帮我写一篇XX文章,保存到CSDN" (2) 用户请求"更新我CSDN上的某篇文章" (3) 用户请求"发布我的CSDN文章" 时调用此技能

Writing & Content

Public Claims

33

okgrit/done-is-a-claim

Write and fact-check public copy so that every figure, credential, promise and command has a receipt - a source with a locator, a command that re-derives it, or the author's own words - and remove any claim without one instead of softening it. Use when drafting or reviewing a README, release notes, a launch post or thread, slides, or a website page; and whenever a draft states a number, a ranking, a credential, a promised result or a command.

Writing & ContentIn 1 list

En Ru Translator Adv

35

miolamio/claude-skills

Professional English to Russian translation agent with three-step agentic workflow (translate, reflect, refine) and advanced editorial checks for technical documentation. Use when user asks to translate text from English to Russian, says "переведи на русский", "translate to Russian", "перевод с английского", "EN-RU", or provides English text requesting Russian translation. Handles technical documentation, marketing materials, UI strings, articles, educational content. Produces natural, idiomatic Russian that reads as if originally written by a native speaker. Enforces list parallelism, consist

Writing & Content

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.