Env Matrix Dev Stg Prod
БесплатноБез исполняемых скриптовНе проверенStandards for managing environments (development, staging, production) including configs, data policies, and access controls that differ per environment. This…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Env Matrix Dev Stg Prod
Skill Profile
(Select at least one profile to enable specific modules)
- DevOps
- Backend
- Frontend
- AI-RAG
- Security Critical
Overview
Standards for managing environments (development, staging, production) including configs, data policies, and access controls that differ per environment. This skill enables environment parity, reduces "works on my machine" issues, and ensures proper safety controls and compliance.
Why This Matters
- Parity: Environments are as similar as possible, reducing "works on my machine"
- Safety: Production protected, staging for testing
- Clarity: Know what each environment can do
- Compliance: Proper access controls
Core Concepts & Rules
1. Core Principles
- Follow established patterns and conventions
- Maintain consistency across codebase
- Document decisions and trade-offs
2. Implementation Guidelines
- Start with the simplest viable solution
- Iterate based on feedback and requirements
- Test thoroughly before deployment
Inputs / Outputs / Contracts
- Inputs:
- Environment variable definitions (APP_ENV, environment-specific configs)
- Access control policies and role definitions
- Data sanitization/masking rules
- Secret manager configuration per environment
- Entry Conditions:
- Secret manager is configured for each environment
- Access control policies are defined
- Data sanitization pipeline is set up (for staging)
- Outputs:
- Environment-specific configuration files
- Access control matrix documentation
- Data policy documentation
- Deployment flow documentation
- Artifacts Required (Deliverables):
- Environment configuration matrix
- Access control matrix
- Data policy document
- Secret manager setup scripts
- Acceptance Evidence:
- Staging deployment flow matches production
- Secrets are separated per environment
- Access controls are enforced
- Data policies are documented and implemented
- Success Criteria:
- Staging environment is production-like (same topology, config shape)
- Zero secret reuse across environments
- All production changes go through staging first
Skill Composition
- Depends on: config-distribution
- Compatible with: deployment-patterns, observability-packaging
- Conflicts with: Sharing secrets across environments, using production data in dev/staging
- Related Skills: secrets-key-management, tenant-aware-ops
Quick Start / Implementation Example
- Review requirements and constraints
- Set up development environment
- Implement core functionality following patterns
- Write tests for critical paths
- Run tests and fix issues
- Document any deviations or decisions
# Example implementation following best practices
def example_function():
# Your implementation here
pass
Assumptions / Constraints / Non-goals
- Assumptions:
- Development environment is properly configured
- Required dependencies are available
- Team has basic understanding of domain
- Constraints:
- Must follow existing codebase conventions
- Time and resource limitations
- Compatibility requirements
- Non-goals:
- This skill does not cover edge cases outside scope
- Not a replacement for formal training
Compatibility & Prerequisites
- Supported Versions:
- Python 3.8+
- Node.js 16+
- Modern browsers (Chrome, Firefox, Safari, Edge)
- Required AI Tools:
- Code editor (VS Code recommended)
- Testing framework appropriate for language
- Version control (Git)
- Dependencies:
- Language-specific package manager
- Build tools
- Testing libraries
- Environment Setup:
.env.examplekeys:API_KEY,DATABASE_URL(no values)
Test Scenario Matrix (QA Strategy)
| Type | Focus Area | Required Scenarios / Mocks |
|---|---|---|
| Unit | Core Logic | Must cover primary logic and at least 3 edge/error cases. Target minimum 80% coverage |
| Integration | DB / API | All external API calls or database connections must be mocked during unit tests |
| E2E | User Journey | Critical user flows to test |
| Performance | Latency / Load | Benchmark requirements |
| Security | Vuln / Auth | SAST/DAST or dependency audit |
| Frontend | UX / A11y | Accessibility checklist (WCAG), Performance Budget (Lighthouse score) |
Technical Guardrails & Security Threat Model
1. Security & Privacy (Threat Model)
- Top Threats: Injection attacks, authentication bypass, data exposure
- Data Handling: Sanitize all user inputs to prevent
Установить Env Matrix Dev Stg Prod в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Env Matrix Dev Stg Prod?
Standards for managing environments (development, staging, production) including configs, data policies, and access controls that differ per environment. This skill enables environment parity, reduces
Как установить скилл Env Matrix Dev Stg Prod?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Env Matrix Dev Stg Prod запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic