One-click install
npx skills add https://github.com/BasharAmso/Bashi --skill test-writing-basharamso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test Writing
Source: https://github.com/BasharAmso/Bashi/tree/main/create-bashi-app/template/.claude/skills/test-writing
Command: npx skills add https://github.com/BasharAmso/Bashi --skill test-writing-basharamso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write automated tests to verify functionality and protect against regressions, enabling faster feedback and safer deployments.

Core Features & Use Cases

  • Automates creation of unit, integration, and end-to-end tests based on code and DECISIONS.md guidance.
  • Establishes consistent test naming, structure, and updates to STATE.md for traceability.
  • Example: generate a full test suite when a new feature is added or a bug fixed to verify behavior and prevent regressions.

Quick Start

Generate a complete unit and integration test suite for the specified module following the project DECISIONS.md.

Frequently Asked Questions about Test Writing

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

FAQPage Schema
How do I automatically generate unit and integration tests to prevent code regressions?

Automated test generation creates unit, integration, and end-to-end tests based on your code to verify behavior and prevent regressions. It applies consistent naming conventions and updates test artifacts for immediate traceability.

What is the best way to write reliable end-to-end tests for a new software feature?

Writing reliable end-to-end tests involves automating test creation to verify feature behavior against expected outcomes. This establishes consistent test structure and naming conventions to catch regressions during future updates.

How do I ensure my test suite follows consistent naming conventions and project standards?

Test suites maintain consistent naming conventions and structure by adhering to project governance files like DECISIONS.md for framework selection. State updates are tracked in STATE.md for full traceability.

Can I generate a full test suite automatically when a bug is fixed?

Yes, generating a complete unit and integration test suite after fixing a bug verifies the corrected behavior and prevents future regressions. Test artifacts are automatically updated in the project as specified.

Do I need a DECISIONS.md file to automate test writing for my project?

A DECISIONS.md file is required to guide framework selection, naming conventions, and state updates for the generated tests. This ensures the automated test artifacts align with your specific project standards.

Why does automated test generation update a STATE.md file in my project?

Automated test generation updates STATE.md to maintain project state traceability alongside the newly created test artifacts. This ensures consistent tracking of test suite modifications and framework selections.