Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
]
}
16 changes: 12 additions & 4 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
3 changes: 2 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.claude/
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
79 changes: 79 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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.<lang>.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`.
Loading
Loading