Pressure Test
Throwaway interactive terminal app or HTML demo over liftable production logic to pressure-test business rules, state machine, data model, odd record, events…
от melodic-software★ 34 звезды на GitHub
Установить Pressure Test в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Pressure test
Arguments. [observe|vendor-fit] [--medium <value>] [scope]. e.g., /prototype:pressure-test scheduling state machine,
/prototype:pressure-test observe reservation check in renew or in a guard, or
/prototype:pressure-test vendor-fit can the SMS service send due-date reminders. A leading observe
selects Observe; a leading vendor-fit, or a question whether
an outside service does something for us, selects
Vendor-fit. --medium picks the shell
(Two shells) and is not part of the scope.
Pre-computed context
Project ecosystems: !${CLAUDE_SKILL_DIR}/scripts/detect-ecosystems.sh 2>/dev/null || echo "none detected"
Variables
Arguments: $ARGUMENTS
Purpose
This skill checks a set of rules by running them. It puts the logic in question into a small pure
module, wraps that module in a disposable shell a person drives one action at a time, and shows
the whole state after every action. The shell is a terminal app by default, or one HTML file for
a driver who does not use a terminal. With observe, the agent runs the variants of a fork itself
and recommends one.
The examples in this file follow one case: a library's loan rules. A copy can be on the shelf, on loan, overdue or reserved, and the events are borrow, renew, return, reserve and a day passing. A rule such as "a loan can be renewed twice" fits on one line and still says nothing about the patron waiting on a reservation for that copy; the gap appears when someone renews such a copy and reads the resulting state.
Read ${CLAUDE_PLUGIN_ROOT}/context/discipline.md first. It holds
the rules every prototype follows, the auto-invoke gate, and where the answer gets written down.
This file adds only what is specific to the logic facet.
A question about how a screen should look ("what should this look like") is a visual/appearance
question, not a logic/state question, and belongs to the other facet: invoke
/prototype:explore-directions via the Skill tool instead.
Does the question need a running model?
Use this skill when acting on a running model would settle the question sooner than reading code or arguing about it. It raises fidelity (how concrete the artifact is) for a question discussion cannot settle; the cheapest artifact that answers the question wins. In the loans case:
| What is in doubt | Loans example | Use this skill? |
|---|---|---|
| How the rules treat events in an awkward order, including the ones they should refuse | A reserved copy comes back late and its borrower then tries to renew it | Yes |
| Whether the record shape can hold a case the library really has | One patron borrows two copies of the same title | Yes |
| What the calls should take and return | Renew by loan id or by copy id | Yes; the module's interface is the draft |
| Whether an outside service does what the rules need | Can the SMS service send a due-date reminder and report whether it was delivered? | Yes, in vendor-fit mode |
| What today's code already does | Does the current renew() check reservations? |
No; read the code |
Two shells. TUI default
Two disposable shells can front the same portable logic module (step 2 below), the terminal app (the default) and a self-contained HTML demo. Both run the same process; only the shell swaps. Route by audience:
Vendor-fit always takes the terminal shell, ahead of every rule below and without running the medium resolver: the HTML demo's CSP blocks the vendor call, and a key in a page would leave the machine with it. When an HTML demo or a page medium was asked for, say so in one line and build the terminal shell.
The driver is a developer with a terminal → the TUI (the default below).
The driver works outside engineering (design, product, or the business side) and will press the buttons, or no terminal fits the handoff → the HTML demo shell (next section): one file, nothing to install, opened by double-click.
Explicit override wins both ways. Ask for a TUI or an HTML demo directly and that beats the default routing.
Then the resolved medium. With no such request, run the shared medium resolver. This plugin has no
mediumoption, so--optionis empty; add--argumentonly when the reader passed--medium, with the value they gave:node "${CLAUDE_PLUGIN_ROOT}/lib/view-settings.mjs" resolve --producer prototype:pressure-test --option "" [--argument <the --medium value>]It prints one JSON line, then the report line naming the medium and what decided it, then one line per notice. Print the report line and each notice in the handoff as they stand. Leave every settings file to the resolver. A usage error (exit 2) means the argument named no medium: say so in one line and run it again without
--argument. When the
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(git branch:*) - 02
Bash(git status:*) - 03
Bash(head:*) - 04
Bash(echo:*) - 05
Bash(${CLAUDE_SKILL_DIR}/scripts/detect-ecosystems.sh:*)
Вложенные файлы
- evals/evals.json
- scripts/detect-ecosystems.sh
- scripts/detect-ecosystems.test.sh
FAQ
Что делает скилл Pressure Test?
Throwaway interactive terminal app or HTML demo over liftable production logic to pressure-test business rules, state machine, data model, odd record, events, or API (observe, vendor-fit sandbox) and record a note. Use when: 'prototype this reducer', 'is this transition allowed', 'terminal or HTML demo'. Not for UI: /prototype:explore-directions.
Как установить скилл Pressure Test?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Pressure Test запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…