test
Run tests iteratively fixing code or tests until all pass, then commit.
Arguments: $ARGUMENTS (optional scope)
- commit: Test only staged files
- pr: Test all files changed in the current PR
- all: Run full test suite
- If no argument provided:
- If in a PR branch: defaults to 'pr'
- Otherwise: defaults to 'commit'
Phase 1: Scope and Test Discovery
- Determine scope based on $ARGUMENTS
- Discover test framework (pytest, testthat, jest, Pkg.test, etc.)
- Identify test file patterns (test_*.py, .test.js, test-.R)
- Check for untested new features and flag them
Phase 2: Create Missing Tests
- For new features without tests:
- Follow existing test patterns in the codebase
More from seabbs/claude-code-config
taskfile-automation
Expert guidance for using Task (taskfile.dev) automation tool to discover and execute project development commands
1.2Kacademic-writing-standards
Expert knowledge of academic writing standards for peer-reviewed papers, including citation integrity, style compliance, clarity, and scientific writing best practices. Use when reviewing or editing academic manuscripts, papers, or research documentation.
25analyzing-research-papers
Expert methodology for analyzing and summarizing research papers, extracting key contributions, methodological details, and contextualizing findings. Use when reading papers from PDFs, DOIs, or URLs to create structured summaries for researchers.
25grant-compliance-checking
Expert knowledge of research grant compliance requirements, deliverables tracking, and funder expectations. Use when reviewing work against grant specifications, preparing progress reports, or ensuring alignment with funding requirements from NSF, NIH, EU, and other agencies.
7r-development
Expert guidance for R package development following best practices for devtools, testthat, roxygen2, and R ecosystem tools
7project-organization
Expert guidance for setting up and organizing research software projects following Sam Abbott's established patterns for R packages, Julia packages, and research projects
6