diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 3f4f268..956238a 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -7,7 +7,7 @@
{
"name": "finding-unknowns",
"source": "./",
- "description": "Surface hidden requirements with small interactive HTML artifacts before, during, and after implementation."
+ "description": "Surface hidden requirements with small interactive HTML pages that write your next prompt."
}
]
}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 8941a01..4bc6ba5 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,12 +1,20 @@
{
"name": "finding-unknowns",
- "description": "Surface hidden requirements with small interactive HTML artifacts — blindspot passes, interviews, design-direction pickers, tweakable plans, merge quizzes. Packaging of Thariq Shihipar's \"A Field Guide to Fable: Finding Your Unknowns\" workflow as a Claude Code skill.",
- "version": "0.2.0",
+ "description": "Turns vague prompts into small interactive HTML pages: point at what you recognize, and the page writes your next prompt. Design directions, interviews, blindspot passes, tweakable plans, merge quizzes.",
+ "version": "0.3.0",
"author": {
"name": "droppedoutofcontext"
},
- "homepage": "https://github.com/droppedoutofcontext/finding-unknowns",
+ "homepage": "https://droppedoutofcontext.github.io/finding-unknowns/",
"repository": "https://github.com/droppedoutofcontext/finding-unknowns",
"license": "MIT",
- "keywords": ["skill", "unknowns", "planning", "interview", "html-artifacts", "prompting"]
+ "keywords": [
+ "skill",
+ "requirements",
+ "planning",
+ "interview",
+ "design-directions",
+ "html-artifacts",
+ "prompting"
+ ]
}
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index ab7cdc0..d94b82b 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -17,7 +17,8 @@ jobs:
- name: Verify skeleton and example artifacts
run: |
set -e
- for f in skills/finding-unknowns/assets/reply-skeleton.html docs/examples/*.html; do
+ node skills/finding-unknowns/scripts/verify_artifact.mjs skills/finding-unknowns/assets/reply-skeleton.html --template
+ for f in docs/examples/*.html; do
echo "== $f"
node skills/finding-unknowns/scripts/verify_artifact.mjs "$f"
done
diff --git a/.gitignore b/.gitignore
index e43b0f9..40ddbcd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
.DS_Store
+.claude/
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a213d9d..f7b1ad7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,56 @@
# Changelog
+## 0.3.0 — 2026-10-27
+
+### Skill
+- **A gate before every artifact.** The skill now picks the cheapest channel
+ first: stated defaults when a wrong guess is cheap or nobody can answer,
+ one to three questions in chat when that settles it, an artifact only when
+ the answer has to be seen or the questions depend on each other.
+- **Narrower trigger.** The description names when to fire and, for the first
+ time, when not to: small local changes, cheap tweaks, headless runs. The
+ essay credit moved from the description into the body.
+- **Executable as written.** Script paths are absolute from the skill's base
+ directory; artifacts go to the host's scratch directory when it has one;
+ the ledger is created only after decisions are accepted, and the skill
+ never edits `.gitignore`, branches or commits without asking.
+- **Rules 2 and 5 rewritten** shorter, and the blueprint/skeleton conflict
+ resolved: blueprints may add a slider, checkbox or toggle as long as it
+ feeds `rebuild()`. Arrow shorthand removed from the blueprints.
+
+### Skeleton and verifier
+- **Honest copy button.** It only says "Copied" when a copy actually
+ happened; otherwise it leaves the text selected and says how to copy. The
+ three live examples got the same fix.
+- **Send to chat.** When the host exposes a way for a page to post into the
+ chat, the skeleton shows a Send button next to Copy.
+- **Skeleton bugs fixed:** a quote in a question no longer breaks the
+ reply; the same chip label under two directions keeps two states; quiz
+ answers lock after the first pick and say "Correct" or "Not quite" in text,
+ not only color; unanswered questions are listed as "you decide"; the reply
+ names the artifact it came from.
+- **Dark mode and tokens.** Every skeleton color is a token, with a dark set.
+- **Verifier:** catches CSS `url()`, `@import`, protocol-relative and
+ unquoted external URLs, XHR and WebSocket; parse-checks each script on its
+ own and skips JSON data blocks; requires a real `#out` textarea, a
+ `#copyBtn` button and the `execCommand` fallback; flags leftover skeleton
+ placeholders (`--template` skips that for the skeleton itself).
+- **Negative evals 4–6** catch over-triggering: a small local change, a cheap
+ UI tweak, and a feature with two independent questions.
+
+### Repo
+- **New hero.** A 22-second motion piece built in Remotion replaces the old
+ wireframe GIF: the real four-directions artifact, chips flying into the
+ assembled reply, the reply landing in the chat and the ledger, then four
+ more techniques. GIF for the README, MP4 for the site.
+- **Landing page.** `docs/index.html` is now a real landing: the loop, the
+ three live examples with previews, the eleven techniques, the gate,
+ install. Light and dark, phone-width safe. Social preview image included.
+- **READMEs rewritten** in English and Russian around the new framing.
+- **Keyboard-accessible chips** in the skeleton and the design-directions
+ example, and CONTRIBUTING.md with the repo map and the CI checks.
+- The Russian post kit and the old GIF/WebP moved out of the public repo.
+
## 0.2.0 — 2026-07-10
### Skill
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..fa7352b
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,79 @@
+# Contributing
+
+Thanks for looking under the hood. This repo is small on purpose — one skill, its blueprints,
+a verifier, evals, and live examples. Here is how the pieces fit and how to check your changes.
+
+## Repo map
+
+| Path | What it is |
+|------|------------|
+| `skills/finding-unknowns/SKILL.md` | The skill itself: when it triggers, the rules every artifact obeys, the workflow. |
+| `skills/finding-unknowns/references/techniques.md` | Eleven technique blueprints (when / what to build / what reply to assemble). |
+| `skills/finding-unknowns/assets/reply-skeleton.html` | The starting skeleton every artifact adapts: reply plumbing, chips, quiz mechanics. |
+| `skills/finding-unknowns/scripts/verify_artifact.mjs` | Mechanical checks an artifact must pass before it reaches the user. |
+| `skills/finding-unknowns/evals/` | Adherence evals: prompts, fixtures, assertions, and the run/grade protocol. |
+| `docs/` | GitHub Pages site: landing page, [live examples](https://droppedoutofcontext.github.io/finding-unknowns/), hero GIF/MP4 and social preview. |
+
+## Running the checks
+
+The only dependency is Node 20+. CI ([`verify.yml`](.github/workflows/verify.yml)) runs exactly this:
+
+```bash
+# the skeleton (placeholders allowed) and every shipped example must pass the verifier
+node skills/finding-unknowns/scripts/verify_artifact.mjs skills/finding-unknowns/assets/reply-skeleton.html --template
+for f in docs/examples/*.html; do
+ node skills/finding-unknowns/scripts/verify_artifact.mjs "$f"
+done
+
+# every eval fixture path must exist
+node -e '
+ const fs = require("fs"), path = require("path");
+ const dir = "skills/finding-unknowns/evals";
+ const evals = JSON.parse(fs.readFileSync(path.join(dir, "evals.json"), "utf8")).evals;
+ const missing = evals.flatMap(e => e.files || []).filter(f => !fs.existsSync(path.join(dir, f)));
+ if (missing.length) { console.error("Missing: " + missing.join(", ")); process.exit(1); }
+ console.log("All eval fixture paths exist.");'
+```
+
+Run both before opening a PR.
+
+## What contributions are welcome
+
+**A new technique.** A technique is three things, and a PR should bring all of them:
+
+1. A row in the "Choosing a technique" table in `SKILL.md` — phase, situation, name.
+2. A blueprint in `references/techniques.md` following the existing shape: **When** (which
+ unknown quadrant it targets), **Build**, **Reply assembled**. If it doesn't end in an
+ assembled reply the user pastes back, it isn't a technique for this skill — see rule 2
+ in `SKILL.md`.
+3. Ideally a live example in `docs/examples/` that passes the verifier and follows the
+ quiet-chrome contract (rule 5): the artifact's own UI stays monochrome and plain; style
+ lives only inside `.preview` regions.
+
+**Verifier improvements.** `verify_artifact.mjs` is deliberately dependency-free (no DOM
+library, no npm install). New checks should stay that way and should catch a failure mode
+that actually kills the loop — a broken copy button, a dead listener, an external fetch.
+
+**Eval results.** The evals README describes a two-stage outcome methodology that nobody has
+run at scale. If you run it — with any model — open an issue with the numbers, positive or
+negative. Negative results are just as welcome; the README's claims stay only as strong as
+the evidence.
+
+**Translations.** README translations follow the `README..md` pattern and should track
+the English one's structure. The skill itself stays in English (it's read by models), but
+artifacts it produces are always in the user's language — that's rule 1.
+
+**Evals.** Negative evals matter as much as positive ones: a technique that fires on
+"rename this variable" is a bug. If you add a trigger, add a case where it must not fire.
+
+## Style
+
+- Artifacts: one self-contained HTML file, no CDNs or fetches, script at the end of body,
+ must open from `file://`. The verifier enforces most of this.
+- Prose (skill text, blueprints, READMEs): short sentences, no arrow chains or glyph
+ shorthand — the same plain-prose rule the artifacts follow.
+- Keep the changelog: user-visible changes get a line in `CHANGELOG.md`.
+
+## Releasing (maintainers)
+
+Bump `version` in `.claude-plugin/plugin.json`, add a `CHANGELOG.md` section, tag `vX.Y.Z`.
diff --git a/README.md b/README.md
index b629492..46ff501 100644
--- a/README.md
+++ b/README.md
@@ -2,121 +2,146 @@
# finding-unknowns
-**A Claude Code skill for prompts that are not specs yet.**
+**People can’t describe what they want. They recognize it instantly.**
+A Claude Code skill for prompts that aren’t specs yet. Instead of guessing, Claude builds a small
+interactive page. You point at what you like, and the page writes your next prompt.
+
+[](https://github.com/droppedoutofcontext/finding-unknowns/actions/workflows/verify.yml)
[](LICENSE)
-[](#install)
+[](#install)
[](https://x.com/trq212/article/2073100352921215386)
**English** · [Русский](README.ru.md)
-
+
+
+**[Live examples](https://droppedoutofcontext.github.io/finding-unknowns/)** · [Install](#install) · [How it decides](#when-it-fires)
## Why
-Vibe coding often fails before code generation starts. The agent receives a prompt that is missing
-requirements, taste constraints, edge cases, or review criteria. It fills the gaps with defaults and
-returns something that works, but is not the thing you meant.
-
-Typical prompts:
+Agents rarely fail at writing code. They fail earlier, on a prompt that is missing requirements,
+taste, edge cases or review criteria. The agent fills the gaps with defaults and returns something
+that works but isn’t what you meant.
-> "Make it nicer"
-> "Add sharing, you decide the details"
-> "Port it from this reference"
-> "Am I ready to merge this?"
+> “Make it look more professional.”
+> “Add sharing, you decide the details.”
+> “Port it from this reference.”
+> “Am I ready to merge this?”
-`finding-unknowns` adds a short discovery pass before expensive implementation. The agent builds a small
-self-contained HTML artifact where you can choose options, confirm assumptions, mark risks, or compose a
-design direction from parts. The artifact then generates the next prompt for the chat.
+Asking “what style do you want?” gets a shrug. Showing four rendered directions gets an instant
+answer. This skill spends a few cheap minutes on that kind of showing before the expensive build.
-The loop is:
+## How it works
-**render → choose → assemble prompt → implement.**
+1. **Render.** Claude notices the blocking unknown and builds one self-contained HTML page:
+ options, mocks, questions, or a quiz.
+2. **Point.** You click what you recognize. Take a piece, skip a piece, pick an answer, move a slider.
+3. **Paste.** The page assembles your reply as you click. Copy it back into the chat, or send it
+ directly where the host allows.
+4. **Build.** Claude builds against the decisions you made, and records them in
+ `.unknowns/decisions.md` so nothing settled gets asked twice.
-## Example
+## Try it
-If you ask "make this dashboard better", the skill should not immediately rewrite the UI. It can first
-render four directions for the same screen: a calm ops console, a dense analytics view, an editorial
-version, and a more terminal-like version.
+Each example is exactly what the skill hands you in a session. Click through; the reply at the
+bottom writes itself.
-You mark: "use C's density, A's header, B's palette, definitely not D". The artifact turns that into an
-implementation prompt. The agent gets concrete constraints instead of "make it better".
+| | |
+|---|---|
+| [**Four design directions**](https://droppedoutofcontext.github.io/finding-unknowns/examples/design-directions.html) | “Make the dashboard look more professional.” Four honest answers; take and skip pieces until a fifth assembles itself. |
+| [**The interview**](https://droppedoutofcontext.github.io/finding-unknowns/examples/share-link-interview.html) | “Add share-via-link, you decide the details.” Five questions ordered by architectural blast radius. |
+| [**Quiz me before I merge**](https://droppedoutofcontext.github.io/finding-unknowns/examples/merge-quiz.html) | “I only skimmed the diff.” A risk-grouped report, then six questions; wrong answers point at what you skimmed. |
## Install
+As a Claude Code plugin:
+
```text
/plugin marketplace add droppedoutofcontext/finding-unknowns
/plugin install finding-unknowns@finding-unknowns
```
-Or copy the skill directly:
+Or as a plain skill, for any runtime that reads `~/.claude/skills/`:
-```text
-cp -r skills/finding-unknowns ~/.claude/skills/
+```bash
+git clone https://github.com/droppedoutofcontext/finding-unknowns
+cp -r finding-unknowns/skills/finding-unknowns ~/.claude/skills/
```
-## What's inside
-
-The skill picks a technique for the kind of unknown:
+Then just work. The skill triggers on vague or high-stakes requests, or when you ask “what am I
+missing?”, “interview me”, or “quiz me before I merge”.
-- **Blindspot pass** — find hidden requirements in unfamiliar code or domains.
-- **Teach me my unknowns** — teach vocabulary for taste, quality, or visual decisions.
-- **Four design directions** — show rendered variants and compose a fifth direction from parts.
-- **Mock before you wire** — test placement and interaction before real implementation.
-- **Brainstorm on an effort axis** — sort interventions from quick win to quarter-long bet.
-- **The interview** — extract architectural decisions by blast radius: storage, auth, API, failure modes.
-- **Point at a reference** — verify behavior before porting a reference implementation.
-- **The tweakable plan** — review the parts of a plan most likely to change, not a linear todo list.
-- **Implementation notes** — record plan-vs-reality gaps during a long build.
-- **The buy-in doc** — pre-answer reviewer or stakeholder objections.
-- **Quiz me before I merge** — check whether you understand your own diff before merging.
+## When it fires
-Full rules and technique blueprints live in [`SKILL.md`](skills/finding-unknowns/SKILL.md) and
-[`references/techniques.md`](skills/finding-unknowns/references/techniques.md).
+An artifact costs a few minutes, so the skill first picks the cheapest channel that settles the
+unknown:
-## Artifact contract
+| Situation | What Claude does |
+|---|---|
+| A wrong guess is cheap to redo, or nobody is there to answer (headless, subagent, CI) | Lists its assumptions in one line and builds |
+| One to three independent questions settle it | Asks them in chat. No page |
+| The answer has to be seen to be chosen, there are many interdependent questions, or you asked to be interviewed or quizzed | Builds an artifact |
-Each artifact is one HTML file with no CDN, fetch, or external dependencies. It must open from `file://`,
-keep all JS/CSS inline, and act as a throwaway UI for making decisions.
+“Fix this typo” never gets a page. “Make the landing page look professional” does.
-The required part is the assembled reply: a textarea with the next prompt and a copy button. If the
-artifact does not turn user clicks into a concrete prompt diff, it does not close the loop.
+## Techniques
-Before handing an artifact over, the skill verifies it with:
+| Phase | Technique | What you get |
+|---|---|---|
+| Before | **Blindspot pass** | What you couldn’t know to ask about unfamiliar code, with a prompt fix for each |
+| Before | **Teach me my unknowns** | Vocabulary and live sliders for taste you can’t name yet |
+| Before | **Four design directions** | Four rendered answers; compose a fifth from parts |
+| Before | **Mock before you wire** | Placement and interaction tested on a throwaway mock |
+| Before | **Brainstorm on an effort axis** | Interventions from this-afternoon to quarter-long bets |
+| Before | **The interview** | Decisions ordered by blast radius, with a live decisions table |
+| Before | **Point at a reference** | Proof you understood the reference before porting it |
+| Before | **The tweakable plan** | The plan sorted by what you’re most likely to change |
+| During | **Implementation notes** | Plan versus reality, logged as you build |
+| After | **The buy-in doc** | Reviewer objections answered before review |
+| After | **Quiz me before I merge** | Do you actually know your own diff? |
-```text
-node scripts/verify_artifact.mjs
-```
+The rules and blueprints live in [`SKILL.md`](skills/finding-unknowns/SKILL.md) and
+[`references/techniques.md`](skills/finding-unknowns/references/techniques.md).
-## When not to use it
+## The artifact contract
-If the task is small and clear, this adds overhead. You do not need an artifact for "fix this typo" or
-"rename this variable".
+- One HTML file, in your language, with no CDN, fetch or external dependency. It opens from `file://`.
+- Quiet chrome: color only marks your decisions. Styling lives inside the previews, which show the thing
+ being decided in its real or proposed look.
+- Every control feeds the assembled reply. The copy button tells the truth: when a sandboxed viewer
+ blocks the clipboard, it leaves the text selected and says so instead of claiming success.
+- Before handing it over, the skill runs a dependency-free verifier:
-Use it when the cost of a wrong assumption is higher than a few minutes of discovery.
+```bash
+node skills/finding-unknowns/scripts/verify_artifact.mjs path/to/artifact.html
+```
## Does it work?
-I ran a small eval set: four realistic tasks, four binary checks each. With the skill: **16/16**. Without
-it: **3/16**.
+A small eval set: seven tasks, four binary checks each.
-This is not a benchmark or a big scientific claim. It is a sanity check. The value is not that the agent
-magically becomes smarter; it is that the agent turns assumptions into explicit user decisions before
-expensive implementation.
+- **Positive evals (0–3)**, where the skill should run its loop: **16/16** with the skill, **3/16**
+ without. These measure adherence (did the loop happen), not whether the final result was better.
+ The baseline can’t pass the artifact checks by construction.
+- **Negative evals (4–6)**, new in 0.3.0: a small local change, a cheap UI tweak, and a feature with
+ two independent questions. The skill should stay out of the way. No numbers published yet.
-Evals are in [`skills/finding-unknowns/evals/`](skills/finding-unknowns/evals/).
+The protocol, fixtures and an outcome-eval design nobody has run at scale yet are in
+[`evals/`](skills/finding-unknowns/evals/). If you run them, please open an issue with the numbers,
+whichever way they point.
-## Post kit
+## Contributing
-Russian post draft, short versions, CTAs, and visual notes live in [`docs/post-kit.ru.md`](docs/post-kit.ru.md).
+New technique blueprints, verifier checks and eval results are welcome. See
+[CONTRIBUTING.md](CONTRIBUTING.md) for the repo map and the checks CI runs.
## Credits
-Inspired by [Thariq Shihipar](https://x.com/trq212)'s
-[`A Field Guide to Fable: Finding Your Unknowns`](https://x.com/trq212/article/2073100352921215386) and
-[demo artifacts](https://thariqs.github.io/html-effectiveness/unknowns/index.html).
-
-This repo is an independent packaging of the workflow as a Claude Code skill. Not affiliated with Thariq
-or Anthropic. MIT.
+Adapted from [Thariq Shihipar](https://x.com/trq212)’s
+[“A Field Guide to Fable: Finding Your Unknowns”](https://x.com/trq212/article/2073100352921215386) and
+his [demo artifacts](https://thariqs.github.io/html-effectiveness/unknowns/index.html). This repo is an
+independent packaging of the workflow as a Claude Code skill, not affiliated with Thariq or Anthropic.
+MIT.
diff --git a/README.ru.md b/README.ru.md
index cb04827..1e09e30 100644
--- a/README.ru.md
+++ b/README.ru.md
@@ -2,121 +2,149 @@
# finding-unknowns
-**Claude Code skill для случаев, когда промпт ещё не дотягивает до спеки.**
+**Мы плохо описываем, чего хотим. Но сразу узнаём, когда видим.**
+Скилл для Claude Code на случай, когда промпт ещё не стал спекой. Вместо того чтобы угадывать,
+Claude собирает маленькую интерактивную страницу. Ты показываешь, что нравится, а страница пишет
+за тебя следующий промпт.
+
+[](https://github.com/droppedoutofcontext/finding-unknowns/actions/workflows/verify.yml)
[](LICENSE)
-[](#установка)
+[](#установка)
[](https://x.com/trq212/article/2073100352921215386)
[English](README.md) · **Русский**
-
+
+
+**[Живые примеры](https://droppedoutofcontext.github.io/finding-unknowns/)** · [Установка](#установка) · [Когда срабатывает](#когда-срабатывает)
## Зачем
-Вайбкодинг часто ломается не на генерации кода, а раньше: агент получает промпт, в котором не хватает
-требований, taste constraints, edge cases или критериев ревью. После этого он заполняет пустоты своими
-дефолтами и приносит рабочий, но не тот результат.
+Агенты редко ломаются на написании кода. Они ломаются раньше: на промпте, в котором не хватает
+требований, вкуса, краевых случаев или критериев ревью. Агент заполняет пробелы дефолтами и приносит
+рабочий, но не тот результат.
-Типичные запросы:
-
-> «Сделай поприятнее»
+> «Сделай посолиднее»
> «Добавь шеринг, детали на твоё усмотрение»
> «Перенеси как в референсе»
> «Я готов это мержить?»
-`finding-unknowns` добавляет перед дорогой реализацией короткий discovery pass. Агент делает маленький
-self-contained HTML-артефакт, где можно выбрать варианты, подтвердить assumptions, отметить риски или
-собрать дизайн-направление из частей. Внизу артефакт генерирует следующий промпт для чата.
+На вопрос «какой стиль хочешь?» человек пожимает плечами. Четыре отрисованных варианта он оценивает
+мгновенно. Скилл тратит несколько дешёвых минут на такой показ до того, как начнётся дорогая сборка.
+
+## Как это работает
-Петля простая:
+1. **Показать.** Claude замечает, чего не хватает, и собирает один самодостаточный HTML-файл:
+ варианты, мок, вопросы или квиз.
+2. **Ткнуть.** Ты кликаешь то, что узнаёшь. Берёшь кусок, отбрасываешь кусок, выбираешь ответ,
+ двигаешь слайдер.
+3. **Вставить.** Страница собирает ответ по ходу кликов. Копируешь его в чат или отправляешь сразу,
+ если хост это позволяет.
+4. **Собрать.** Claude строит по принятым решениям и записывает их в `.unknowns/decisions.md`,
+ чтобы решённое не спрашивать дважды.
-**render → choose → assemble prompt → implement.**
+## Попробуй
-## Пример
+Каждый пример ровно такой, какой скилл выдаёт в сессии. Прокликай: ответ внизу пишется сам.
-Если попросить «сделай дашборд лучше», скилл не должен сразу переписывать интерфейс. Он может сначала
-отрендерить четыре направления одного экрана: спокойную ops-консоль, плотный аналитический вид,
-editorial-стиль и более терминальный вариант.
+| | |
+|---|---|
+| [**Четыре направления дизайна**](https://droppedoutofcontext.github.io/finding-unknowns/examples/design-directions.html) | «Сделай дашборд профессиональнее». Четыре честных ответа; бери и отбрасывай куски, пока не соберётся пятый. |
+| [**Интервью**](https://droppedoutofcontext.github.io/finding-unknowns/examples/share-link-interview.html) | «Добавь шеринг по ссылке, детали на твоё усмотрение». Пять вопросов в порядке архитектурного радиуса поражения. |
+| [**Квиз перед мержем**](https://droppedoutofcontext.github.io/finding-unknowns/examples/merge-quiz.html) | «Я только пробежал дифф глазами». Отчёт по рискам и шесть вопросов; неверный ответ ведёт к пропущенному месту. |
-Ты отмечаешь: «берём density из C, header из A, palette из B, D точно нет». Артефакт собирает это в
-реализационный промпт. Агент получает не абстрактное «сделай лучше», а конкретные constraints.
+Примеры на английском: скилл пишет артефакт на языке пользователя, так что в твоей сессии он будет
+по-русски.
## Установка
+Как плагин Claude Code:
+
```text
/plugin marketplace add droppedoutofcontext/finding-unknowns
/plugin install finding-unknowns@finding-unknowns
```
-Либо скопируй скилл напрямую:
+Или как обычный скилл, для любого рантайма, который читает `~/.claude/skills/`:
-```text
-cp -r skills/finding-unknowns ~/.claude/skills/
+```bash
+git clone https://github.com/droppedoutofcontext/finding-unknowns
+cp -r finding-unknowns/skills/finding-unknowns ~/.claude/skills/
```
-## Что внутри
+Дальше просто работай. Скилл срабатывает на расплывчатых или рискованных запросах, а ещё когда
+спрашиваешь «что я упускаю?», «проинтервьюируй меня» или «проверь меня перед мержем».
-Скилл выбирает технику под тип неизвестности:
+## Когда срабатывает
-- **Blindspot pass** — найти неизвестные требования в чужом модуле или домене.
-- **Teach me my unknowns** — дать vocabulary для вкуса, качества или визуальных решений.
-- **Four design directions** — показать несколько rendered вариантов и собрать fifth direction из частей.
-- **Mock before you wire** — проверить placement и interaction до настоящей реализации.
-- **Brainstorm on an effort axis** — разложить варианты от quick win до квартальной ставки.
-- **The interview** — вытащить архитектурные решения по blast radius: storage, auth, API, failure modes.
-- **Point at a reference** — сверить поведение референса перед портированием.
-- **The tweakable plan** — согласовать не линейный todo-list, а места, где likely будут правки.
-- **Implementation notes** — фиксировать расхождения плана с реальностью во время длинного билда.
-- **The buy-in doc** — заранее ответить на objections ревьюера или стейкхолдера.
-- **Quiz me before I merge** — проверить, понимаешь ли ты собственный diff перед merge.
+Артефакт стоит нескольких минут, поэтому скилл сначала выбирает самый дешёвый способ снять
+неизвестность:
-Полные правила и шаблоны техник лежат в [`SKILL.md`](skills/finding-unknowns/SKILL.md) и
-[`references/techniques.md`](skills/finding-unknowns/references/techniques.md).
+| Ситуация | Что делает Claude |
+|---|---|
+| Ошибку дёшево переделать или некому ответить (headless, сабагент, CI) | Одной строкой перечисляет допущения и делает |
+| Хватает одного–трёх независимых вопросов | Задаёт их в чате, без страницы |
+| Ответ нужно увидеть, чтобы выбрать; много связанных вопросов; ты сам попросил интервью или квиз | Собирает артефакт |
-## Как устроен артефакт
+«Исправь опечатку» страницу не получит. «Сделай лендинг солиднее» получит.
-Каждый артефакт — один HTML-файл без CDN, fetch и внешних зависимостей. Он должен открываться с `file://`,
-держать весь JS/CSS внутри и работать как throwaway UI для принятия решений.
+## Техники
-Обязательная часть — assembled reply: textarea с готовым следующим промптом и copy button. Если артефакт
-не превращает клики пользователя в конкретный prompt diff, он не закрывает loop.
+| Фаза | Техника | Что получаешь |
+|---|---|---|
+| До | **Blindspot pass** | Что ты не мог знать о чужом коде, и правку промпта под каждый пункт |
+| До | **Teach me my unknowns** | Словарь и живые слайдеры для вкуса, который пока не назвать словами |
+| До | **Four design directions** | Четыре отрисованных ответа; пятый собирается из кусков |
+| До | **Mock before you wire** | Размещение и взаимодействие на одноразовом моке |
+| До | **Brainstorm on an effort axis** | Варианты от «за вечер» до «на квартал» |
+| До | **The interview** | Решения по радиусу поражения и живая таблица решений |
+| До | **Point at a reference** | Доказательство, что референс понят, до переноса |
+| До | **The tweakable plan** | План, отсортированный по тому, что ты скорее всего поменяешь |
+| Во время | **Implementation notes** | План против реальности, по ходу сборки |
+| После | **The buy-in doc** | Возражения ревьюера закрыты до ревью |
+| После | **Quiz me before I merge** | Знаешь ли ты свой собственный дифф? |
-Перед тем как отдавать артефакт, скилл проверяет его через:
-
-```text
-node scripts/verify_artifact.mjs
-```
+Правила и чертежи техник: [`SKILL.md`](skills/finding-unknowns/SKILL.md) и
+[`references/techniques.md`](skills/finding-unknowns/references/techniques.md).
-## Когда это не нужно
+## Контракт артефакта
-Если задача маленькая и ясная, скилл только добавляет overhead. Для «исправь опечатку» или «переименуй
-переменную» никакой artifact не нужен.
+- Один HTML-файл на языке пользователя, без CDN, fetch и внешних зависимостей. Открывается из `file://`.
+- Тихий интерфейс: цвет обозначает только твои решения. Стили живут внутри превью, а превью
+ показывает решаемую вещь в её настоящем или предлагаемом виде.
+- Каждый контрол обновляет собранный ответ. Кнопка копирования не врёт: если песочница блокирует
+ буфер обмена, текст остаётся выделенным, и страница прямо об этом говорит.
+- Перед выдачей скилл прогоняет верификатор без зависимостей:
-Он полезен там, где стоимость неверного assumption выше, чем пара минут на discovery.
+```bash
+node skills/finding-unknowns/scripts/verify_artifact.mjs path/to/artifact.html
+```
-## Проверка
+## Работает ли это?
-Я прогнал маленький набор evals: четыре реалистичные задачи, по четыре бинарные проверки. Со скиллом
-получилось **16/16**, без него — **3/16**.
+Небольшой набор эвалов: семь задач, по четыре бинарные проверки.
-Это не бенчмарк и не большой научный вывод. Скорее sanity check: ценность здесь не в том, что агент
-«становится умнее», а в том, что он переводит assumptions в явные решения пользователя до дорогой
-реализации.
+- **Позитивные (0–3)**, где скилл должен запустить цикл: **16/16** со скиллом и **3/16** без него.
+ Это проверка следования процессу, а не качества итогового результата: без скилла артефактных
+ проверок не пройти по построению.
+- **Негативные (4–6)**, добавлены в 0.3.0: мелкая локальная правка, дешёвый UI-твик и фича с двумя
+ независимыми вопросами. Здесь скилл должен не мешать. Цифр пока нет.
-Evals лежат в [`skills/finding-unknowns/evals/`](skills/finding-unknowns/evals/).
+Протокол, фикстуры и дизайн outcome-эвала, который пока никто не прогонял в масштабе, лежат в
+[`evals/`](skills/finding-unknowns/evals/). Прогонишь — открой issue с цифрами, в какую бы сторону
+они ни указывали.
-## Материалы для поста
+## Контрибьютинг
-Черновик поста, короткие версии, CTA и список визуалов лежат в [`docs/post-kit.ru.md`](docs/post-kit.ru.md).
+Новые техники, проверки верификатора и результаты эвалов приветствуются. Карта репозитория и
+проверки CI описаны в [CONTRIBUTING.md](CONTRIBUTING.md).
## Благодарности
-Идея вдохновлена работой [Thariq Shihipar](https://x.com/trq212):
-[`A Field Guide to Fable: Finding Your Unknowns`](https://x.com/trq212/article/2073100352921215386) и
-его [демо-артефактами](https://thariqs.github.io/html-effectiveness/unknowns/index.html).
-
-Этот репозиторий — независимая упаковка подхода в Claude Code skill. Не аффилирован с Thariq или
-Anthropic. MIT.
+По мотивам эссе [Thariq Shihipar](https://x.com/trq212)
+[«A Field Guide to Fable: Finding Your Unknowns»](https://x.com/trq212/article/2073100352921215386) и его
+[демо-артефактов](https://thariqs.github.io/html-effectiveness/unknowns/index.html). Это независимая
+упаковка подхода в скилл для Claude Code, без аффилиации с Thariq или Anthropic. MIT.
diff --git a/docs/examples/design-directions.html b/docs/examples/design-directions.html
index 432501b..9b201a8 100644
--- a/docs/examples/design-directions.html
+++ b/docs/examples/design-directions.html
@@ -28,7 +28,8 @@
.opt .why-opt{display:block;color:var(--mut);font-size:12.5px;margin-top:4px}
.preview{border:1px dashed var(--line);border-radius:8px;background:#fff;overflow:hidden;margin:0 0 10px}
.chip{display:inline-flex;align-items:center;gap:6px;margin:0 6px 8px 0;padding:6px 11px;
- border-radius:999px;border:1.5px solid var(--line);background:#fff;font-size:12.5px;cursor:pointer}
+ border-radius:999px;border:1.5px solid var(--line);background:#fff;
+ font:inherit;font-size:12.5px;cursor:pointer}
.chip .ic{font-size:11px;width:13px;text-align:center;color:var(--mut)}
.chip.steal{border-color:var(--steal);background:var(--steal-bg);color:var(--steal)}
.chip.skip{border-color:var(--skip);background:var(--skip-bg);color:var(--skip);text-decoration:line-through}
@@ -133,11 +134,11 @@
- ·pure text
- ·one accent color
- ·aggressive truncation
+
+
+
@@ -207,7 +208,7 @@
Your next message — written for you
- Copied — paste it back into the chat
+ Copied — paste it back into the chat
@@ -264,13 +265,21 @@
Your next message — written for you
var out = document.getElementById('out');
function done() {
var el = document.getElementById('copied');
+ el.textContent = el.dataset.ok || el.textContent;
el.classList.add('on');
setTimeout(function () { el.classList.remove('on'); }, 2200);
}
function legacy() {
+ var ok = false;
out.removeAttribute('readonly'); out.select();
- try { document.execCommand('copy'); } catch (e) { /* manual copy remains */ }
- out.setAttribute('readonly', ''); done();
+ try { ok = document.execCommand('copy'); } catch (e) { ok = false; }
+ out.setAttribute('readonly', '');
+ if (ok) { done(); return; }
+ // copy was blocked: leave the text selected and say how to copy it
+ var el = document.getElementById('copied');
+ out.focus(); out.select();
+ el.textContent = 'Press Cmd+C or Ctrl+C to copy the selected text';
+ el.classList.add('on');
}
if (navigator.clipboard && navigator.clipboard.writeText)
navigator.clipboard.writeText(out.value).then(done, legacy);
diff --git a/docs/examples/merge-quiz.html b/docs/examples/merge-quiz.html
index a599dd3..7d7efa6 100644
--- a/docs/examples/merge-quiz.html
+++ b/docs/examples/merge-quiz.html
@@ -186,7 +186,7 @@
Your verdict — written for you
- Copied — paste it back into the chat
+ Copied — paste it back into the chat
@@ -242,13 +242,21 @@
Your verdict — written for you
var out = document.getElementById('out');
function done() {
var el = document.getElementById('copied');
+ el.textContent = el.dataset.ok || el.textContent;
el.classList.add('on');
setTimeout(function () { el.classList.remove('on'); }, 2200);
}
function legacy() {
+ var ok = false;
out.removeAttribute('readonly'); out.select();
- try { document.execCommand('copy'); } catch (e) { /* manual copy remains */ }
- out.setAttribute('readonly', ''); done();
+ try { ok = document.execCommand('copy'); } catch (e) { ok = false; }
+ out.setAttribute('readonly', '');
+ if (ok) { done(); return; }
+ // copy was blocked: leave the text selected and say how to copy it
+ var el = document.getElementById('copied');
+ out.focus(); out.select();
+ el.textContent = 'Press Cmd+C or Ctrl+C to copy the selected text';
+ el.classList.add('on');
}
if (navigator.clipboard && navigator.clipboard.writeText)
navigator.clipboard.writeText(out.value).then(done, legacy);
diff --git a/docs/examples/share-link-interview.html b/docs/examples/share-link-interview.html
index d5a246e..809b821 100644
--- a/docs/examples/share-link-interview.html
+++ b/docs/examples/share-link-interview.html
@@ -166,7 +166,7 @@
Your next message — written for you
- Copied — paste it back into the chat
+ Copied — paste it back into the chat
@@ -218,13 +218,21 @@
Your next message — written for you
var out = document.getElementById('out');
function done() {
var el = document.getElementById('copied');
+ el.textContent = el.dataset.ok || el.textContent;
el.classList.add('on');
setTimeout(function () { el.classList.remove('on'); }, 2200);
}
function legacy() {
+ var ok = false;
out.removeAttribute('readonly'); out.select();
- try { document.execCommand('copy'); } catch (e) { /* manual copy remains */ }
- out.setAttribute('readonly', ''); done();
+ try { ok = document.execCommand('copy'); } catch (e) { ok = false; }
+ out.setAttribute('readonly', '');
+ if (ok) { done(); return; }
+ // copy was blocked: leave the text selected and say how to copy it
+ var el = document.getElementById('copied');
+ out.focus(); out.select();
+ el.textContent = 'Press Cmd+C or Ctrl+C to copy the selected text';
+ el.classList.add('on');
}
if (navigator.clipboard && navigator.clipboard.writeText)
navigator.clipboard.writeText(out.value).then(done, legacy);
diff --git a/docs/four-directions.gif b/docs/four-directions.gif
deleted file mode 100644
index 0114fa0..0000000
Binary files a/docs/four-directions.gif and /dev/null differ
diff --git a/docs/hero.gif b/docs/hero.gif
new file mode 100644
index 0000000..a2d8dd1
Binary files /dev/null and b/docs/hero.gif differ
diff --git a/docs/hero.mp4 b/docs/hero.mp4
new file mode 100644
index 0000000..cfad1f1
Binary files /dev/null and b/docs/hero.mp4 differ
diff --git a/docs/img/design-directions.jpg b/docs/img/design-directions.jpg
new file mode 100644
index 0000000..130b31e
Binary files /dev/null and b/docs/img/design-directions.jpg differ
diff --git a/docs/img/hero-poster.jpg b/docs/img/hero-poster.jpg
new file mode 100644
index 0000000..4767347
Binary files /dev/null and b/docs/img/hero-poster.jpg differ
diff --git a/docs/img/merge-quiz.jpg b/docs/img/merge-quiz.jpg
new file mode 100644
index 0000000..e8bb832
Binary files /dev/null and b/docs/img/merge-quiz.jpg differ
diff --git a/docs/img/share-link-interview.jpg b/docs/img/share-link-interview.jpg
new file mode 100644
index 0000000..b99ec44
Binary files /dev/null and b/docs/img/share-link-interview.jpg differ
diff --git a/docs/index.html b/docs/index.html
index c270c20..ba326ea 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -3,47 +3,301 @@
-finding-unknowns — live examples
+finding-unknowns — Claude Code skill for vague prompts and hidden requirements
+
+
+
+
+
+
+
+
+
+
-
finding-unknowns — live examples
-
The skill's whole thesis is that people recognize what they can't describe — so
-don't read about the artifacts, click through them. Each one below is exactly what the skill hands
-you in a real session, ending in a reply written for you.
People can’t describe what they want. They recognize it instantly.
+
A Claude Code skill for prompts that aren’t specs yet. Instead of guessing, Claude builds a small
+ interactive page: you point at what you like, and the page writes your next prompt for you.
Then just work. The skill triggers on vague or high-stakes requests, or when you ask
+ “what am I missing?”, “interview me”, or “quiz me before I merge”.