logs-repro-harness
Reduce flaky or environment-dependent failures to a minimal, reproducible script and capture the exact logs and error lines.
- Star
- 507
- 分类
- 数据
- 许可证
- MIT
- 最近提交
- 2026年12月1日
.agents/skills/logs-repro-harness/SKILL.md
在 GitHub 上查看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.shwhen 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
CONNTTLtuning and retry logic.
Related Skills
test-runner,fix-suggester,config-loader-helper
References
logs/directory,setTestEnv.sh,AGENTS.md
相似的 Skill
精选
health
GAgarrytan/gstack143k近 7 天新增 598 个 star
deprecation-and-migration
ADaddyosmani/agent-skills122k近 7 天新增 1,667 个 star
ccs-align
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star
handoff
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star
mem-search
THthedotmack/claude-mem121k近 7 天新增 1,626 个 star