Generate structured proof skeletons with tactics, strategies, and intermediate lemmas for theorems in Isabelle/HOL or Coq. Use when users need to: (1) Create proof outlines for theorem statements, (2) Generate proof structure with tactic placeholders, (3) Identify key lemmas needed for a proof, (4) Plan proof strategies (induction, case analysis, forward/backward reasoning), (5) Scaffold proofs with intermediate steps and subgoals, or (6) Convert theorem statements into detailed proof templates. Supports both Isabelle/HOL and Coq equally.
npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill proof-skeleton-generator
Generate structured proof skeletons with tactics, proof strategies, and key lemmas for theorems in Isabelle/HOL or Coq.
Examine the theorem to understand:
Ask the user which proof assistant to target:
If not specified, default to generating both versions.
Based on the theorem structure, identify the appropriate proof technique:
Induction - When theorem involves recursive types:
Case Analysis - When theorem involves:
Direct Proof - When theorem is:
Forward Reasoning - Build up facts:
Backward Reasoning - Work from goal:
Determine helper lemmas that may be needed:
Use the reference files for tactics and patterns:
Create a skeleton that includes:
Organize the proof skeleton clearly:
For Isabelle/HOL:
(* Helper lemmas if needed *)
lemma helper_name:
"statement"
sorry
(* Main theorem *)
theorem theorem_name:
assumes "assumptions"
shows "conclusion"
proof (method)
case case_name
(* Goal: ... *)
(* Strategy: ... *)
(* Key steps:
1. ...
2. ...
*)
show ?case sorry
next
(* Additional cases *)
qed
For Coq:
(* Helper lemmas if needed *)
Lemma helper_name :
statement.
Proof.
(* proof *)
admit.
Admitted.
(* Main theorem *)
Theorem theorem_name :
statement.
Proof.
intros.
induction ... as [| ...].
- (* Case: ... *)
(* Strategy: ... *)
admit.
- (* Case: ... *)
(* IH: ... *)
(* Strategy: ... *)
admit.
Admitted.
sorry (Isabelle) or admit (Coq) for incomplete stepssledgehammer (Isabelle) might helpList properties: forall xs, P xs
xsx :: xs with IH P xsNatural number properties: forall n, P n
n0 or Suc 0Suc n with IH P nRecursive function properties: When function is defined recursively
Conditional expressions: if b then ... else ...
b (true/false cases)Option types: match opt with None => ... | Some x => ...
None and Some xSum types: match x with Left a => ... | Right b => ...
Definitional equalities: f x = g x where definitions unfold
Trivial goals: Provable by auto, simp, reflexivity
Repeated subgoals: Same property needed multiple times
Complex intermediate facts: Multi-step derivations
Standard properties: Check standard library first
proof (induction xs)
case Nil
show ?case by simp
next
case (Cons x xs)
show ?case using Cons.IH by simp
qed
proof (cases x)
case Constructor1
show ?thesis
proof -
(* detailed steps *)
qed
next
case Constructor2
(* ... *)
qed
proof -
have step1: "fact1" by simp
have step2: "fact2" using step1 by simp
show ?thesis using step2 by simp
qed
proof (rule some_rule)
show "premise1" sorry
show "premise2" sorry
qed
auto, simp, blast might worksorry/admitGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take arabelatso/proof-skeleton-generator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.