Approved catalog listing
SKILL #3952
skillshunter.net
Home / Data & Research / Research
Listing Approved Approved on: November 30, 2026

Research

Generate a concise, checkable markdown answer-card file in the `research/` directory to answer a question about a library, engine, or dependency API — or an option-matrix for techniques/approaches or an ASCII mechanism-figure for how a technique works.

Rate this skill

No ratings yet

Editor's Note

Before rendering, tag the card with 1–4 tags naming what the card is about (e.g., `tilemap`, `collision`, `asset-loading`). Use `hresearch tags` and `hresearch tag <dir> <tag>...` to apply tags. Ensure that all slots are filled with checkable content, such as `verdict`, `how`, `snippet`, `breaks`, or `source`, and avoid prose. Never write `card.json` or `.hresearch` by hand.

When to Use It

  • Answer a question about a library, engine, or dependency API with an answer-card file
  • Generate an option-matrix to compare techniques or approaches for a problem
  • Create an ASCII mechanism-figure to explain how a technique or mechanism works

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md

Answer $ARGUMENTS (or, when invoked by description rather than /research, my last message) as a fixed-shape markdown file, never prose — a concise, checkable result. Research writes no code: the only files it writes are in this task's research/ dir. Reading the project is fine, and an item may refer to a part of it by path:line.

0. Pick the shape

hresearch new "<question verbatim>" decides the shape and reports it on stderr as shape: <x> (from question) — that is the shape this question is answered in, and hresearch render refuses a card in any other shape. A question asking which techniques, approaches or options exist for a problem — a survey of alternatives ("which techniques exist to …", "what approaches are there for …") — is an option-matrix. A question asking how a technique, algorithm or mechanism works internally ("how does a flow field pathfinder move many agents", "how does X work") is a mechanism-figure. Anything else — "how do I use this API", "what does this function do" — is an answer-card. Everything below step 0 is common to all three; where they differ it says which shape it's for.

