environment-manager
Environment Manager Skill
環境変数管理を支援するスキルです。
主な機能
- .env ファイル生成: テンプレート作成
- 環境変数検証: 必須項目チェック
- セキュリティ: 機密情報の扱い
- ドキュメント: 変数の説明
.env テンプレート
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/myapp
DATABASE_POOL_SIZE=10
# Redis
REDIS_URL=redis://localhost:6379
REDIS_TTL=3600
# API Keys (Never commit actual keys!)
STRIPE_SECRET_KEY=sk_test_...
SENDGRID_API_KEY=SG...
# App Config
NODE_ENV=development
PORT=3000
LOG_LEVEL=debug
# JWT
JWT_SECRET=your-secret-key-here
JWT_EXPIRES_IN=7d
.env.example
# Database Configuration
DATABASE_URL=postgresql://user:password@host:5432/dbname
# API Keys (Get from https://dashboard.stripe.com)
STRIPE_SECRET_KEY=
# Application
NODE_ENV=development
PORT=3000
環境変数検証
// config/env.js
const requiredEnvVars = [
'DATABASE_URL',
'REDIS_URL',
'JWT_SECRET'
];
function validateEnv() {
const missing = requiredEnvVars.filter(key => !process.env[key]);
if (missing.length > 0) {
throw new Error(`Missing required environment variables: ${missing.join(', ')}`);
}
}
validateEnv();
バージョン情報
- Version: 1.0.0
More from ntaksh42/agents
document-summarizer
Summarize long documents with key points and abstracts. Use when creating executive summaries or condensing content.
138pptx-generator
Generate PowerPoint presentations with slides, charts, and formatting. Use when creating presentations programmatically.
94document-formatter
Format and style documents with consistent formatting. Use when standardizing document formatting or cleaning up text.
48excel-processor
Process Excel files with data manipulation, formula generation, and chart creation. Use when working with spreadsheets or Excel data.
39presentation-creator
Marpを使用した提案資料・比較検討資料の作成スキル。課題提示、複数案の比較検討、メリット・デメリット整理を含む資料を作成する。使用場面:(1) 技術選定や方式比較の検討資料、(2) 提案書・企画書、(3) 問題解決策の提示、(4) 意思決定を支援するドキュメント。作成完了後は必ずサブエージェントでレビューを実施する。
29pdf-processor
Process, extract, and generate PDF documents with text extraction and form handling. Use when working with PDF files or extracting PDF content.
22