cli-jasperfx

Execute Weasel database migrations and Wolverine diagnostics for JasperFx services.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/erikshafer/CritterCab --skill cli-jasperfx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-jasperfx
Source: https://github.com/erikshafer/CritterCab/tree/main/docs/skills/cli-jasperfx
Command: npx skills add https://github.com/erikshafer/CritterCab --skill cli-jasperfx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires JasperFx, Wolverine, Weasel, Marten, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines administrative and operational tasks in JasperFx-powered Cab services, eliminating the need for manual interventions by automating schema management, code generation, diagnostics, and resource lifecycle management.

Core Features & Use Cases

  • Schema Management: Execute schema migration commands (e.g., db-apply, db-assert, db-patch) for Weasel-based databases.
  • CLI Diagnostics: Use Wolverine diagnostics commands (e.g., wolverine-diagnostics) to audit service configuration, route messages, and view projections.
  • Resource Management: Setup, teardown, and check resources (e.g., Marten/Polecat stores, Wolverine envelopes) and code generation tasks (e.g., codegen preview, write, delete, test).
  • Use Case: Imagine you need to verify the database schema in a Cab service is up to date with the current codebase. You can use the 'db-assert' command to confirm there is no drift, thus avoiding deployment issues.

Quick Start

Apply pending schema migrations to a Cab service's database with the command: 'dotnet run --project src/CritterCab.Trips -- db-apply'.

Frequently Asked Questions about cli-jasperfx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Weasel database schema migrations for a JasperFx service?

Run Weasel database schema migrations for a JasperFx service by executing CLI commands like 'db-apply' to apply pending migrations or 'db-patch' to update the schema directly from your project directory.

What is the best way to check for database schema drift in a Cab service?

Checking database schema drift in a Cab service is done using the 'db-assert' command, which verifies that your Weasel-backed database schema matches the current codebase to prevent deployment issues.

Can I use Wolverine diagnostics to audit message routes and projections?

Yes, you can use Wolverine diagnostics via the 'wolverine-diagnostics' CLI command to audit service configurations, inspect message routing, and view projections within your JasperFx application.

Do I need Marten and Wolverine installed to manage JasperFx service lifecycles?

Yes, managing JasperFx service lifecycles requires the JasperFx core, Wolverine, Weasel, and Marten components to handle stateful resource setup, teardown, and CLI tooling interactions.

How do I generate and preview code for JasperFx services via command line?

Generate and preview code for JasperFx services via command line using codegen tasks like 'codegen preview' to view generated code or 'codegen write' to persist it, streamlining code generation workflows.