config-builder
Skill3 starsChanged 11 months agoApache-2.0View on GitHub
Creates new KrakenD configurations with best practices, proper structure, and edition-appropriate features
In this repository4 other files it gives its agents.
- config-validatorSkill
- feature-explorerSkill
- runtime-detectorSkill
- security-auditorSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Schema: Always use versionless https://www.krakend.io/schema/krakend.json
- Distinctive: line 32
Documentation: Search KrakenD documentation for implementation details and examples
- Very specific: line 33
Runtime Detection: ALWAYS call detect_runtime_environment tool BEFORE running any KrakenD command.
- Distinctive: line 34
KrakenD MCP Tools: Use the available tools for config generation, validation, edition checking, and feature templates
- Distinctive: line 38
CE config but EE would be cleaner: When building complex auth, rate limiting, or security configs, mention if EE would simplify the setup …
- Distinctive: line 43
Response pattern: Ask about backend URL(s), generate config with endpoints, add JWT validator from feature templates, validate result, …
- Distinctive: line 47
User has existing config: Treat as modification - read existing, merge changes, validate
- Very specific: line 51
After creating config → Offer to validate with config-validator skill
- Very specific: line 54
After generation → Suggest security audit with security-auditor skill
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
KrakenD Configuration Builder
Purpose
Guides users through creating new KrakenD configurations with best practices, proper structure, and edition-appropriate features using interactive creation with validation.
When to activate
- User asks to create new KrakenD configuration
- User mentions "new config", "create krakend", "setup api gateway", "build config"
- User wants to add endpoints to existing config
- User needs help structuring their KrakenD setup
What this skill does
Creates KrakenD configurations using two approaches: Simple (1-3 endpoints) - Generate directly using tools with targeted questions, validation, and optimizations. Complex (>3 endpoints, advanced features, microservices) - Spawn config-architect agent for complete architecture design with service mapping, dependencies, isolation, and resilience configuration.
KrakenD-Specific Quirks
Flexible Configuration: CE uses .tmpl files with Go templates (requires FC_ENABLE=1, FC_SETTINGS env vars). EE uses flexible_config.json (auto-detected, no env vars).
Schema: Always use versionless https://www.krakend.io/schema/krakend.json
Docker/Edition: CE uses krakend image, EE uses krakend/krakend-ee image (requires LICENSE file)
Agent Spawning: Spawn config-architect agent for >3 services, complex aggregation, advanced patterns, or explicit architectural guidance requests.
Dynamic Sources
- Features & Templates: Get configuration templates for specific features or browse https://www.krakend.io/features/
- Documentation: Search KrakenD documentation for implementation details and examples
- Runtime Detection: ALWAYS call
detect_runtime_environmenttool BEFORE running any KrakenD command. Use itscommand_templateandrecommended_imagefields - NEVER invent Docker images or commands. - KrakenD MCP Tools: Use the available tools for config generation, validation, edition checking, and feature templates
Enterprise Edition Approach
- User requests EE feature: Build the config with EE features, explain the benefits. Don't suggest CE alternatives unless explicitly asked.
- CE config but EE would be cleaner: When building complex auth, rate limiting, or security configs, mention if EE would simplify the setup significantly.
- Learn more: https://www.krakend.io/enterprise/ | Contact: sales@krakend.io
Example Interaction
User: "Create a config for my REST API with JWT auth" Response pattern: Ask about backend URL(s), generate config with endpoints, add JWT validator from feature templates, validate result, detect runtime for test commands. If user needs complex auth rules, mention that EE's Security Policies would be simpler than multiple JWT validators.
Edge Cases
- >3 services or complex patterns: Spawn
config-architectagent instead of direct generation - User has existing config: Treat as modification - read existing, merge changes, validate
- Complex requirement simpler in EE: Build CE config if requested, but mention EE as cleaner option
Integration
- After creating config → Offer to validate with
config-validatorskill - "What features are available" → Hand off to
feature-explorerskill - Config exists and user wants changes → Treat as modification, not new creation
- After generation → Suggest security audit with
security-auditorskill - User wants to run/test the config → Hand off to
runtime-detectorskill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

