Compose Multiplatform Patterns
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Guides formal verification of algorithms, data structures, and properties in the ComposeLife project using Lean 4 and Mathlib.
$ npx skills add alexvanyo/composelife --skill formally-verify -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alexvanyo/composelife formally-verify --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alexvanyo/composelife.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/formally-verify .claude/skills/formally-verify && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "formally-verify" agent skill from https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verify into .claude/skills/formally-verify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formally-verify", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verifyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alexvanyo/composelife --skill formally-verify -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alexvanyo/composelife formally-verify --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexvanyo/composelife.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/formally-verify .agents/skills/formally-verify && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "formally-verify" agent skill from https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verify into .agents/skills/formally-verify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formally-verify", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alexvanyo/composelife --skill formally-verify -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alexvanyo/composelife formally-verify --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexvanyo/composelife.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/formally-verify .cursor/skills/formally-verify && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "formally-verify" agent skill from https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verify into .cursor/skills/formally-verify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formally-verify", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alexvanyo/composelife.git --path .agents/skills/formally-verify--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alexvanyo/composelife --skill formally-verify -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alexvanyo/composelife formally-verify --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexvanyo/composelife.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/formally-verify .gemini/skills/formally-verify && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "formally-verify" agent skill from https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verify into .gemini/skills/formally-verify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formally-verify", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alexvanyo/composelife formally-verifyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alexvanyo/composelife --skill formally-verify -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alexvanyo/composelife.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/formally-verify .github/skills/formally-verify && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "formally-verify" agent skill from https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verify into .github/skills/formally-verify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formally-verify", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alexvanyo/composelife --skill formally-verify -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alexvanyo/composelife formally-verify --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alexvanyo/composelife.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/formally-verify .opencode/skills/formally-verify && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "formally-verify" agent skill from https://github.com/alexvanyo/composelife/tree/main/.agents/skills/formally-verify into .opencode/skills/formally-verify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formally-verify", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
formally-verifyGuides formal verification of algorithms, data structures, and properties in the ComposeLife project using Lean 4 and Mathlib.
Formally Verify is an agent skill from alexvanyo/composelife. Guides formal verification of algorithms, data structures, and properties in the ComposeLife project using Lean 4 and Mathlib. Covers mathematical specification, equivalence reduction, metric-based completeness, invariant-based soundness, timeout avoidance, Lean modularization, C/Kotlin FFI bridge interop, and verification checks.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering Android development. It works with Kotlin, Jetpack Compose and Android. The repository describes itself as: A Game of Life simulator Android app and watchface built with Jetpack Compose. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b2ddd2d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are lean, mermaid and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Formally Verify loads about 2.5k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 955 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from alexvanyo/composelife at commit b2ddd2d, republished under its Apache-2.0 licence (© alexvanyo). 955 words, ~2,455 tokens.
.claude/skills/formally-verify/SKILL.md (or your agent's skills folder).Use this skill when formally verifying an algorithm, data structure, or mathematical property in the ComposeLife codebase using Lean 4 and Mathlib.
The repository pairs Kotlin Multiplatform implementations with formal Lean 4 models, connected via C FFI bridges (and Kotlin/Native cinterop) for runtime validation and differential conformance testing.
A verification task is only complete when:
sorrys: No sorrys anywhere in tracked project files.[propext, Classical.choice, Quot.sound]axiom declarations or unverified assumptions.lake build <Target>:static succeeds with 0 warnings and 0 errors../gradlew :<module>:check).Formal verification follows a 6-phase lifecycle:
graph TD
A["Phase 1: Mathematical Specification vs Executable Model"] --> B["Phase 2: Master Theorem & Equivalence Reduction"]
B --> C1["Phase 3: Completeness / Reachability (Metric Progress)"]
B --> C2["Phase 4: Soundness / Invariant Preservation (Structural Candidates)"]
C1 --> D["Phase 5: Submodule Modularization & DAG Architecture"]
C2 --> D
D --> E["Phase 6: C / Kotlin FFI & Differential Testing"]
E --> F["Phase 7: Final Audit (Axioms, Sorries, Checks)"]Nat, Int, Rat, or inductive structures) rather than lossy representations to avoid rounding errors and floating-point ambiguity.theorem algorithm_correctness (inputs : InputType) :
algorithmExecutable inputs ↔ SpecificationPredicate inputs[!CAUTION] Never unfold recursive functions with complex nested conditionals directly inside arithmetic goals or heavy automation (
simp,split_ifs,whnf). This causes exponential branch blowup and deterministic timeouts.
theorem step_candidates (s : State) :
step s ∈ [candidate₁ s, candidate₂ s, ..., candidateₖ s]linarith), normalization (ring), and positivity (positivity) tactics can resolve goals in constant time without branching.When a verification file exceeds 1,500–2,000 lines, split it into a clean Directed Acyclic Graph (DAG) of submodules:
Specification.lean / Types.lean: Domain types, predicates, and declarative specifications.Step.lean / Model.lean: Executable transitions, structural candidate lemmas, and directional properties.Completeness.lean: Progress metric definition, distance descent lemmas, and reachability theorems.Soundness.lean: Invariant preservation across partitioned domains and soundness induction.Properties.lean: High-level module importing submodules and stating the master correctness theorems.[!IMPORTANT]
- Ensure every
.leanfile begins with the Apache 2.0 license header fromconfig/license.template.- Modularization enables Lake to compile submodules in parallel, cutting build times and preventing editor lockups.
- Remove all leftover exploratory duplicate theorems (e.g.
*_dup).
Rat):lean_initialize_runtime_module) is called once.lean_dec_ref, lean_alloc_array, lean_box_*, lean_unbox_*).assertEquals(oracle.compute(inputs), kotlinImplementation(inputs))--no-build-cache --rerun-tasks to ensure the linker doesn't reuse stale executables.Execute these exact verification checks before concluding any formal verification task:
# 1. Clean Lake build (must compile with 0 warnings, 0 errors)
cd <path-to-lean-module>
lake clean && lake build <Target>:static
# 2. Axioms verification (must only report [propext, Classical.choice, Quot.sound])
lake env lean --run - << 'EOF'
import <Module>.Properties
#print axioms <Module>.<MasterTheorem>
EOF
# 3. Check for any sorrys in the codebase (must return 0 results)
grep -rn "sorry" <path-to-lean-module>/
# 4. Check for any custom axioms (must return 0 results)
grep -rn "axiom" <path-to-lean-module>/
# 5. Run full Gradle checks, conformance tests, and Detekt inspections
cd <project-root>
./gradlew :<module>:check --no-build-cache| Tactic | Best Used For |
|---|---|
omega | Natural number and integer linear arithmetic, modulo arithmetic, Presburger constraints, fuel bounds. |
linarith | Linear real, rational, or ordered field inequalities with hypotheses. |
ring | Ring equalities on algebraic structures (expanding polynomials, verifying common denominators). |
positivity | Automatically discharging strict positivity ($> 0$), non-negativity ($\ge 0$), or non-zero ($\ne 0$) goals. |
rcases / obtain | Destructing existential hypotheses (∃ x, ...) and conjunctions without deeply nested indentation. |
split_ifs with h | Splitting conditional expressions while retaining the condition hypothesis $h$. |
aesop | Automated proof search for propositional logic, set memberships, and basic structural goals. |
© alexvanyo, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/formally-verify of alexvanyo/composelife.
Open the folder on GitHubat commit b2ddd2d
Formally Verify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Formally Verify this skillalexvanyo/composelife | 267 | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 180 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Android Developmentdpconde/claude-android-skill | 336 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Claude Android NinjaDrjacky/claude-android-ninja | 124 | — | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Jetpack Composedarriousliu/PiPixiv | 263 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Coding Stylesk2andy/candy-browser | 532 | — | ~548 | Automated safety check: Pass | MPL-2.0 |
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
dpconde/claude-android-skill
Create production-quality Android applications following Google's official architecture guidance and NowInAndroid best practices.
Drjacky/claude-android-ninja
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.
darriousliu/PiPixiv
Jetpack Compose expert skill for Android UI development. An agent skill from darriousliu/PiPixiv.
sk2andy/candy-browser
Apply Candy Browser's project-specific Kotlin, Jetpack Compose, Android/WebView, testing, and generator conventions.
hamen/compose_skill
Helps AI coding assistants write modern Jetpack Compose: correct state, side effects, performance-aware modifiers, Navigation 3, Paging 3 in Compose, coroutines on lifecycle, animations, UI tests…
alexvanyo/composelife
Performs a guided fixup of a given GitHub PR. An agent skill from alexvanyo/composelife.
alexvanyo/composelife
Helps increment code coverage in this Kotlin Multiplatform project.
Works with
Categories
Guides formal verification of algorithms, data structures, and properties in the ComposeLife project using Lean 4 and Mathlib. Formally Verify is an agent skill from alexvanyo/composelife. Guides formal verification of algorithms, data structures, and properties in the ComposeLife project using Lean 4 and Mathlib.
Formally Verify fits situations like: tasks that involve Android development.
Run `npx skills add alexvanyo/composelife --skill formally-verify -a claude-code`. Or copy the skill folder (.agents/skills/formally-verify in alexvanyo/composelife) into .claude/skills/formally-verify in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alexvanyo/composelife --skill formally-verify -a codex`. Or copy the skill folder (.agents/skills/formally-verify in alexvanyo/composelife) into .agents/skills/formally-verify in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alexvanyo/composelife --skill formally-verify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/formally-verify, .gemini/skills/formally-verify, .github/skills/formally-verify and .opencode/skills/formally-verify in your project.
SKILL.md names no scripts, command-line tools or credentials: Formally Verify is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Formally Verify is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Formally Verify: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Android Development (dpconde/claude-android-skill, 336 stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars) and Jetpack Compose (darriousliu/PiPixiv, 263 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alexvanyo (a GitHub user) maintains it in alexvanyo/composelife, which has 267 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 10, 2026.
Source: alexvanyo/composelife on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.