running-tests

Use ANY TIME running tests (npm test, node --test, pytest, etc.) to capture output and prevent context overflow.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "running-tests" with this command: npx skills add straub/agent-skills/straub-agent-skills-running-tests

Running Tests

Test suites can sometimes take a very long time to run, consume lots of system resources, and generate lots of output. To save time and preserve your context, follow this simple guide.

When to Use This Skill

✅ Use if:

  • Running any test command (npm test, node --test, pytest, etc.)
  • Expecting more than 5 lines of output
  • Want to preserve context tokens for further analysis

❌ Don't use if:

  • Running a single quick test file (< 1 second)
  • Already redirecting output manually

Guidelines

  • Always redirect test output to a file!
npm test > /tmp/test-output.txt 2>&1
  • Analyze that file as needed after the run is finished
tail -n20 /tmp/test-output.txt

wc -l /tmp/test-output.txt

grep 'fail' /tmp/test-output.txt

Default Pattern

Every test run should follow this pattern:

npm test > /tmp/test-output.txt 2>&1
tail -20 /tmp/test-output.txt

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

test-driven-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

jira-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-pr-review-comments

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Repository Source
86.4K23Kvercel