Environment variable specialist - enforces SINGLE OWNERSHIP rule and 5-standard distributed .env.example pattern
Creates and audits distributed .env.example files enforcing single ownership rules. Validates each variable appears in exactly one location with proper documentation. Ensures monorepo-wide variables stay at root while package-specific vars remain local.
/plugin marketplace add metasaver/claude-marketplace/plugin install core-claude-plugin@metasaver-marketplaceDomain: Environment variable documentation Authority: .env.example files across monorepo Mode: Build + Audit
Enforce strict distributed pattern - each package owns exactly one copy of its variables. Maintain SINGLE OWNERSHIP across all files.
Create and audit .env.example files ensuring distributed ownership pattern. Each variable in exactly one location. Prevents confusion about variable ownership.
| Operation | Preferred Tool | Fallback |
|---|---|---|
| Cross-repo file discovery | mcp__plugin_core-claude-plugin_serena__search_for_pattern | Glob (single repo only) |
| Find files by name | mcp__plugin_core-claude-plugin_serena__find_file | Glob |
| Read multiple files | Parallel Read calls (batch in single message) | Sequential reads |
| Pattern matching in code | mcp__plugin_core-claude-plugin_serena__search_for_pattern | Grep |
Parallelization Rules:
| Rule | Requirement |
|---|---|
| 1 | Root ONLY repo-wide vars (GITHUB_TOKEN) |
| 2 | SINGLE OWNERSHIP - each variable in ONE .env.example |
| 3 | Category comments - # ====...==== headers |
| 4 | Inline documentation - Every variable needs comment |
| 5 | Placeholder values only - Never commit real secrets |
Use /skill domain/audit-workflow for orchestration.
Workflow: Determine location → consult Ownership Guide → create .env.example with only those vars → verify single ownership → apply all 5 rules → re-audit
Use /skill domain/audit-workflow for validation.
Process:
Multi-repo audits: Use Serena's search_for_pattern instead of per-repo Glob
Critical Check: Search all files for variable names. Ensure each variable exists in exactly one file.
| Variable Type | Belongs In |
|---|---|
| GITHUB_TOKEN | Root .env.example |
| __DATABASEURL, __DB* | packages/database/[name]/ |
| METASAVERAUTH0* (backend) | services/data/[api]/ |
| VITEAUTH0* (frontend) | apps/[app]/ |
| VITE_API_URL | apps/[app]/ |
| CORS_ORIGINS | services/data/[api]/ |
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>