research-software-quality

Route research software changes through proportional testing, worktree isolation, and verification workflows.

Updated Sep 11, 2026
One-click install
npx skills add https://github.com/cameronbracken/waterology-research --skill research-software-quality-cameronbracken
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: research-software-quality
Source: https://github.com/cameronbracken/waterology-research/tree/main/skills/research-software-quality
Command: npx skills add https://github.com/cameronbracken/waterology-research --skill research-software-quality-cameronbracken

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Research software work often fails because changes are made without matching the process to the risk: trivial edits get buried in ceremony while risky behavioral changes ship untested, unverified, or entangled with unrelated work in a dirty checkout. This Skill matches the workflow to each change's risk, size, and isolation needs so evidence, reproducibility, and user intent are preserved. ## Core Features & Use Cases - Risk-proportional routing: Classifies tasks from read-only inspection to publication-facing deliverables and prescribes the appropriate level of testing, isolation, and review. - Git worktree cutoff rules: Decides when an isolated worktree is required versus when working in place is safe, with machine-checked decision cases and Worktrunk or Git fallback commands. - Evidence-based completion claims: Requires running the proving command after the final change and reporting observed output before claiming work is complete, fixed, or passing. - Use Case: You need to fix a failing test in an R analysis repository while another agent session is active. The Skill directs you to create an isolated worktree, write a regression test, fix the failure at its source, rerun the reproducer, and only then report the verified result. ## Quick Start Ask the AI to fix a bug in your research codebase and let it decide the worktree, testing, and verification steps appropriate to the change.

Frequently Asked Questions about research-software-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decide whether a code change needs a Git worktree?▼

Create a worktree when the change touches executable code, tests, dependencies, CI, skills, or agent instructions, when the checkout has unrelated changes, or when another session may write. Documentation-only edits in a clean single-session checkout may be done in place.

How should I verify a bug fix before claiming it is complete?▼

Identify the command that proves the claim, run it after the final change, and read the complete output and exit status. A previous run, partial suite, or clean diff does not prove a different claim, so match each statement to fresh evidence.

When is test driven development not required for research code?▼

TDD is not required for documentation, exploratory analysis, generated files, configuration-only changes, or trivial edits. These changes still need a relevant check, but a focused failing test first is preferred only for clear behavior changes.

Does editing a skill or agent Markdown file count as a behavior change?▼

Yes. Skills and agent instructions change runtime behavior even though their files are Markdown, so they require an isolated worktree and testing of the changed behavior when practical, not documentation-only treatment.

What should I do when multiple fixes fail to resolve a bug?▼

Do not stack speculative fixes. If three distinct fixes fail, pause and reassess the architecture with the user before trying another approach, treating each failed command as evidence to investigate rather than a reason to stop.

When does a change require an independent code review?▼

Use an independent reviewer when the user requests one, the change is broad, risky, or hard to reverse, the deliverable supports a publication or consequential decision, or a fresh perspective would materially reduce uncertainty after a complex fix.