ai-output-validation
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output enforcement, schema validation, and…
Prevents overengineering by enforcing minimum viable code. No speculative features, no premature abstractions, no unnecessary complexity.
$ npx -y skills add DevelopersGlobal/ai-agent-skills --skill simplicity-first --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/simplicity-firstContext preview
The summary Claude sees to decide when to auto-load this skill.
Prevents overengineering by enforcing minimum viable code. No speculative features, no premature abstractions, no unnecessary complexity.
name: simplicity-first description: Prevents overengineering by enforcing minimum viable code. No speculative features, no premature abstractions, no unnecessary complexity. category: build applies-to: [claude, gemini, cursor, copilot, any] version: 1.0.0
AI agents trend toward complexity. They add abstractions "for flexibility," error handling for impossible cases, and configuration for things that will never change. Left unchecked, they turn 50-line solutions into 500-line systems.
This skill enforces a hard constraint: **write the minimum code that solves the stated problem and nothing more.**
Andrej Karpathy's observation: *"They really like to overcomplicate code and APIs, bloat abstractions, don't clean up dead code... implement a bloated construction over 1000 lines when 100 would do."*
1. State what the code **must** do — write it as a list of requirements. 2. For each potential addition, ask: *"Was this explicitly requested?"*
3. Write the simplest possible implementation that satisfies each requirement.
**Verify:** You can trace every line of code back to a stated requirement.
4. After writing, read through the code and flag:
5. Ask: *"Would a senior engineer call this overcomplicated?"* If yes, simplify.
**Verify:** Each abstraction is used in at least 2 places; each parameter is actually varied.
6. If your solution is more than 3× the length you'd expect for the task, something is wrong. 7. Actively look for ways to reduce line count without sacrificing readability.
> Rule of thumb: If 200 lines could be 50, rewrite it.
**Verify:** You've made at least one active attempt to reduce complexity.
8. Run the tests. All pass? 9. Manually check the primary use case. 10. Check that no pre-existing tests regressed.
**Verify:** All tests pass. No regressions.
| Excuse | Rebuttal | |--------|----------| | "We might need this later" | YAGNI. Add it when you need it. Unused code is a liability. | | "The abstraction makes it more flexible" | Flexibility you don't need adds complexity you always pay for. | | "I'm following the existing patterns" | Don't cargo-cult complex patterns into simple contexts. | | "It's only a few more lines" | Every extra line is a line to maintain, debug, and understand. | | "This is more robust" | Robust against what? Name the failure mode you're defending against. |
AI agent skills for production grade applications
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output enforcement, schema validation, and…
Design stable, versioned, self-documenting APIs. Easy to use correctly, hard to use incorrectly. Apply Hyrum's Law from day one.
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the deployment path.
Get layered, context-aware explanations of unfamiliar code. Understand what it does, why it was written that way, and how to work with it safely.
Structured code review focusing on correctness, security, and maintainability. Correctness before style. Every reviewer comment must be actionable.
Load minimum necessary context into agent context windows. Prevents token bloat, reduces cost, and improves focus. Only load what the current task needs.