install
source · Clone the upstream repo
git clone https://github.com/fastxyz/skill-optimizer
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/fastxyz/skill-optimizer "$T" && mkdir -p ~/.claude/skills && cp -r "$T/mock-repos/sdk-counter-demo" ~/.claude/skills/fastxyz-skill-optimizer-sdk-counter-demo && rm -rf "$T"
manifest:
mock-repos/sdk-counter-demo/SKILL.mdsource content
Counter SDK
A small counter utility.
Usage
Import from
./counter.ts and build a counter.
import { createCounter } from './counter'; const c = createCounter(); c.increment();
That's it. Use
.value() for the current value.