| name | testing-cli |
| description | Tests the yeet-git CLI tool by performing file edits and running various git command scenarios to verify functionality. Use when the user asks to test the CLI commands. |
Testing Yeet Git CLI
When to use this skill
- When the user asks to "test the CLI" or "verify commands".
- When you need to ensure the
yeet tool is working correctly after changes.
- To validate specific git workflows supported by the tool.
Workflow
- Setup Work Area: Create or verify existence of a simple text file (e.g.,
test_playground.txt) in the root directory.
- Iterative Testing: For each test case:
- Modify the
test_playground.txt file (append a timestamp or random string) to ensure git detects a change.
- Run the specific
yeet command.
- Verify the output and git status.
- Cleanup: Optionally revert changes to
test_playground.txt or leave it for history.
Test Commands Checklist
Copy this checklist to task.md or use it to track your progress.
Basic Operations
Merge Flows (Dev)
Multi-Stage Flows (Staging)
Full Pipeline (Main)
Instructions
- Safe Execution: Always check
git status before running these commands to know where you are.
- Modifications: The
test_playground.txt file is your sandbox. Don't modify critical project files for these tests.
- Extending Tests: Add new command variations to this list as the project evolves and new flags are implemented.
- Command Alias: If
yeet is not in the global path, use node ./bin/yeet.js or the appropriate relative path to the binary.