midspiral/lemmafit/lemmafit-dafny
Claude Code and agent skill by midspiral/lemmafit
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Dafny code patterns and reference for lemmafit apps. Use when writing or editing .dfy files, defining state machines (Model, Action, Inv, Init, Step), or when Dafny verification fails and you need to fix errors. Covers the AppCore module pattern and common mistakes.
Install
npx vskill@latest install midspiral/lemmafit/lemmafit-dafnySKILL.md
Lemmafit Dafny
When to Write Code in Dafny
- ALL
verifiable:trueentries in the spec MUST be written in Dafny (do not write verifiable code directly in JavaScript or TypeScript)
Dafny Pattern Example
Given the Replay kernel, a simple counter app with inherited undo/redo could be written like this
Common Mistakes to Avoid
- It is an error to repeat inherited
requiresclauses. - It is OK to have
assume {:axiom} falsein _proofs_, temporarily, as the pieces are put together. Strive for zero such axioms eventually. - Nested pattern matching _is_ allowed, but needs to be properly parenthesized. Example (out of context):
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lemmafit-dafny/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 3
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/midspiral/lemmafit/lemmafit-dafny)