Agent Skill
2/7/2026skill-lean-implementation
Implement Lean 4 proofs and definitions using lean-lsp tools. Invoke for Lean-language implementation tasks.
B
benbrastmckie
4GitHub Stars
1Views
npx skills add benbrastmckie/ProofChecker
SKILL.md
| Name | skill-lean-implementation |
| Description | Implement Lean 4 proofs and definitions using lean-lsp tools. Invoke for Lean-language implementation tasks. |
name: skill-lean-implementation description: Implement Lean 4 proofs and definitions using lean-lsp tools. Invoke for Lean-language implementation tasks. allowed-tools: Task, Bash, Edit, Read, Write context: fork agent: lean-implementation-agent
Lean Implementation Skill
Thin wrapper that delegates Lean proof implementation to lean-implementation-agent.
<role>Delegation skill for Lean implementation workflows.</role>
<task>Validate inputs, delegate Lean implementation, and update status/artifacts.</task>
<execution>See Execution Flow for preflight/delegation/postflight steps.</execution>
<validation>Validate metadata file, summary artifact, and state updates.</validation>
<return_format>Brief text summary; metadata file in specs/{N}_{SLUG}/.return-meta.json.</return_format>
Context References
Reference (do not load eagerly):
- Path:
.opencode/context/core/formats/return-metadata-file.md- Metadata file schema - Path:
.opencode/context/core/patterns/postflight-control.md- Marker file protocol - Path:
.opencode/context/core/patterns/file-metadata-exchange.md- Metadata handling - Path:
.opencode/context/core/patterns/jq-escaping-workarounds.md- jq workaround patterns - Path:
.opencode/context/index.md- Context discovery index
Trigger Conditions
- Task language is lean
- /implement command invoked
Execution Flow
- Validate task and status.
- Update status to implementing.
- Create postflight marker file.
- Delegate to
lean-implementation-agentvia Task tool. - Read metadata file and update state + TODO.
- Link summary artifact and commit.
- Clean up marker and metadata files.
Skills Info
Original Name:skill-lean-implementationAuthor:benbrastmckie
Download