ln-631-test-business-logic-auditor

Flag tests validating external framework behavior instead of custom application code.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/dorrio/sorteo-app-generator --skill ln-631-test-business-logic-auditor-dorrio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-631-test-business-logic-auditor
Source: https://github.com/dorrio/sorteo-app-generator/tree/main/.agent/skills/ln-631-test-business-logic-auditor
Command: npx skills add https://github.com/dorrio/sorteo-app-generator --skill ln-631-test-business-logic-auditor-dorrio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and flags tests that focus on validating the behavior of external frameworks or libraries (like Prisma, Express, bcrypt, JWT, axios, React hooks) rather than your own application's business logic.

Core Features & Use Cases

  • Framework Test Detection: Pinpoints tests that are essentially re-testing library functionality.
  • Codebase Focus: Helps ensure your test suite is dedicated to verifying your unique code.
  • Decision Support: Provides clear "REMOVE" decisions for redundant or misplaced tests.
  • Use Case: In a project using Prisma for database operations, this skill would flag tests that only check if Prisma queries return data correctly, instead of testing how your application logic uses those queries.

Quick Start

Use the ln-631-test-business-logic-auditor skill to find tests that validate framework behavior instead of our code.

Frequently Asked Questions about ln-631-test-business-logic-auditor

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

FAQPage Schema
How do I identify tests that validate framework behavior instead of my own business logic?

To identify framework tests, use an auditor to detect and flag tests validating external library behavior rather than custom code. This skill pinpoints tests for frameworks like Prisma, Express, and JWT that do not pertain to proprietary application logic.

Why should I remove tests that verify Prisma queries or bcrypt hashing?

Removing framework tests for Prisma or bcrypt eliminates redundant checks on external library functionality. This streamlines your test suite by ensuring your tests solely verify how your application logic uses these queries and operations.

How do I audit my test suite for redundant React hooks or axios tests?

Auditing your test suite for redundant axios or React hooks tests involves scanning for tests that only validate library behavior. The auditor flags these instances and provides explicit REMOVE decisions to optimize your codebase.

Does this test auditing approach work for projects using Express and JWT?

Yes, this test auditing approach works for projects using Express and JWT by specifically detecting tests that focus on these frameworks' native behaviors. It flags any test that misses your proprietary code to help maintain a focused suite.

What is framework test detection and when do I need it for code refactoring?

Framework test detection identifies tests re-testing external library functionality instead of your custom application code. You need it during code refactoring or test optimization to remove misplaced tests and streamline the test suite.

What are the limitations of auditing tests for business logic?

The limitation of auditing tests for business logic is that it strictly targets tests validating external frameworks like Prisma, Express, bcrypt, JWT, axios, and React hooks. It provides REMOVE decisions but does not generate new tests for your proprietary code.