# Validating in Reality — Prove Fixes Against the Live System

> Treats your cURL as the acceptance test: runs it before and after a fix, checks the database, and probes negative cases.

Validating in Reality — Prove Fixes Against the Live System is a free AI agent skill on Agensi by Cristhian Zanforlin Lousa, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Cristhian Zanforlin Lousa](https://www.agensi.io/creators/cristhian-zanforlin-lousa)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-08); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/validating-in-reality-prove-fixes-against-the-live-system
- Tags: testing, api, validation, curl, api-testing, debugging, qa, bugfix

## About this skill

"The code looks right" is not the same as "it works". An endpoint can return 200 and persist nothing. A fix can pass its unit test and still leave the real request broken. This skill makes the agent prove a bugfix or feature against the running system and paste the output, instead of reasoning from the diff.

When you give it a cURL, an endpoint URL or a repro, that artifact becomes the definition of done. The workflow:

1. **Confirm the system is running** (project run command, `docker compose ps`, the port in the cURL). If it cannot be started with the documented command, the agent says so and stops. It never simulates a validation.
2. **Run the acceptance test before the change** to prove the bug reproduces (or the feature is missing).
3. **Implement the fix**, with tests as usual.
4. **Run it again after the change** and compare status, body and headers against the before output.
5. **Check persisted state** with the project's DB client or ORM shell.
6. **Try the negative cases**: missing or wrong auth, invalid payload, nonexistent ID.
7. **Drive the UI end-to-end** when the flow has one.
8. **Report with evidence**: each command and its real output, trimmed, with tokens and PII redacted.

Rules it enforces: never claim "validated" for something it did not execute, and label partial validation ("request + DB checked; UI not exercised"). Run your cURL as given rather than swapping in an endpoint that happens to pass. Don't mutate data beyond the operation under test.

It triggers when you paste a cURL or a localhost URL, or say "validate", "test it for real", "check the database" or "no assumptions". A `learnings/` folder records how your project starts, seeds, authenticates and connects to its DB, so later runs skip that discovery.

It complements automated tests rather than replacing them. Free and MIT-licensed, part of the claude-skills-czl collection.

**Source on GitHub:** [this skill](https://github.com/Cristhianzl/claude-skills-czl/tree/main/configs/agnostic/skills/validating-in-reality) · [full repository](https://github.com/Cristhianzl/claude-skills-czl)

## Known limitations

Needs your app running locally (often via docker compose) and access to its database client. If the system cannot be started, it stops instead of simulating a validation. UI checks rely on the separate playwright-cli skill; the /verify command and check-real-validation.py hook mentioned in SKILL.md are not bundled.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Validating in Reality — Prove Fixes Against the Live System skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent the AI from hallucinating that a bug is fixed?

This skill forces the AI to execute actual cURL commands and database queries against your running environment to verify bugfixes, ensuring it doesn't just "assume" a code change worked based on a diff.

### What are the technical requirements for this skill to work correctly?

The skill requires a way to run your project (like Docker or a start command) and is compatible with any agent that has filesystem and terminal access, such as Claude Dev or similar IDE-based agents.

### What specific validation steps does the agent perform beyond running a cURL?

Beyond simple status codes, the skill validates the response body, checks the database for persisted changes, probes negative cases like missing auth, and can even drive UI flows if present.

### Do I need to explain my system architecture to the agent every time I use it?

The skill automatically creates a `learnings/` folder to store your project's specific startup, seeding, and database connection protocols, allowing for faster and more reliable execution in future sessions.

### Can I use this skill alongside my existing unit and integration tests?

Yes, the skill is designed to complement your existing test suite by acting as a final "acceptance test" layer, ensuring the fix works in a live, integrated environment before you commit.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