Pass --shape card|matrix|figure on new only when the classifier's guess plainly contradicts what the question is actually asking (e.g. "what options does this function take" is an API question, not a survey — --shape card); judge the override against the same three definitions above, since that is what render will hold the answer to.

  1. hresearch new "<question verbatim>" first, once per question — never render a later question into an earlier question's dir, and never pass a dir this command did not just print in this task. Its stdout is the sources dir — every other hresearch call in this run takes that path. When the invocation carries --seed <card>, run hresearch new --seed <card> "<question verbatim>" instead. Its stderr names the near miss's sources: fetch the ones relevant to this question with hresearch fetch as usual — (cached) means the stored copy was used and no request was made, and a fetch again source is fetched like any other.
  2. Search with WebSearch. Every page you intend to cite is fetched with hresearch fetch <dir> <url> — never WebFetch for a page you'll cite, because a cited quote or precedent has to be checkable against the stored copy fetch makes. Read or Grep the stored <id>.txt files to find the sentences and code you need.
  3. Prefer docs.rs (or the crate's own docs) for API facts, and a GitHub blob link into the crate's examples/ or source for a card's snippet or a matrix's precedent.

A render: shape: the question called for <x>, got <y> error means the JSON you sent is in the wrong shape for what this question was recorded as — fix the JSON to answer in shape <x> and render again. Never re-run new to get a different shape than the one it already picked; that is what --shape on the original new call is for.

Tag it, before the reply

Every shape's last step is a one-line reply. Before it, once the file has rendered, tag the card so it can be found again by topic:

hresearch tags
hresearch tag <dir> <tag>...

Pick 1–4 tags naming what the card is about (tilemap, collision, asset-loading). Reuse a tag hresearch tags lists whenever one fits; coin a new one only when none does. A tag is [a-z0-9-]+.

Answer-card

  1. Fill the slots the question needs, and leave the others out — a card holds at least one, and a slot left out is simply not shown:
    • verdict — up to 4 items, the answer itself.
    • how — up to 10 numbered steps.
    • snippet — one contiguous block of code or config. Copied verbatim from a fetched example or source, never edited, not even a rename; or, when the source states it in prose rather than as code — a Cargo.toml entry, a feature list, a target table — written by you and marked "composed": true. Name its language with "lang" when it is not Rust ("lang": "toml").
    • breaks — the source's own sentences about a pitfall or caveat, not your paraphrase of it.
    • source — generated by the tool; you never write it. Every item is one line. A claim with no fetched source backing it carries no src and renders [unsourced] — never state it as if it were sourced.
  2. Render:
    hresearch render <dir> - <<'JSON'
    { "verdict": [...], "how": [...], "snippet": {...}, "breaks": [...] }
    JSON
    
    A render: error names the slot and the problem — fix the JSON (drop or re-copy the offending text, mark it unsourced or composed, or leave the slot out) and render again. Never write card.json or the .hresearch by hand.
  3. Reply in the pane with exactly one line: the card's path. Nothing else — the card is the answer, not a summary of it.

Option-matrix

  1. Pick 2–6 techniques as columns — never more than 6; if more are genuinely candidates, keep the strongest ones and drop the rest.
  2. Pick 1–6 criteria for this question — the ones the techniques actually differ on and the choice turns on, each at most 8 words. They are rows, chosen per question; nothing about a project fixes them. Every cell must be filled for every column, in at most 8 words, never a sentence. One more row is always there and is not in criteria:
    • precedent — for each technique, hresearch fetch an example, crate or repo that implements it and cite it as {"src": k}; {"none": true} when no precedent was found. Never a text cell here.
  3. verdict names exactly one column — pick one, never "it depends".
  4. Render:
    hresearch render <dir> - <<'JSON'
    { "shape": "matrix",
      "criteria": ["<criterion>", "<criterion>"],
      "options": [ {"name": "...", "cells": {
          "<criterion>": {"text": "...", "src": 1},
          "<criterion>": {"text": "..."},
          "precedent": {"src": 2} } }, ... ],
      "verdict": {"option": "...", "text": "..."} }
    JSON
    
    A render: error names the cell and the problem (too many words, an unknown criterion, a criterion named precedent or verdict, a verdict naming no column, a precedent cell with no src or none) — fix the JSON and render again. Never write card.json or the .hresearch by hand.
  5. Reply in the pane with exactly one line: the matrix's path.

Mechanism-figure

  1. hresearch fetch the source that explains the mechanism — a paper, article, docs page or reference implementation.
  2. Draw the mechanism as an ASCII figure: its stages left to right or top to bottom, joined by arrows (───►, →, ↓), each stage a small box or grid showing the data it holds. Labels are at most 5 words each, never a sentence — draw the mechanism, don't caption each piece of it. Enough detail that someone could implement from the figure alone, at most 78 columns and 30 lines.
  3. Write one caption line (≤ 16 words) with a src — the single sentence the figure itself can't show.
  4. Render:
    hresearch render <dir> - <<'JSON'
    { "shape": "figure",
      "figure": "line one\nline two\n...",
      "caption": {"text": "...", "src": 1} }
    JSON
    
    figure may also be a JSON list of line strings. A render: error names the line or the caption and the problem (a line too wide, a word run that reads as prose, no drawing character anywhere, a caption with no src or more than one line) — fix it and render again. Never hand-write the figure around a rejection; redraw it. Never write card.json or the .hresearch by hand.
  5. Reply in the pane with exactly one line: the figure's path. The figure is a notes file, and a throwaway interactive visual (a plot, a live viewer) is allowed alongside it but is never the default medium; the figure is the answer.
View original Markdown
---
description: Answer a question about a library, engine or dependency API as an answer-card file in the current task's research/ dir — slots, copied snippets and verbatim quotes with links, no prose — or which techniques/approaches exist to do something, as an option-matrix, or how a technique or mechanism works, as an ASCII mechanism-figure. Use whenever I ask how to do something with an API or crate, which techniques/approaches exist for a problem, or how a technique or mechanism works, with or without /research.
argument-hint: '<question in one sentence> [--seed <card>]'
allowed-tools: Bash(hresearch:*), WebSearch, Read, Grep
---

Answer $ARGUMENTS (or, when invoked by description rather than `/research`, my
last message) as a fixed-shape markdown file, never prose — a concise,
checkable result. Research writes no code: the only files it writes are in
this task's `research/` dir. Reading the project is fine, and an item may
refer to a part of it by `path:line`.

## 0. Pick the shape

`hresearch new "<question verbatim>"` decides the shape and reports it on
stderr as `shape: <x> (from question)` — that is the shape this question is
answered in, and `hresearch render` refuses a card in any other shape. A
question asking which techniques, approaches or options exist for a problem
— a survey of alternatives ("which techniques exist to …", "what approaches
are there for …") — is an **option-matrix**. A question asking how a
technique, algorithm or mechanism works internally ("how does a flow field
pathfinder move many agents", "how does X work") is a **mechanism-figure**.
Anything else — "how do I use this API", "what does this function do" — is an
**answer-card**. Everything below step 0 is common to all three; where they
differ it says which shape it's for.

Pass `--shape card|matrix|figure` on `new` only when the classifier's guess
plainly contradicts what the question is actually asking (e.g. "what options
does this function take" is an API question, not a survey — `--shape card`);
judge the override against the same three definitions above, since that is
what `render` will hold the answer to.

1. `hresearch new "<question verbatim>"` first, once per question — never
   render a later question into an earlier question's dir, and never pass a
   dir this command did not just print in this task. Its stdout is the
   sources dir — every other `hresearch` call in this run takes that path.
   When the invocation carries `--seed <card>`, run
   `hresearch new --seed <card> "<question verbatim>"` instead. Its stderr
   names the near miss's sources: fetch the ones relevant to this question
   with `hresearch fetch` as usual — `(cached)` means the stored copy was
   used and no request was made, and a `fetch again` source is fetched like
   any other.
2. Search with `WebSearch`. Every page you intend to cite is fetched with
   `hresearch fetch <dir> <url>` — never `WebFetch` for a page you'll cite,
   because a cited quote or precedent has to be checkable against the stored
   copy `fetch` makes. Read or `Grep` the stored `<id>.txt` files to find the
   sentences and code you need.
3. Prefer docs.rs (or the crate's own docs) for API facts, and a GitHub `blob`
   link into the crate's `examples/` or source for a card's snippet or a
   matrix's precedent.

A `render: shape: the question called for <x>, got <y>` error means the JSON
you sent is in the wrong shape for what this question was recorded as — fix
the JSON to answer in shape `<x>` and render again. Never re-run `new` to get
a different shape than the one it already picked; that is what `--shape` on
the original `new` call is for.

## Tag it, before the reply

Every shape's last step is a one-line reply. Before it, once the file has
rendered, tag the card so it can be found again by topic:

```
hresearch tags
hresearch tag <dir> <tag>...
```

Pick 1–4 tags naming what the card is *about* (`tilemap`, `collision`,
`asset-loading`). Reuse a tag `hresearch tags` lists whenever one fits;
coin a new one only when none does. A tag is `[a-z0-9-]+`.

## Answer-card

4. Fill the slots the question needs, and leave the others out — a card holds
   at least one, and a slot left out is simply not shown:
   - **verdict** — up to 4 items, the answer itself.
   - **how** — up to 10 numbered steps.
   - **snippet** — one contiguous block of code or config. Copied verbatim
     from a fetched example or source, never edited, not even a rename; or,
     when the source states it in prose rather than as code — a `Cargo.toml`
     entry, a feature list, a target table — written by you and marked
     `"composed": true`. Name its language with `"lang"` when it is not Rust
     (`"lang": "toml"`).
   - **breaks** — the source's own sentences about a pitfall or caveat, not
     your paraphrase of it.
   - **source** — generated by the tool; you never write it.
   Every item is one line. A claim with no fetched source backing it carries
   no `src` and renders `[unsourced]` — never state it as if it were sourced.
5. Render:
   ```
   hresearch render <dir> - <<'JSON'
   { "verdict": [...], "how": [...], "snippet": {...}, "breaks": [...] }
   JSON
   ```
   A `render:` error names the slot and the problem — fix the JSON (drop or
   re-copy the offending text, mark it unsourced or composed, or leave the
   slot out) and render again. Never write `card.json` or the `.hresearch` by
   hand.
6. Reply in the pane with exactly one line: the card's path. Nothing else —
   the card is the answer, not a summary of it.

## Option-matrix

4. Pick 2–6 techniques as columns — never more than 6; if more are genuinely
   candidates, keep the strongest ones and drop the rest.
5. Pick 1–6 **criteria** for this question — the ones the techniques
   actually differ on and the choice turns on, each at most 8 words. They are
   rows, chosen per question; nothing about a project fixes them. Every cell
   must be filled for every column, in at most 8 words, never a sentence. One
   more row is always there and is not in `criteria`:
   - **precedent** — for each technique, `hresearch fetch` an example, crate
     or repo that implements it and cite it as `{"src": k}`;
     `{"none": true}` when no precedent was found. Never a `text` cell here.
6. `verdict` names exactly one column — pick one, never "it depends".
7. Render:
   ```
   hresearch render <dir> - <<'JSON'
   { "shape": "matrix",
     "criteria": ["<criterion>", "<criterion>"],
     "options": [ {"name": "...", "cells": {
         "<criterion>": {"text": "...", "src": 1},
         "<criterion>": {"text": "..."},
         "precedent": {"src": 2} } }, ... ],
     "verdict": {"option": "...", "text": "..."} }
   JSON
   ```
   A `render:` error names the cell and the problem (too many words, an
   unknown criterion, a criterion named `precedent` or `verdict`, a verdict
   naming no column, a precedent cell with no `src` or `none`) — fix the
   JSON and render again. Never write `card.json` or the `.hresearch` by
   hand.
8. Reply in the pane with exactly one line: the matrix's path.

## Mechanism-figure

4. `hresearch fetch` the source that explains the mechanism — a paper,
   article, docs page or reference implementation.
5. Draw the mechanism as an ASCII figure: its stages left to right or top to
   bottom, joined by arrows (`───►`, `→`, `↓`), each stage a small box or grid
   showing the data it holds. Labels are at most 5 words each, never a
   sentence — draw the mechanism, don't caption each piece of it. Enough
   detail that someone could implement from the figure alone, at most 78
   columns and 30 lines.
6. Write one caption line (≤ 16 words) with a `src` — the single sentence the
   figure itself can't show.
7. Render:
   ```
   hresearch render <dir> - <<'JSON'
   { "shape": "figure",
     "figure": "line one\nline two\n...",
     "caption": {"text": "...", "src": 1} }
   JSON
   ```
   `figure` may also be a JSON list of line strings. A `render:` error names
   the line or the caption and the problem (a line too wide, a word run that
   reads as prose, no drawing character anywhere, a caption with no `src` or
   more than one line) — fix it and render again. Never hand-write the figure
   around a rejection; redraw it. Never write `card.json` or the `.hresearch` by
   hand.
8. Reply in the pane with exactly one line: the figure's path. The figure is
   a notes file, and a throwaway interactive visual (a plot, a live viewer) is
   allowed alongside it but is never the default medium; the figure is the
   answer.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.