Resources

AI working habits

Reproduce before fixing

Investigate a reported software defect and verify a minimal correction when a concrete failure or regression is supplied.

CodexClaude CodeCursor
Pristren originalFree1.0.0 · original authored text

This original, instruction-only skill helps with a specific repeatable decision process. It does not install tools or run background jobs.

Investigate a reported software defect and verify a minimal correction when a concrete failure or regression is supplied.

Read the complete skill before saving it in a project-local skill folder. Select the appropriate tool above for the documented discovery path. Keep durable project facts in the repository’s own instructions and use this skill when its described task applies.

The text is MIT licensed. Compatibility here means the documented SKILL.md format and folder location were reviewed; Pristren has not performed a live run through each coding tool. Judge the result using the workflow’s acceptance checks.

Get install instructions.

Documentation reviewedChecked 2026-11-17

Tool setup checked against official documentation. Pristren has not executed this workflow through this tool.

  1. Use the published resource’s Download SKILL.md action, or copy its complete original SKILL.md text. Draft resources are not publicly downloadable.
  2. Save the supplied SKILL.md as .agents/skills/reproduce-before-fix/SKILL.md in the project. Review it before use.
  3. Open the project in your tool and select reproduce-before-fix by name; check that it resolves to this project-local version.
  4. Read the resource below and apply only the parts relevant to the current task.
  5. Inspect the loaded skill before using it on a representative task. This page documents setup; it has not performed the installation for you.

Create the project-local skill directory

mkdir -p .agents/skills/reproduce-before-fix
Command reference
Official setup documentation

Inspect the skill before you use it.

Download SKILL.md
Read the complete skill
---
name: reproduce-before-fix
description: Investigate a reported software defect and verify a minimal correction when a concrete failure or regression is supplied.
---

# Reproduce before fixing

Convert the reported symptom into a repeatable input and expected behavior. Record the environment and the exact observable failure. If a safe reproduction is unavailable, state the limitation and inspect the relevant path before changing behavior.

Trace the failing input through its call path. Identify the first point where observed behavior departs from the intended contract. Treat logs, tests, and source as evidence; do not assume the most recent edit caused the defect.

Choose the smallest change that corrects the demonstrated cause. Preserve unrelated behavior and human edits. Add a regression check when it captures a meaningful boundary or the failure is likely to return. Avoid a test that only asserts the current implementation's wording or internal structure.

Run the reproduction against the correction. Exercise the nearest relevant edge case, then the existing checks appropriate to the affected area. If a check fails for a separate reason, distinguish that failure and retain its evidence instead of suppressing it.

Report the trigger, cause, resulting behavior, verification, and any unresolved limitation. Do not claim that a defect is fixed solely because a patch compiles.

License and access: MIT for this Pristren-authored prompt or instruction text.

Part of a bigger picture.

Workflow

Investigate and fix a bug

Turn a vague failure into a reproducible case and a focused regression fix.

Prompt, setup & checksCodex / Claude Code / Cursor

Sources and review notes