From jack-software
Identify and flag unnecessary test artifacts and temporary files in pull requests. Use when reviewing pull requests to ensure only production-relevant files are committed.
npx claudepluginhub jack-michaud/faire --plugin jack-softwareThis skill uses the workspace's default tool permissions.
Review pull request files to identify unnecessary test artifacts, temporary files, and non-production code based on naming patterns, locations, and usage.
TEST-RESULTS.mdexamples/example-1-obvious-artifacts/expected.mdexamples/example-1-obvious-artifacts/input.mdexamples/example-1-obvious-artifacts/scenario.mdexamples/example-2-ambiguous-files/expected.mdexamples/example-2-ambiguous-files/input.mdexamples/example-2-ambiguous-files/scenario.mdexamples/example-3-legitimate-test-files/expected.mdexamples/example-3-legitimate-test-files/input.mdexamples/example-3-legitimate-test-files/scenario.mdConducts systematic code reviews of GitHub pull requests, auditing CLAUDE.md compliance, bugs, git history, prior PR comments, and code comments for actionable feedback.
Performs structured code reviews for pull requests and merge requests, focusing on bugs, security vulnerabilities, correctness, and testing with actionable feedback.
Performs thorough pull request reviews with parallel agents for bugs, security issues, guideline compliance, and error handling. Provides confidence-scored feedback and batched GitHub comments.
Share bugs, ideas, or general feedback.
Review pull request files to identify unnecessary test artifacts, temporary files, and non-production code based on naming patterns, locations, and usage.
Look for files matching these patterns:
test*.md, *results.md, *output.md - Test result documentationtest_*.csv, *_test_data.csv - Test data filesscratch.py, temp.py, debug.py - Temporary scriptsoutput.txt, results.json, debug.log - Output/log filesFor each suspicious file, ask:
Location Analysis:
Usage Analysis:
Naming Convention:
Flag for removal if:
Approve if:
When flagging files:
๐ซ Unnecessary: `path/to/file.ext`
Reason: [Test artifact/temporary script/etc.]
Evidence: [Not referenced/unusual location/temporary naming]
Recommendation: Remove from PR or relocate
Context: PR includes testresults.md in project root
Application:
grep -r "testresults.md" finds no referencesOutcome:
๐ซ Unnecessary: `testresults.md`
Reason: Test artifact in root directory
Recommendation: Remove from PR
Context: PR includes tests/fixtures/sample_data.csv
Application:
tests/fixtures/ (appropriate)tests/test_parser.pyOutcome: โ Necessary test fixture
Context: PR includes debug_api.py in root
Application:
Outcome:
๐ซ Unnecessary: `debug_api.py`
Reason: Temporary debug script in root
Recommendation: Remove from PR or add to .gitignore if needed locally
Context: PR includes test_config.yaml
Application:
tests/conftest.pyOutcome: โ Legitimate test configuration
โ Don't: Flag every file with "test" in the name
โ Don't: Approve files just because they're small
โ Don't: Require deep code analysis for obvious artifacts
โ Don't: Flag files without checking references first
To validate this skill:
Create test PR with mixed files:
testresults.md in root (should flag)tests/fixtures/data.csv referenced in tests (should pass)scratch.py in root (should flag)Apply skill systematically:
Verify accuracy:
# List all files in PR
git diff --name-only main...HEAD
# Check if file is referenced in codebase
grep -r "filename.ext" --exclude-dir=.git
# Search for imports (Python example)
grep -r "from.*filename import\|import.*filename" .
# Find test-like files
find . -name "*test*" -o -name "*debug*" -o -name "*temp*" -o -name "*scratch*"
Remember: Catch obvious artifacts without creating friction. When uncertain, ask the author.