cd /news/ai-agents/i-writes-code-fast-so-i-use-skills-t… · home › topics › ai-agents › article
[ARTICLE · art-179416] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

I writes code fast, so I use skills to build the gates that catch the bugs unit tests miss

A developer building the micro-signal runtime and protocol adapters for @wcomp/elementum used a portable skill pack to run a formal-verification pass after the project's 200+ unit tests passed at over 95% line coverage. The generated zero-dependency Node script (tools/verify-formal-invariants.js, run via npm run verify:formal) checks 6,162 states and graph topologies in under a second and immediately surfaced two real bugs that example-based tests had missed, each fixed in under 20 minutes. The developer recommends wiring the verifier into CI alongside npm test for modules where ordering, concurrency or untrusted input can silently corrupt state.

recommendation

Pick the module that would hurt most if it failed silently and wire a generated formal-invariant verifier into CI next to your unit tests.

more in playbook: Evals and testing for LLM apps
by read2 min views1 publishedDec 1, 2026

When a coding agent can generate a new component or reactive helper in 20 seconds, writing code is no longer the bottleneck. The bottleneck is proving that the code holds up under cases nobody thought to write an example test for.

When I built the micro-signal runtime and protocol adapters for @wcomp/elementum, all 200+ unit tests were green and line coverage sat above 95%. Every happy path passed. Every regression test I wrote passed.

Then I asked a harder question: what happens when two signals update inside a batch() across an arbitrary dependency graph, or when one subscriber throws halfway through a flush, or when an async fetcher reads its own state?

No example-based unit test answered those questions.

Instead of asking a chat window to "write more tests" and hoping for the best, I installed my portable skill pack (npx skills add pinguxx/skills --global) and ran four skills in order:

spec: plan: implement-plan: formal-verification: You do not need formal methods for a button or a CSS layout. You run formal-verification on the modules where ordering, concurrency, or untrusted input can corrupt state silently.

Running formal-verification against @wcomp/elementum produced a zero-dependency Node script (tools/verify-formal-invariants.js, run with npm run verify:formal) that checks 6,162 states and graph topologies in under one second:

computed() updatesbatch() fault isolation when one subscriber throwsAsyncSignal out-of-order race monotonicity and self-subscription freedom<el-toaster> active-deck exclusivityrunId and JSON Patch path allowlist isolation Remember that the unit test suite was already green at 95%+ line coverage. The very first run of npm run verify:formal failed immediately on two real bugs:

Neither bug appeared in normal usage. Both took less than 20 minutes to fix once the verifier printed the exact failing state.

Install the skill pack once globally:

npx skills add pinguxx/skills --global

Pick the one module in your repository that would hurt most if it failed silently, and invoke formal-verification on it. Wire the generated script into CI next to npm test.

As code generation gets cheaper, your highest-impact work shifts from typing implementations to defining invariants and running the skills that turn them into permanent CI gates.

npm run verify:formal):

── more in #ai-agents 4 stories · sorted by recency
── more on @@wcomp/elementum 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-writes-code-fast-s…] indexed:0 read:2min 2026-12-01 · —