saas-testing

saas-testing is a skill for Claude Code, Codex from komunite/tezgah. It costs 115 tokens per session (2,291 once invoked), scanned A, original, MIT.

A testing setup for SaaS applications using unit tests, API tests, and end-to-end tests. Unit tests check small pieces of code, while end-to-end tests use a real browser to check complete user journeys.

In plain words
What is it for?
Use it to create Vitest tests for functions and API routes, Playwright browser tests, webhook mocks, Stripe test-mode checks, rate-limit tests, and CI integration.
Why use it?
It helps catch broken sign-in, payment, webhook, and API behavior before release. It also defines how to test these areas in continuous integration, the automated build-and-test process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create Vitest tests for functions and API routes, Playwright browser tests, webhook mocks, Stripe test-mode checks, rate-limit tests, and CI integration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/komunite/tezgah/saas-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add komunite/tezgah --skill saas-testing
Clone the repo
git clone --depth 1 https://github.com/komunite/tezgah

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for saas-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/komunite/tezgah/saas-testing.svg)](https://agentmods.dev/skills/komunite/tezgah/saas-testing)
Your own site
<a href="https://agentmods.dev/skills/komunite/tezgah/saas-testing"><img src="https://agentmods.dev/badge/skills/komunite/tezgah/saas-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00115 $0.02291
Opus 5 $0.00057 $0.01145
Sonnet 5 $0.00023 $0.00458
Haiku 4.5 $0.00012 $0.00229

Measured 8d ago against content hash fef731d63ece, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

saas-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/saas-testing/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SaaS Testing — Test Stratejisi ve Kalite Güvencesi

Bu skill, bir SaaS uygulamasının test altyapısını kurar. Test olmadan "production-ready" iddiası eksiktir — ödeme webhook'unun çalıştığını, auth akışının kırılmadığını ve API'nin beklendiği gibi davrandığını sadece testlerle garanti edebilirsin.

Bağımlılık: Bu skill saas-launcher orkestratör skill'inin Deployment öncesi kalite güvence adımıdır. Bağımsız olarak da kullanılabilir.

Bağlı skill'ler:

  • saas-auth — Giriş/kayıt akışları E2E test edilir.
  • saas-payments — Webhook handler'lar ve checkout akışı test edilir.
  • saas-api-security — Rate limiting ve input validation testleri.

Test Piramidi — SaaS İçin

Hangi Test Türü Ne Zaman

Birim Test (Unit Test) — Vitest: Tekil fonksiyonları ve utility'leri test eder. Hızlı çalışır, dış bağımlılık yok. Kullanım: fiyat hesaplama, plan kontrolü, input validation, helper fonksiyonlar.

Entegrasyon Test (Integration Test) — Vitest: API route'larını test eder. HTTP isteği gönderir, yanıtı doğrular. Kullanım: auth endpoint'leri, checkout API, webhook handler.

Uçtan Uca Test (E2E Test) — Playwright: Gerçek bir tarayıcıda kullanıcı akışlarını test eder. En yavaş ama en güvenilir. Kullanım: kayıt → giriş → plan satın al → dashboard erişimi.

Başlangıç Önceliği

Day 1'de her şeyi test etmeye çalışma. Öncelik sırası:

  1. Webhook handler testi — Para alınıp plan aktifleşmezse gelir kaybı
  2. Auth akışı E2E testi — Giriş yapılamazsa uygulama kullanılamaz
  3. Kritik API route testleri — Plan kontrolü, kaynak oluşturma
  4. Input validation testleri — Güvenlik katmanı

Vitest Kurulumu

Neden Vitest

Jest'e alternatif, modern test runner. Avantajları: Vite tabanlı — çok hızlı, ESM desteği doğal, Jest uyumlu API (geçiş kolay), TypeScript desteği dahili, HMR ile watch mode.

Kurulum

npm install -D vitest @vitejs/plugin-react

Proje kökünde vitest.config.ts oluştur. Test dosyaları için __tests__/ klasörü veya dosya adında .test.ts / .spec.ts uzantısı kullan.

Read the full file on GitHub · 192 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 192 lines · 115 tokens per session scan A fef731d63ece

Subscribe to this mod's changes

saas-testing is a skill published in the GitHub repository komunite/tezgah (90 stars, last pushed 5mo ago), licensed MIT. It adds 115 tokens to every session and 2,291 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.