Ir al contenido

Skills

verify-before-claiming

Before reporting a task as done, run the check that would fail if it were not — an explanation is not a fix.

PatrónProcedencia: cleanEstado: activev0.1.0 · Apache-2.0

Conferida por quien revisó y leyó la tarjeta, no reclamada por el propio archivo. Una tarjeta que el agente destila durante una ejecución que consumió contenido no confiable nace contaminada y queda retenida para revisión antes de ser recuperada.

Cuándo viene a la mente

  • finished the change
  • about to report success
  • the fix looks right
  • summarising what was done

Evita y Comprueba es donde suele estar el valor. Haz es la sección que todo el mundo escribe.

Disparador

You are about to say a task is complete. Anything from "fixed the bug" to "updated the config" to "the tests should pass now".

It does not apply when the task was genuinely to explain, review or investigate something. Those finish with an answer, and demanding a diff from them is its own mistake.

Haz

  1. Name the observable that would be different if the work had happened. A file whose contents changed, a command whose exit code flipped, a row that now exists.
  2. Check that observable. Actually run the command, actually read the file back.
  3. Report what you saw, including the command and its output — not your expectation of it.
  4. If nothing observable changed, say that plainly instead of describing the change you intended.

Evita

Reporting the plan as the outcome. The failure reads like: "I updated the handler to check the token before branching" — fluent, specific, technically accurate about the intent, and describing an edit that was never written to disk.

It is tempting because a convincing explanation feels like evidence. It is not. The explanation is produced by the same process that would produce it whether or not the edit landed, so it carries no information about whether it did.

Also avoid checking something adjacent to the claim: running the full suite proves the suite passes, which is not the same as proving this change did this thing. Pick the check that would have failed before.

Comprueba

The claim and the evidence describe the same event, and the evidence came from the machine.

Concretely: a diff that is non-empty, a test that failed before and passes now, output pasted rather than paraphrased. If you cannot produce one, the honest report is "I could not verify this", which is a useful thing to say and takes one sentence.

Riesgo

Over-applied, this turns a two-line documentation fix into a ceremony, and there are tasks whose result genuinely is prose. The cost of the check should stay well under the cost of being wrong.

The subtler risk: a check that always passes is worse than no check, because it launders a guess into a verified claim. If the verification cannot fail, it is not verifying anything.

Cómo usarla

La tarjeta es un dato. Clona el repositorio e impórtala por ruta: lo que llega por la red se trata como contaminado y queda retenido a la espera de aprobación, que es el comportamiento deseable y la razón por la que aquí no hay un instalador de una línea.

git clone https://github.com/brcampidelli/chimera-agent.git
chimera skills-import chimera-agent/skills/verify-before-claiming/SKILL.md

Integridad

SHA-256 del archivo tal como se publicó. Quien lo importe puede comprobar que lo que recibió es lo que mostró esta página.

c3c90d1467f39a63fb73dc21f2ac4aaf176306e532a3c58954dcbbc85566c2f5

Lee la tarjeta en el repositorio