Claude-skill-registry config-setup
Sets up configuration files, environment variables, and project configuration. Use when setting up project configuration, environment setup, or configuration management. Creates config files, .env examples, and configuration documentation.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/config-setup" ~/.claude/skills/majiayu000-claude-skill-registry-config-setup && rm -rf "$T"
manifest:
skills/data/config-setup/SKILL.mdsource content
Config Setup Skill
Instructions
- Analyze configuration requirements from task
- Identify what needs to be configured (database, API keys, environment, etc.)
- Create configuration files
- Set up environment variable management
- Create .env.example file
- Document configuration
- Return implementation with:
- Configuration files
- Environment variable setup
- .env.example file
- Configuration documentation
Examples
Input: "Set up environment configuration" Output:
// config/index.js require('dotenv').config(); module.exports = { port: process.env.PORT || 3000, database: { host: process.env.DB_HOST || 'localhost', port: process.env.DB_PORT || 5432, name: process.env.DB_NAME, user: process.env.DB_USER, password: process.env.DB_PASSWORD }, jwt: { secret: process.env.JWT_SECRET, expiresIn: process.env.JWT_EXPIRES_IN || '24h' }, nodeEnv: process.env.NODE_ENV || 'development' };
# .env.example PORT=3000 NODE_ENV=development DB_HOST=localhost DB_PORT=5432 DB_NAME=myapp DB_USER=postgres DB_PASSWORD= JWT_SECRET=your-secret-key-here JWT_EXPIRES_IN=24h
Configuration Areas
- Environment Variables: .env files, environment setup
- Application Config: App configuration, feature flags
- Database Config: Database connection, migration config
- API Config: External API keys, endpoints
- Build Config: Build tools, bundlers, compilers
- Deployment Config: Deployment-specific settings
- Development Config: Local development setup
Best Practices
- No Secrets in Code: Use environment variables for secrets
- .env.example: Provide example file with all required variables
- Documentation: Document all configuration options
- Validation: Validate configuration on startup
- Defaults: Provide sensible defaults where appropriate
- Environment-Specific: Different configs for dev/staging/prod