agentleFS
e-reitbauere-reitbauer/habits/skills/research/SKILL.md

research

Skill1 starsChanged 6 days agoMITView on GitHub

Use before large, ambiguous or hard-to-reverse work: a new feature or module, a cross-cutting change, picking a library, schema or architecture, working in unfamiliar code or APIs, or when the user asks to research, brainstorm, explore options or "think this through first". Not for changes you can describe in one sentence.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 5 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 43 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • +5 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do it when at least one holds:

    line 15
  2. Very specific:

    If the project keeps specs or decision records (OpenSpec's openspec/specs/, ADRs, design docs), read the ones for the area first.

    line 35
  3. Distinctive:

    Read code only for what the specs don't answer: how something is implemented today, what a change would touch, whether code and spec still …

    line 36
  4. Distinctive:

    Never ask what the specs or the code already answer.

    line 38
  5. Distinctive:

    Start broad, then narrow.

    line 48
  6. Distinctive:

    Check that every package, version, flag and API you plan to use actually exists in the version the project uses.

    line 50
  7. Distinctive:

    Stop when another search wouldn't change the decision.

    line 51
  8. Distinctive:

    Ask only when the answer changes what gets built.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 169 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Research and brainstorming

Mistakes made before the first line of code compound through everything built on them. This skill finds the facts, the options and the user's intent before large work starts, and stays out of the way when the work is small.

1. Is it worth it?

Do it when at least one holds:

  • The solution is ambiguous: you can't describe the diff in one sentence.
  • A decision is hard to reverse: schema, public API, data migration, new dependency, architecture, file formats others read.
  • The request leaves open something that would change what gets built, and neither the request nor the code answers it.
  • The code, library or API is unfamiliar, or version-sensitive enough that memory isn't trustworthy.
  • The change touches many files or every reader of a shared shape.

Skip it, and just do the work, when:

  • The task is small and clear: a bug with a repro, a rename, a one-line fix, a fix within existing spec requirements, a choice that is cheap to undo.
  • The user already gave a spec or made the decisions, or the project's specs already settle them. Echo it back briefly; don't reopen what's settled.
  • The user says to just do it. State any significant choice in one line and go.
  • Nobody can answer (headless runs, loops, scheduled tasks). Write your assumptions down instead of asking.
  • A quick throwaway build would answer the question faster than discussion would.

Size the effort to the work: a few lookups for one fact, a real investigation only for a real decision.

2. Start from the project's source of truth

  • If the project keeps specs or decision records (OpenSpec's openspec/specs/, ADRs, design docs), read the ones for the area first. They hold intent, requirements and past decisions; code only shows what got built. Treat their requirements as settled constraints.
  • Read code only for what the specs don't answer: how something is implemented today, what a change would touch, whether code and spec still agree. Don't read code to re-derive what a spec already states.
  • Without specs, read the relevant code until you can explain how it works today and what the change would touch, and follow how the codebase already solves this kind of problem.
  • Never ask what the specs or the code already answer.

3. Sort the unknowns

  • Facts (how an API behaves, what a version supports, whether a package exists): look them up.
  • Preferences (what the user wants, what matters most, what's out of scope): ask.
  • Feasibility (will this approach work, is it fast enough): spike it, with a timebox, as throwaway code.

4. Research facts properly

  • Start broad, then narrow.
  • Primary sources first: the source code, official docs, changelogs, the package registry. Treat blogs, forum answers and your own memory as leads to verify, not answers.
  • Check that every package, version, flag and API you plan to use actually exists in the version the project uses.
  • Stop when another search wouldn't change the decision. Say what you checked and what you couldn't confirm.
  • Delegate to subagents only for independent, parallel lines of inquiry, each with a clear question and a short report back.

5. Brainstorm before converging

Your first idea is likely the most generic one. Before picking:

  • Generate several real alternatives, including the smallest change that would work and the way the codebase already does it.
  • Drop the weak ones: those that work against why the user wants this, or that the existing code rules out.
  • Present two or three, concretely, with what each trades off. Recommend one and say why. If there is genuinely one sensible way, say so and why the others don't fit.

6. Ask well

  • Ask only when the answer changes what gets built.
  • Make each question specific to this project and what you found, about behavior and outcomes rather than internals the user may not know.
  • Until you know why they want it, ask open questions; options steer. Once you know why, name the choices with your pick.
  • One question at a time, or a short batch with AskUserQuestion when they're independent.
  • Say your defaults out loud. A default the user never heard is one they couldn't reject.

7. Write it down, sized to the work

Record the decisions, the alternatives and why they lost, the non-goals and the open assumptions. A few lines in the conversation for medium work; a file for large work, where the project keeps such docs or where the user wants it. Write decisions and tradeoffs, not an implementation manual.

In an OpenSpec project the change is the write-up; don't create a separate doc. Brainstorm in /opsx:explore (it writes nothing), then /opsx:propose: the why and what go in proposal.md, the alternatives and decisions in design.md. If the direction you land on contradicts a spec, that is what the proposal is for; never diverge silently.

For hard-to-reverse decisions, get the user's approval before building. If building later shows an assumption was wrong, stop and revisit the decision instead of patching around it.

Red flags

ThoughtReality
"I'll read the code to see how this feature should work"If there's a spec, it says how it should work. Code says how it works now.
"Let me ask a few questions first"Did the code already answer them? Does each answer change what gets built?
"Any constraints I should know about?"Generic questions get generic answers. Ask about the specific case you found.
"The first approach looks fine"Generate the alternatives before you defend one.
"One more search to be sure"If it can't change the decision, stop.
"I remember this API"Check the version the project uses.
"I'll spin up several agents for this"Only for independent questions. Delegation adds parallelism, not insight.
"They said sounds good"Approval covers what they saw. Show the actual design.
"The spike works, I'll build on it"Spikes are throwaway. Keeping one is a decision for the user.
"This needs a full design doc"Only if the solution is ambiguous. A doc that only lists steps is a sign to start coding.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.