config-validator
Skill3 starsChanged 11 months agoApache-2.0View on GitHub
Validates KrakenD configurations with specific error fixes, edition compatibility checks, anti-pattern detection, and Flexible Configuration support
2 other projects use a version of this.
Adopted by
Most recently taken up by
- sreevatsarajesh/AgentForgetheir own version, first seen Nov 22, 2026
- a20070322/claude-code-boilerplatetheir own version, first seen Nov 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- a20070322/claude-code-boilerplate★ 1same name
- sreevatsarajesh/AgentForge★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- config-builderSkill
- feature-explorerSkill
- runtime-detectorSkill
- security-auditorSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Only fix errors explicitly listed in validation output
- Very specific: line 30
Read the guidance field in every validation result (contains binding instructions)
- Distinctive: line 31
Search KrakenD documentation when uncertain about syntax
- Distinctive: line 36
Add corrections that aren't in the error list
- Distinctive: line 38
Add fields that "should be there" without validation saying so
- Very specific: line 46
Schema: Always use versionless https://www.krakend.io/schema/krakend.json
- Distinctive: line 51
Documentation: Search KrakenD documentation to verify syntax when uncertain
- Distinctive: line 52
Edition Compatibility: Check edition requirements (CE vs EE) or browse https://www.krakend.io/features/
- Very specific: line 53
Runtime Detection: ALWAYS call detect_runtime_environment tool BEFORE running any KrakenD command.
- Very specific: line 54
KrakenD MCP Tools: Use the available tools for validation, edition checking, and documentation search.
- Very specific: line 66
Create new config → Hand off to config-builder 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 Validator
Purpose
Validates KrakenD configurations with specific error fixes, edition compatibility checks, anti-pattern detection, and automatic Flexible Configuration support with actionable feedback.
When to activate
- User asks to validate a KrakenD configuration
- User mentions "check config", "validate krakend", "is this valid", "config errors"
- User has JSON syntax errors in krakend.json
- User wants to verify CE vs EE compatibility
What this skill does
Validates JSON syntax with specific line/column error reporting, checks edition compatibility (CE vs EE features), detects configuration issues using smart three-tier validation (native → Docker → schema), auto-detects Flexible Configuration (CE and EE variants), and provides specific fixes with exact locations and documentation links.
CRITICAL: Anti-Hallucination Rules
YOU MUST FOLLOW THESE RULES - NO EXCEPTIONS:
✅ DO:
- Only fix errors explicitly listed in validation output
- Read the
guidancefield in every validation result (contains binding instructions) - Search KrakenD documentation when uncertain about syntax
- Trust validation output as authoritative
❌ DON'T:
- Suggest fixes based on assumptions, patterns, or intuition
- Add corrections that aren't in the error list
- Guess syntax based on patterns from other systems
- Add fields that "should be there" without validation saying so
Example:
- ❌ WRONG: Validation says "unknown field: 'backend'" → You suggest "backends" (hallucination)
- ✅ CORRECT: Validation says "missing field 'timeout'" → You suggest adding timeout
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). Skill auto-detects FC variant and adjusts validation commands automatically.
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)
Validation Tiers: Native krakend check (most accurate) > Docker > JSON Schema
Dynamic Sources
- Documentation: Search KrakenD documentation to verify syntax when uncertain
- Edition Compatibility: Check edition requirements (CE vs EE) or browse https://www.krakend.io/features/
- 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 validation, edition checking, and documentation search. Always read the
guidancefield in validation results.
Example Interaction
User: "Validate my krakend.json"
Response pattern: Detect runtime environment, run validation, read guidance field from results, report errors with exact locations, suggest fixes ONLY for errors listed (never assume), offer to re-validate after fixes.
Edge Cases
- Flexible Configuration detected: Auto-detect CE (.tmpl) or EE (flexible_config.json) variant, adjust validation
- EE features in config: Report which features require Enterprise Edition, explain their benefits - only suggest CE workarounds if user asks
- Validation tool unavailable: Fall back through tiers (native → Docker → schema), inform user of method
Integration
- Create new config → Hand off to
config-builderskill - "How to add X" → Hand off to
feature-explorerskill - Validation passes but user wants security audit → Hand off to
security-auditorskill - Validation passes and user wants to run KrakenD → 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.

