jack-michaud/faire/pr-file-review
Claude Code and agent skill by jack-michaud/faire
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install jack-michaud/faire/pr-file-reviewSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as jack-michaud/faire/pr-file-review.
Pull Request File Review
Overview
Review pull request files to identify unnecessary test artifacts, temporary files, and non-production code based on naming patterns, locations, and usage.
When to Use
- Reviewing pull requests before approval
- Files with test-related names (testresults.md, test_output.csv)
- Temporary scripts or data files in the changeset
- Before merging to ensure only production-relevant files are included
Process
1. Identify Suspicious Files
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 files- Files in root directory that don't match project conventions
2. Evaluate File Necessity
For each suspicious file, ask:
Location Analysis:
- Is it in a test directory? (If yes, likely legitimate)
- Is it in a documentation directory with other docs? (If yes, likely legitimate)
- Is it in the project root or random location? (Red flag)
Usage Analysis:
- Is the file imported/referenced in production code?
- Is it required by tests that are committed?
- Is it part of CI/CD configuration?
- Does it have a clear purpose in the project structure?
Naming Convention:
- Does the name match the project's file naming conventions?
- Is it clearly temporary? (scratch, temp, test, output, debug)
3. Flag or Approve
Flag for removal if:
- File appears to be a one-off test artifact
- Name suggests temporary/debug purpose
- Not referenced anywhere in the codebase
- Located in an unusual place for its type
Approve if:
- File is referenced in production code
- Part of the test suite infrastructure
- Documented purpose in project structure
- Follows project conventions
4. Provide Feedback
When flagging files:
Examples
Example 1: Test Results File
Context: PR includes testresults.md in project root
Application:
- Location: Root directory (suspicious)
- Naming: "testresults" indicates test artifact
- Search:
grep -r "testresults.md"finds no references - Decision: Flag for removal
Outcome:
Example 2: Test Data Referenced in Tests
Context: PR includes tests/fixtures/sample_data.csv
Application:
- Location:
tests/fixtures/(appropriate) - Naming: Follows fixture convention
- Search: Referenced in
tests/test_parser.py - Decision: Approve
Outcome: ✅ Necessary test fixture
Example 3: Temporary Debug Script
Context: PR includes debug_api.py in root
Application:
- Location: Root directory (suspicious)
- Naming: "debug" indicates temporary purpose
- Search: No imports found
- Decision: Flag for removal
Outcome:
Example 4: Configuration File
Context: PR includes test_config.yaml
Application:
- Location: Root directory
- Naming: Contains "test" but may be configuration
- Search: Referenced in
tests/conftest.py - Documentation: Mentioned in testing README
- Decision: Approve
Outcome: ✅ Legitimate test configuration
Anti-patterns
- ❌ Don't: Flag every file with "test" in the name
- ✅ Do: Analyze context, location, and usage
- ❌ Don't: Approve files just because they're small
- ✅ Do: Apply consistent criteria regardless of file size
- ❌ Don't: Require deep code analysis for obvious artifacts
- ✅ Do: Use file name and location as primary signals
- ❌ Don't: Flag files without checking references first
- ✅ Do: Search the codebase for imports/references before flagging
Testing This Skill
To validate this skill:
- Create test PR with mixed files:
testresults.mdin root (should flag)tests/fixtures/data.csvreferenced in tests (should pass)scratch.pyin root (should flag)- Legitimate config with test-like name (should pass after analysis)
- Apply skill systematically:
- Follow the 4-step process for each file
- Document reasoning for each decision
- Verify accuracy:
- All flagged files should be unnecessary
- No legitimate files should be flagged
- Feedback should be clear and actionable
Quick Reference Commands
Remember: Catch obvious artifacts without creating friction. When uncertain, ask the author.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingjack-software/skills/code-review/pr-file-review/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jack-michaud/faire/pr-file-review)