agentleFS
krakendkrakend/claude-code-plugin/skills/config-builder/SKILL.md

config-builder

Skill3 starsChanged 11 months agoApache-2.0View on GitHub

Creates new KrakenD configurations with best practices, proper structure, and edition-appropriate features

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
  1. Very specific:

    Schema: Always use versionless https://www.krakend.io/schema/krakend.json

    line 26
  2. Distinctive:

    Documentation: Search KrakenD documentation for implementation details and examples

    line 32
  3. Very specific:

    Runtime Detection: ALWAYS call detect_runtime_environment tool BEFORE running any KrakenD command.

    line 33
  4. Distinctive:

    KrakenD MCP Tools: Use the available tools for config generation, validation, edition checking, and feature templates

    line 34
  5. Distinctive:

    CE config but EE would be cleaner: When building complex auth, rate limiting, or security configs, mention if EE would simplify the setup …

    line 38
  6. Distinctive:

    Response pattern: Ask about backend URL(s), generate config with endpoints, add JWT validator from feature templates, validate result, …

    line 43
  7. Distinctive:

    User has existing config: Treat as modification - read existing, merge changes, validate

    line 47
  8. Very specific:

    After creating config → Offer to validate with config-validator skill

    line 51
  9. Very specific:

    After generation → Suggest security audit with security-auditor skill

    line 54

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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_environment tool BEFORE running any KrakenD command. Use its command_template and recommended_image fields - 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-architect agent 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-validator skill
  • "What features are available" → Hand off to feature-explorer skill
  • Config exists and user wants changes → Treat as modification, not new creation
  • After generation → Suggest security audit with security-auditor skill
  • User wants to run/test the config → Hand off to runtime-detector skill

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.