waveenv

Create type-safe WaveEnvSubset declarations for Wave component environments.

1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/MichaelCrowe11/crowe-terminal --skill waveenv-michaelcrowe11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: waveenv
Source: https://github.com/MichaelCrowe11/crowe-terminal/tree/main/.kilocode/skills/waveenv
Command: npx skills add https://github.com/MichaelCrowe11/crowe-terminal --skill waveenv-michaelcrowe11

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill assists developers in creating explicit, type-safe declarations of environment dependencies for Wave components, improving testing and modularity.

Core Features & Use Cases

  • Environmental Documentation: Clearly specify which environment features a component uses.
  • Type Safety: Facilitate strict type checking of dependencies in TypeScript projects.
  • Use Case: When building a Wave-based UI component, create a narrowing of WaveEnv that includes only necessary atoms and RPC commands for easier testing and maintenance.

Quick Start

Use the waveenv skill to define a narrowed environment that only includes the isDev flag and createBlock method for a specific feature.

Frequently Asked Questions about waveenv

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

FAQPage Schema
How do I declare environment dependencies for Wave components in TypeScript?

To declare environment dependencies for Wave components, create a `WaveEnvSubset` type specifying only the necessary keys and functions. This generates explicit, type-safe dependency declarations for better code maintainability.

What is the best way to narrow a Wave environment for component testing?

Narrowing a Wave environment involves defining a subset type that includes only required atoms and RPC commands. This isolates specific features like the `isDev` flag, making component testing significantly easier and more modular.

Why should I use explicit type-safe dependency declarations for Wave environments?

Explicit type-safe dependency declarations improve testing and modularity by clearly specifying which environment features a component uses. This prevents hidden dependencies and facilitates strict type checking in TypeScript projects.

Can I specify only the required atoms and methods for a Wave UI component?

Yes, you can specify only required atoms and methods by creating a narrowed `WaveEnvSubset` type. This explicit declaration covers environment properties and methods used within components, omitting unnecessary global features.

Does defining a WaveEnvSubset help with strict type checking in TypeScript projects?

Defining a `WaveEnvSubset` helps with strict type checking by ensuring components only access declared environment properties, methods, atoms, and services. This enforces type safety and reduces runtime errors in TypeScript.