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
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.