skills/27-dariia-m-my_claude_skills/dont-lie/SKILL.md
ALWAYS activate this skill. Apply these rules to every task regardless of domain. This skill governs how Claude Code verifies information, writes code, references documentation, and avoids fabricating functions, arguments, APIs, file paths, data structures, or facts. These rules override any inclination to guess.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research anti-hallucinationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill exists to prevent Claude from fabricating information. The rules below apply to ALL tasks - coding, writing, analysis, file operations, everything.
Never guess. Verify or say you don't know.
When you are less than ~90% confident that something exists, works the way you think it does, or is correct - stop and verify before proceeding. Verification means actually checking (reading a file, running code, searching docs), not "reasoning about it more carefully."
Before writing any code, read the relevant context first:
cat, head, grep, or your file-reading tools.?function_name or
args(function_name). In Python: help(function) or inspect.signature().str(), head(), names(), glimpse(). Never assume column names.ls, find, or tree before referencing paths.
Never assume a file or directory exists.The cost of reading first is small. The cost of hallucinating is large.
After writing code, always execute it. Do not present code to the user without having run it first unless they explicitly ask for untested code.
Workflow:
Do NOT:
When fixing errors:
suppressWarnings() or tryCatch() to hide problemsThis is the most common hallucination pattern. Rules:
ls("package:packagename") or ?function_name in R.args(function_name) or formals(function_name) in R.fixest::feols() and lfe::felm(), or between ggplot2 and base plotting).
These are different. Check which one you're using.ls, file.exists(), find.names(df),
colnames(df), str(df).ls(), exists("varname").When you cannot verify something, say so clearly. Good phrases:
Bad patterns (never do these):
After any sequence of operations (data cleaning pipeline, model estimation, file manipulation), verify the results make sense:
In R, after merges/joins:
# ALWAYS check after merging
cat("Rows before:", nrow(df_before), "\n")
cat("Rows after:", nrow(df_merged), "\n")
cat("NAs introduced:", sum(is.na(df_merged$key_var)), "\n")
requireNamespace("pkg", quietly = TRUE)package::function()
notation when there could be ambiguity.Common confusion patterns to watch for:
R-specific:
fixest vs lfe vs plm - different syntax, different argumentsdata.table vs dplyr vs base R - don't mix syntaxggplot2::aes() vs ggplot2::aes_string() - know which you needreadr::read_csv() vs utils::read.csv() - different defaultstibble vs data.frame - different printing and subsetting behaviorGeneral:
When code fails or produces unexpected results:
str(), class(), dim())Before sharing output with the user, mentally verify:
tools
Show mcp-stata identity, connected tools, and status. Use when the user asks if mcp-stata is available, asks about access to the toolkit, or asks what Stata tools are connected.
tools
Activate when users mention Stata commands, .do files, regressions, econometrics, stored results, graphs, dataset inspection, replication, or Stata errors. Route the task through mcp-stata tools and the specialized research skills instead of treating it as plain text coding.
development
Build and review paper-ready regression, balance, and summary tables from Stata outputs. Use when the user needs a clean table for a draft, appendix, or coauthor share-out.
tools
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.