From aj-geddes-useful-ai-prompts-4
Evaluates test suite quality by injecting code mutations and verifying test detection. Guides on Stryker (JS/TS), PITest (Java), mutmut (Python) for weak test identification.
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4This skill uses the workspace's default tool permissions.
- [Overview](#overview)
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Mutation testing assesses test suite quality by introducing small changes (mutations) to source code and verifying that tests fail. If tests don't catch a mutation, it indicates gaps in test coverage or test quality. This technique helps identify weak or ineffective tests.
Minimal working example:
# Install Stryker
npm install --save-dev @stryker-mutator/core @stryker-mutator/jest-runner
# Initialize configuration
npx stryker init
# Run mutation testing
npx stryker run
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Stryker for JavaScript/TypeScript | Stryker for JavaScript/TypeScript |
| PITest for Java | PITest for Java |
| mutmut for Python | mutmut for Python |
| Mutation Testing Reports | Mutation Testing Reports |