test

Runs project tests, linting, and treats warnings as errors.

15|5|Updated Jul 1, 2025
One-click install
npx skills add https://github.com/swissarmyhammer/swissarmyhammer --skill test-swissarmyhammer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/swissarmyhammer/swissarmyhammer/tree/main/builtin/skills/test
Command: npx skills add https://github.com/swissarmyhammer/swissarmyhammer --skill test-swissarmyhammer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need for robust software quality by automating the execution of test suites, type checking, and linting, ensuring that all code is free of errors and warnings.

Core Features & Use Cases

  • Comprehensive Testing: Runs the full test suite for detected project types.
  • Quality Assurance: Enforces strict coding standards through type checking and linting, treating warnings as errors.
  • Test Hygiene: Identifies and mandates the fixing or removal of all skipped or ignored tests.
  • Use Case: Before merging any new code, run this Skill to guarantee that all tests pass, no warnings are present, and the codebase remains in a clean, production-ready state.

Quick Start

Execute the test skill to run all tests and checks for the current project.

Frequently Asked Questions about test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run comprehensive code quality checks before merging new code?

Treating linting warnings as errors enforces strict coding standards by forcing you to resolve all warnings before code can pass quality checks. This guarantees a clean, production-ready codebase free of potential issues.

How do I enforce strict type checking and linting warnings as errors?

Enforcing strict type checking and linting warnings as errors happens automatically when you run the test skill. It treats all warnings as errors, ensuring your code meets strict quality standards before integration.

Can I identify and fix skipped or ignored tests in my CI/CD pipeline?

Yes, you can identify and fix skipped or ignored tests in your CI/CD pipeline by running the test skill. It enforces test hygiene by mandating the fixing or removal of all skipped tests to maintain code integrity.

What is the best way to automate test suite execution and resolve failures?

The best way to automate test suite execution and resolve failures is to run the test skill. It detects your project type, executes the full test suite, and mandates resolving any failures or warnings to maintain high code integrity.

Does automated code review require any specific dependencies or environment setup?

Automated code review with this test skill requires no specific dependencies or environment setup. It operates independently to execute comprehensive quality checks, type checking, and linting for detected project types.