/restruct:setup-verify-restructfrom restruct
Discover lint/typecheck/test/build commands in the current project and write them to .restruct/verify.yaml so Claude Code automatically runs them on task completion.
Ships in restruct. 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.
Scan the project to discover what verification commands should run when Claude
completes a task. This generates .restruct/verify.yaml which enforces lint,
typecheck, build, and test rules automatically.
package.json — check for scripts: test, lint, build, typecheck, check, tsc.
pnpm, npm, yarn) from lock files.--filter syntax.go.mod — add go vet ./... and go test ./....Cargo.toml — add cargo check, cargo clippy (if available), cargo test.Makefile or Justfile — check for lint, test, check targets.--help).web/**/*.ts, src/**/*.tsx).**/*.go (or scoped to the Go module directory like cli/**/*.go).**/*.rs.pnpm test or pnpm build) get no globs — they run on any file change.Create .restruct/verify.yaml with the discovered checks. Example format:
checks:
- name: test
command: "pnpm test"
- name: build
command: "pnpm build"
- name: typecheck
command: "pnpm --filter web exec tsc --noEmit"
globs:
- "web/**/*.ts"
- "web/**/*.tsx"
- name: go-vet
command: "pnpm --filter @restruct/cli exec go vet ./..."
globs:
- "cli/**/*.go"
Show the user the discovered checks and ask if they want to adjust anything before finalizing.
If .restruct/verify.yaml already exists, show a diff and ask before overwriting.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
restruct@thejustinwalsh is listed by thejustinwalsh/claude-plugins — review the source before installing
npx claudepluginhub thejustinwalsh/claude-plugins --plugin restruct10 skills in this plugin
/disable-restructDisable restruct prompt refinement. Prompts pass through to Claude without local LLM preprocessing./enable-restructEnable restruct prompt refinement. Re-enables the local LLM preprocessing of prompts./init-restructGenerate a minimal, research-backed CLAUDE.md for this project. Analyzes the codebase for non-obvious commands and conventions, interviews you for team knowledge, and produces a concise file that stays under 30 rules./refine-restructManually refine a prompt through the local LLM meta-prompt pipeline. Transforms a casual developer request into a structured, rules-aware prompt using a local Ollama model. Only works when features.refinement is enabled in config.yaml./review-permissions-restructReview tool permission decisions across sessions and propose auto-approval rules. Analyzes which tools the user consistently approves, then suggests additions to .restruct/permissions.yaml to eliminate repetitive permission dialogs./setup-permissions-restructWrite an initial .restruct/permissions.yaml with safe defaults so the restruct permit hook can auto-approve common tool use without repeated dialogs.