OpenParable
Skip to content
← Back to skills

Logs Repro Harness

Testing & Quality
logs-repro-harness

Logs Repro Harness is an Agent Skill for testing & quality published in the pilinux/gorest repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Reduce flaky or environment-dependent failures to a minimal, reproducible script and capture the exact logs and error lines.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/pilinux/gorest/blob/HEAD/.agents/skills/logs-repro-harness/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/logs-repro-harness, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Logs Repro Harness

When to Use

  • An issue is flaky, hard to reproduce locally, or depends on environment configuration.

Responsibilities

  • Produce the smallest reproducible commands that trigger the failure.
  • Capture key log lines, stack traces, and environment differences needed to reproduce.
  • Provide targeted probes to distinguish root-cause hypotheses.

Rules

  • Never request or reveal secrets.
  • Use source setTestEnv.sh when environment variables are required.
  • Prefer go test -run <TestName> <pkg> for focused reproduction.

Output

  • Minimal repro: 1-3 commands.
  • Observed output: first actionable error or stack lines.
  • Hypotheses: 1-3 candidates with next probe commands.

Examples

  • "Test X passes locally but fails in CI" - compare env vars, capture output diff.
  • "Intermittent timeout in Redis test" - isolate with CONNTTL tuning and retry logic.

Related Skills

  • test-runner, fix-suggester, config-loader-helper

References

  • logs/ directory, setTestEnv.sh, AGENTS.md