Explicit configuration

From TheBushidoCollective/han · View interactive version

Explicit configuration is an AI agent skill from the GitHub repository TheBushidoCollective/han. Prefer explicit configuration over framework defaults to prevent environment-dependent failures

How to use this skill

Skill file

Explicit Configuration

Name

han-core:explicit-configuration

Description

When configuring services, APIs, or framework features, explicitly set all parameters rather than relying on defaults. Defaults vary across versions, environments, and frameworks.

Principle

What works with defaults in development may fail in production. Explicit configuration is documentation that runs.

Examples

Database connections:

API calls:

Framework config:

Security settings:

Anti-Pattern

createServer()  // relies on default port, middleware, error handling

Pattern

createServer({
  port: config.PORT,
  timeout: 30000,
  cors: { origin: config.ALLOWED_ORIGINS }
})

When to Apply

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.