Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:19:22 +08:00
commit bfadf58584
8 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{
"name": "environment-config-manager",
"description": "Manage environment configurations and secrets across deployments",
"version": "1.0.0",
"author": {
"name": "Claude Code Plugins",
"email": "[email protected]"
},
"skills": [
"./skills"
],
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# environment-config-manager
Manage environment configurations and secrets across deployments

25
commands/env-config.md Normal file
View File

@@ -0,0 +1,25 @@
---
description: $(echo "$description" | cut -d' ' -f1-5)
---
# $(echo "$name" | sed 's/-/ /g' | sed 's/\b\(.\)/\u\1/g')
$(echo "$description")
## Key Features
- Production-ready configurations
- Best practices implementation
- Security-first approach
- Scalable architecture
- Comprehensive documentation
- Multi-platform support
## Example Usage
This plugin generates complete configurations for your DevOps needs.
Specify your requirements and get production-ready code instantly.
## When Invoked
Generate configurations and setup code based on your specific requirements and infrastructure needs.

61
plugin.lock.json Normal file
View File

@@ -0,0 +1,61 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/devops/environment-config-manager",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "7a42e584bd517c8afb881921d6fb568bcc3edeab",
"treeHash": "86248e9abd74adb0fc7be83443eef6455c7a180af8cdd26202c8e76b20ea7531",
"generatedAt": "2025-11-28T10:18:25.895976Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "environment-config-manager",
"description": "Manage environment configurations and secrets across deployments",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "471e11cccbf99bf860c7006a6162b5c1f9889dfe8bd55d52e3582e45dde9dac5"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "96fae1d2a90faefdc16406ce0ea7b44579742060bbe643af6cb91a254ec1e8e9"
},
{
"path": "commands/env-config.md",
"sha256": "353f80054a90cda1e6716da3628115ce829307fbbb83a15b64f1d37c96224a99"
},
{
"path": "skills/environment-config-manager/SKILL.md",
"sha256": "9bca3ebc7fc48214090f0d440ce966333c229008e1dcae383dfb56c2218b2ecb"
},
{
"path": "skills/environment-config-manager/references/README.md",
"sha256": "b89ab5558d435c39eb2732ad28250b11eb8638b0ad7874c6372ec4d1fa76c081"
},
{
"path": "skills/environment-config-manager/scripts/README.md",
"sha256": "300d55646086dd230a8fed3a3ad3360e17b8bae308cbeb39b5d61dbe7743fb74"
},
{
"path": "skills/environment-config-manager/assets/README.md",
"sha256": "f74501cfac189a0e7d14896eb8c76fe9a79c6cc19430628d6fd7ccad6b2d208d"
}
],
"dirSha256": "86248e9abd74adb0fc7be83443eef6455c7a180af8cdd26202c8e76b20ea7531"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}

View File

@@ -0,0 +1,52 @@
---
name: managing-environment-configurations
description: |
This skill enables Claude to manage environment configurations and secrets across different deployments using the environment-config-manager plugin. It is invoked when the user needs to generate, update, or retrieve configuration settings for various environments (e.g., development, staging, production). Use this skill when the user explicitly mentions "environment configuration," "secrets management," "deployment configuration," or asks to "generate config files". It helps streamline DevOps workflows by providing production-ready configurations based on best practices.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---
## Overview
This skill empowers Claude to interact with the environment-config-manager plugin to handle environment-specific configurations and sensitive information. It ensures consistency and security across different deployment stages.
## How It Works
1. **Receiving User Request**: Claude receives a request related to environment configuration or secrets management.
2. **Invoking Plugin**: Claude invokes the environment-config-manager plugin with the user's specifications.
3. **Generating Configuration**: The plugin generates the required configuration files or settings based on the input.
## When to Use This Skill
This skill activates when you need to:
- Generate environment-specific configuration files.
- Manage secrets and sensitive information for different deployments.
- Update existing configuration settings for a specific environment.
## Examples
### Example 1: Generating Production Configuration
User request: "Generate a production configuration for my web application using best practices for security and scalability."
The skill will:
1. Invoke the environment-config-manager plugin to generate a production configuration file.
2. Return the generated configuration file to the user.
### Example 2: Updating Development Environment Variables
User request: "Update the database connection string in the development environment configuration to 'new_db_string'."
The skill will:
1. Invoke the environment-config-manager plugin to update the specified environment variable.
2. Confirm the update to the user.
## Best Practices
- **Specificity**: Provide specific details about the environment and the desired configuration settings.
- **Security**: Always prioritize secure storage and handling of sensitive information, such as API keys and database credentials.
- **Version Control**: Maintain version control of your configuration files to track changes and facilitate rollbacks.
## Integration
This skill can be integrated with other deployment and automation tools to streamline the entire DevOps pipeline. It also complements skills related to code generation and infrastructure provisioning.

View File

@@ -0,0 +1,7 @@
# Assets
Bundled resources for environment-config-manager skill
- [ ] config_templates/: Directory containing templates for various configuration file formats (YAML, JSON, .env) for different environments.
- [ ] example_data/: Example data structures for different configuration scenarios.
- [ ] validation_schemas/: JSON schemas for validating configuration files.

View File

@@ -0,0 +1,9 @@
# References
Bundled resources for environment-config-manager skill
- [ ] env_config_best_practices.md: A guide to best practices for managing environment configurations, including security considerations and version control.
- [ ] supported_config_formats.md: Documentation on the supported configuration file formats (e.g., YAML, JSON, .env) and their specific syntax requirements.
- [ ] api_documentation.md: Detailed API documentation for interacting with the environment configuration management system.
- [ ] security_guidelines.md: Security guidelines for storing and accessing sensitive configuration data.
- [ ] example_configurations.md: Example configuration files for different environments (development, staging, production).

View File

@@ -0,0 +1,10 @@
# Scripts
Bundled resources for environment-config-manager skill
- [ ] generate_config.py: Generates environment configuration files based on specified parameters and templates.
- [ ] update_config.py: Updates existing environment configuration files with new values.
- [ ] retrieve_config.py: Retrieves specific configuration values or entire configuration files for a given environment.
- [ ] validate_config.py: Validates the syntax and structure of environment configuration files.
- [ ] encrypt_secrets.py: Encrypts sensitive information (secrets) within configuration files.
- [ ] decrypt_secrets.py: Decrypts secrets within configuration files for authorized access.