/ratchet-code:interface-feedbackfrom ratchet-code
Use when writing or reviewing interface code that shows an action button, a toast or error message, or a form's submit, including a review of such a diff. Show only the actions the server allows this viewer and why one is blocked, render errors by code with their details, and check a submit's preconditions so it never succeeds partly in silence.
Ships in ratchet-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read every applicable AGENTS.md first. Repository-local policy overrides these defaults.
What a person sees before and after they act should match what the server will do. These rules
hold in any interface: a web app, a native app, a command-line tool. For where a React app puts
these pieces, use react-app-structure.
can_leave or can_post on the resource. ratchet-backend:http-api-design says how the
server returns them. Do not work out permissions in the client from the viewer's role or from
counts it compares itself: the copy drifts from the server's check, and the interface offers
an action the server then refuses.The server sends an error code beside its message (ratchet-backend:error-handling owns that
contract). The client:
retry_after or the limit that was
reached ("You can post again in 4 minutes");function errorText(err: ApiError): string {
const text = catalog[err.code]?.(err.details) ?? err.message
return err.details.retry_after ? `${text} ${retryIn(err.details.retry_after)}` : text
}
For each action in the diff, ask where its visibility comes from and what the viewer sees when it is blocked. For each error path, ask what the person reads for a rate limit, for invalid input, and for an outage, and whether those three differ. For each submit, ask what happens when one of its parts fails.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-code12 skills in this plugin
/lint-rule-authoringUse when writing or reviewing the code of a lint rule, analyzer, or codemod that walks a syntax tree, such as an ESLint or oxlint rule, a Clippy lint, or a custom AST check, including a request to "write a rule that bans X". Covers finding the rule's subject by what a name is bound to, reporting a name it cannot trace, and the fixtures that prove both./native-app-architectureUse when writing or reviewing native app code, deciding where logic lives, adding a web view, setting up native project files, or planning native CI. Structure a native app (Swift, Kotlin, .NET MAUI) around a portable core library with thin platform views./Other plugins' skills for the same job