investigation-rules

Enforces evidence-backed claims when writing investigation and bug reports.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/devbasex/ai-plugins --skill investigation-rules-devbasex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: investigation-rules
Source: https://github.com/devbasex/ai-plugins/tree/main/plugins/ndf/skills/investigation-rules
Command: npx skills add https://github.com/devbasex/ai-plugins --skill investigation-rules-devbasex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-generated investigation and bug reports often assert negative conclusions like "the column does not exist" or "no data was found" based only on code reading, leading to wrong decisions. This Skill requires every negative claim to be backed by actual command output or query results. ## Core Features & Use Cases - Mandatory Evidence for Negative Claims: Maps each claim type (missing DB column, missing data, missing function, missing config value) to the exact verification command required, such as SHOW COLUMNS, SELECT COUNT(*), or grep. - External Data Investigation Rules: Requires inspecting the full structure of external tables and third-party data sources before drawing conclusions, since column names and value ranges are unpredictable. - Report Template and Anti-Hallucination Checklist: Provides a structured report format (symptoms, investigation steps, root cause, evidence, fix plan, verification) plus a checklist covering types, foreign keys, soft deletes, and environment differences. - Use Case: When writing a bug report claiming a database column is missing, run SHOW COLUMNS first and paste the actual output into the report instead of relying on code reading. ## Quick Start Ask the AI to write an investigation report for a bug or data issue and require evidence for every negative conclusion it makes.

Frequently Asked Questions about investigation-rules

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

FAQPage Schema
How do I write a bug investigation report with evidence?▼

Structure the report with symptoms, investigation steps, root cause, evidence, fix plan, and verification steps. Paste actual SQL query results and command output directly into the evidence section, and clearly separate executed facts from code-reading inferences.

How do I verify a database column does not exist?▼

Run SHOW COLUMNS FROM table_name or DESCRIBE on the target table and attach the output to your report. Never conclude a column is missing from code reading alone, since external tables may use alternate column names.

What evidence is needed to claim data does not exist in a table?▼

Run SELECT COUNT(*) FROM table WHERE ... with the relevant conditions and include the result in the report. For missing tables, use SHOW TABLES LIKE '%keyword%' and record the output.

When should I use investigation-rules versus problem-solving?▼

Use problem-solving to identify and fix the root cause of a bug. Use investigation-rules when writing the report itself, especially when the report contains negative conclusions that need evidence. Requests combining both use both skills.

Why do AI investigation reports make false claims about missing data?▼

AI models tend to produce plausible but incorrect inferences from partial code reading, such as checking only some columns of an external table. Requiring executed query results for every negative claim prevents these hallucinated conclusions.