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.
/plugin marketplace add jack-michaud/faire/plugin install jack-michaud-jack-software-jack-software@jack-michaud/faireThis skill inherits all available tools. When active, it can use any tool Claude has access to.
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.mdReview 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.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.