durchnull/render/questionnaire
Claude Code and agent skill by durchnull/render
- community
Checking that the SKILL.md file is still in the repository.
Build, render and read back a data-driven questionnaire page — scaffold the kind page once, author a JSON spec per questionnaire, render it, and parse the hand-back block the person pastes into the chat. Use when you need to ask someone a set of questions and get structured answers back.
Install
npx vskill@latest install durchnull/render/questionnaireSKILL.md
The same SKILL.md was published earlier as durchnull/render/questionnaire.
Questionnaire pages on the render engine
When
You need answers from a person that you cannot derive yourself, and there are enough of them that asking in chat would be a slog — an intake, a review, a set of decisions someone has to make before work can continue.
The loop is: spec in → page out → person answers → hand-back block in → structured answers out. You own the first and the last step; the plugin owns everything between them.
What this plugin does not decide
The plugin knows how to ask. It does not know what to ask or where the answers go — that is the consuming project's business.
- The project's own skill owns the trigger ("when the user starts a new
engagement, ask the intake questions"), the domain wording, and the routing of answers into files, tickets or a plan.
- This skill owns the spec schema, the rendering, and the parsing.
Keep them separate. A project skill that inlines this one's mechanics stops getting fixes; this skill that learns a project's vocabulary stops being usable anywhere else.
1. Scaffold the kind page — once per project
If .render/ does not exist yet, run /render:init first.
A questionnaire family is one page folder plus a folder for the specs. The page is about ten lines and never changes again:
SOURCES is the lifecycle. Every spec that matches becomes a page; move a spec out of the glob and --prune deletes the page that belonged to it. There is no folder to create or delete per questionnaire, and no registry to update.
Put the specs somewhere that belongs to the project, not inside .render/ — they are content, and someone other than you may want to read them.
2. Author a spec
One JSON file per questionnaire. The shape:
The rules that matter:
idstable and unique — it keys both the saved answers and the output file
name; question ids are the join key in the hand-back
typeissingle(default) ·multi·amount·text; prefersingle
over free text; give every question a why; use show-if rather than "if applicable" prose
- option
keys are short and stable, labels are free to reword; a multi
question whose honest answer can be "none of these" gets that as its last option with "exclusive": true — never as prose in the intro
- anything the schema does not know belongs in
meta, which is never rendered
Authoring the questions themselves (USWDS/GOV.UK evidence, baked into the design — your job is only the content):
- micro-topic sections, ordered simple → difficult: the section title is
the subheading the person sees over each question
- amounts: ask "roughly how much" and accept what is typed — the page never
parses or normalizes a value, so ~1.200 and 500–800 are valid answers
- never mark anything optional and never make anything mandatory; Skip and
Don't-know standing on every question carry that message
- the intro states up front that answers stay in the file's local storage,
so people know they can close it and come back (the engine's footer and resume banner do this — don't repeat it in your intro text)
Strict JSON, no comments. Unknown keys are errors on purpose — a typo that renders is a question nobody will ever see. The validator prints every finding at once and a failing spec renders nothing, so render and read the findings; open ${CLAUDE_PLUGIN_ROOT}/docs/spec-questionnaire.md only when a finding or an advanced field needs the full schema.
3. Render and check
A spec that fails validation is not rendered — the run prints every finding and exits non-zero. Fix the spec; never work around the validator.
Then tell the person where the file is and let them open it. It is one self-contained file: it works offline, from a USB stick, in a browser with no network. Their answers stay in that browser until they copy them out.
4. Read the hand-back
The summary screen produces a text block behind a copy button. The person pastes it into the chat. Save the paste to a file (or pipe it in) and let the shipped parser do the mechanics — never parse it by eye:
The marker is auto-detected, the block is found inside a longer message, and every item comes back with its state, answers and note. Exit 2 means no usable block — usually a truncated copy; ask for the paste again. (The grammar lives in ${CLAUDE_PLUGIN_ROOT}/docs/handback.md; you should not need it unless the report surprises you.)
What to do with the result:
- `[q..]` ids are the join key. Match them against your spec to reach
meta
and anything else the page deliberately never showed.
- `(key) Label` — parse the key, quote the label back to the person.
- `? don't know — please follow up` is a real answer. It marks what to ask
about next, in conversation, where a form was the wrong tool.
- `(skipped)` and `(not answered)` are different: one is a decision, the
other is an absence. Neither is an error.
- Notes matter most where the answer is weakest. A note on a skipped question
is usually the reason it was skipped.
The paste may arrive with no skill running
A person pastes the block whenever they finish, which may be hours later, in a fresh session, with nothing loaded. Plan for it in the project's skill:
- give the marker a distinctive, project-specific name
("handback-marker": "ACME INTAKE ANSWERS") so it cannot collide
- have the project skill's
descriptionname that exact marker, so a paste
containing it is enough to select the skill
- keep the routing rule in the project skill, not here
5. Iterating
Editing a spec re-renders only that page, and the answers already given survive: they are keyed by the spec id, not by the file's contents. Changing the id starts an empty page — so do not change it to fix a typo in the title.
Adding a question mid-flow is safe. Removing one drops it from the hand-back but leaves the rest untouched.
Never
- Never copy the questionnaire kind into a project. It lives in the engine and
is imported; a copy forks on day one and never receives a behaviour fix. If a project needs a page type the plugin does not ship, it writes its own kind in .render/kinds/<name>.py — a different thing from forking this one.
- Never write project-side CSS or JS for these pages. The interactive
components, the state kit and the copy mechanics are in the design system; if something is missing, it gets added there, documented in design-manual.md first (section 6b and 11).
- Never make a question mandatory and never gate the hand-back on
completeness. A questionnaire that demands everything gets abandoned; one that accepts a third of the answers gets finished later.
- Never put anything sensitive in a spec expecting it to stay hidden. The
page is a plain file; meta is invisible to the reader, not secret.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/questionnaire/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/durchnull/render/questionnaire)