---
name: research
description: >-
  Research discipline: how to investigate before acting, verify claims. Auto-invoke when researching, answering questions, or planning migrations.
user-invocable: true
title: research
canonical_url: https://skilld.dev/gh/fubits1/ronin-skills/research
last_updated: 2026-10-01T22:31:15.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install fubits1/ronin-skills/research`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/research`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/fubits1/ronin-skills/research) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/research`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/research --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/research --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Research

- **When the user says "research"**: DO NOT write, edit,
  or create ANY files until research is complete. Only
  after you have the answer may you act on it.
- **"Research" means investigate, not reformulate what you
  already think you know.** Use tools to find the real
  answer. Your assumptions are wrong until proven otherwise.

## Mandatory Research Channels

When `/research` is invoked, hit ALL four channels before
writing anything; skipping a channel is not research,
it's guessing. (The one carve-out: a single trivial fact,
such as does this flag exist or what is the latest version,
needs only one authoritative source. Everything that is a
migration, an architectural question, "suggest better
approaches", or "ARE YOU SURE?" gets the full four-channel
sweep.) Minimum bar before presenting any non-trivial
finding: at least one local read/grep AND one
WebSearch/WebFetch; if you haven't used both, you haven't
researched, go back and do it.

### 1. Local investigation

Grep the codebase, read configs, check what's already in
place. Look at existing skills, hooks, settings,
package.json scripts, CLAUDE.md files. The answer may
already be in the project.

### 2. Docs and MCPs

Use available MCP servers (Svelte, Storybook, knip, etc.).
Fetch `llms.txt` for libraries. Read official
documentation via WebFetch. The authoritative source beats
a blog post.

### 3. Online research

WebSearch for ALL of these, not just the first one that
returns results:

- **GitHub issues and PRs**: the problem may be known
  and tracked, with existing solutions or workarounds in
  the comments
- **Official docs and changelogs**: features you don't
  know about, recent additions, migration guides
- **Blog posts and tutorials**: how others solved the
  same problem
- **StackOverflow**: common pitfalls, edge cases,
  validated answers
- **Existing solutions**: skills, plugins, hooks,
  packages, configs that others have built and shared

### 4. Verify and synthesize

Cross-reference findings. Check if GitHub issues are still
open or already closed. Check if suggested solutions
actually work in the current version. Don't present the
first search result as the final answer.

## "THOROUGHLY" = exhaustive first pass

A data-flow / trace request must cover every hop in one
pass; getting re-prompted for a forgotten layer is a
fail. Layers to check before writing:

1. Component tree: child to every parent, every render site
2. Contexts + global stores: producers, consumers
3. Outgoing props, `bind:*`, events
4. TS DTOs / API call shape
5. HTTP endpoint: path vs query vs body, which layer
   carries what
6. Backend DTOs (Java/Kotlin/Python). Field-by-field vs
   TS. Mark fields TS does not send.
7. Backend handler/controller/service touching the data
8. Incoming sources feeding the components: autocomplete
   fetch, subscriptions, websockets, polling, stores
   seeded elsewhere

Include every layer in the trace (a Mermaid graph helps);
mark any layer N/A explicitly rather than silently skipping it.

## The "Research From Memory" anti-pattern

The failure that keeps happening: reading this skill, saying
"let me research this", then writing an answer from existing
knowledge without using a single search tool. Classic shape:
asked to "suggest better approaches", the answer gets written
from memory and misses that the problem is a known tracked bug
with a community fix far better than the vibe answer.

If you catch yourself about to write an answer without having
used WebSearch or WebFetch, STOP. You are doing the thing. Go
search.

## Specific Rules

- Use `npmx.dev` for package info, not npmjs.com.
- Verify packages with
  `socket package score npm <pkg>@<ver> --markdown`
  before use.
- actionlint (npm): WASM library, no CLI.
  node-actionlint: has CLI. Use
  `pnpx node-actionlint` to validate GitHub Actions
  workflows.
- Read docs FIRST before hacking configs.
- Research tool capabilities THOROUGHLY before planning
  migrations.
- Verify claims by running tools. Never answer yes/no
  from vibes.
- **When checking against a defined class (banned
  characters, lint rules, forbidden APIs, required fields),
  enumerate it from the authoritative source, never from
  memory**: recalling "the ones I remember" silently drops
  the unchecked members (catches em-dashes, misses unicode
  arrows). If you can't name where the full list lives, say
  so.
- Never claim something is a "known bug" or "pre-existing"
  without proof.
- Never claim something isn't installed without verifying.
  Consider wrong package name, wrong flags, wrong depth.
- CI analysis: check the exact commit SHA that triggered
  the run. Don't carry stale assumptions.
- When the user reports a UI bug with specific interaction
  steps: trace the EXACT code path of those steps. Don't
  investigate broadly; follow the user's reproduction
  steps through the code.
- **"ARE YOU SURE?" from the user IS a research request.**
  Invoke this skill immediately. Re-reading your own diff
  or code is NOT research.

## The Bullshit Gate

Before answering ANY factual question about a tool, CLI
flag, API, library behavior, or compatibility, ask:
**"Did I verify this, or am I about to guess?"**

If the answer is "guess", STOP. Do one of:

1. Say "I don't know": this is always acceptable
2. Run the tool/command to check: this takes seconds
3. Use WebSearch/WebFetch to look it up: this takes seconds

**Red flags that you're about to bullshit:**

| Thought | Reality |
| --- | --- |
| "I'm pretty sure the flag is..." | You're guessing |
| "This should work because..." | You haven't tested it |
| "The alternative is X" | Have you verified X works? |
| "It's a known bug" | Do you have a link? Is it still open? |

**Common bullshit patterns to recognize:**

- Inventing flag values or argument semantics (e.g.
  describing what `--pre 1` does, when the flag does not
  accept that)
- Misdescribing tool output (e.g. wrong claim about what
  `eslint --stats` reports)
- Claiming version incompatibility that doesn't exist
  (e.g. "X can't use Y yet", when it has been working in
  the project for weeks)
- Citing a closed GitHub issue as an unresolved blocker
- Claiming a review finding was fixed when it wasn't

The pattern is always the same: confident delivery of
unverified claims. The fix is always the same: verify
BEFORE speaking, or say "I don't know."
