Rock block test generator

Generate xUnit tests for an existing Rock block from its source.

Maxwell EleyTriumph TechUpdated 6 weeks ago17 installsCode
AI summary

Need a quick read on Rock block test generator?

Skim the gist, what it's good for, a real prompt to try, and the gotchas — all distilled from SKILL.md. Cached after the first run.

Details

About this skill

--- name: rock-block-tests version: 1.0.0 description: Generate xUnit tests for an existing Rock block from its source. triggers: - write tests for this rock block - generate xunit tests runtimes: - code tags: - rock - testing - xunit - block ---

# Rock block test generator

Reads a Rock block file, identifies its public surface (block settings, Obsidian props, internal state machines), and writes a focused xUnit suite that covers the happy path plus 2-3 realistic edge cases.

Doesn't try to cover everything. The philosophy is: make the tests worth reading, not just green.

## When to use

- "write tests for this rock block" - "generate xunit tests"

## Notes

This skill is published to the Triumph Skills Marketplace. Report issues or request features directly from the skill's page.