nw-command-design-patterns

Automate best-practice guidance for designing NW-style command definitions.

Updated Mar 18, 2024
One-click install
npx skills add https://github.com/v1bh0r/precise-ledger-pro --skill nw-command-design-patterns-v1bh0r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nw-command-design-patterns
Source: https://github.com/v1bh0r/precise-ledger-pro/tree/main/nWave/skills/nw-command-design-patterns
Command: npx skills add https://github.com/v1bh0r/precise-ledger-pro --skill nw-command-design-patterns-v1bh0r

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Best-practice guidance for designing command definitions to reduce duplication and confusion across dispatchers and orchestrators.

Core Features & Use Cases

  • Declarative templates and size targets to guide command authoring.
  • Anti-patterns and canonical examples to foster consistency.
  • Scalable patterns for simple, dispatcher, and orchestrator commands.

Quick Start

Write a new command following the canonical template and reference examples to ensure consistency across the system.

Frequently Asked Questions about nw-command-design-patterns

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

FAQPage Schema
What are the best practices for designing command definitions to reduce duplication?

To reduce duplication, best practices for command definitions include using declarative templates, following size targets, and avoiding anti-patterns. This ensures consistency across dispatchers and orchestrators.

How do I structure orchestrator and dispatcher commands using design patterns?

You structure orchestrator and dispatcher commands by applying scalable design patterns for simple, dispatcher, and orchestrator commands. Using a canonical template structure ensures consistency across the system.

What are common anti-patterns when building command frameworks?

Common anti-patterns when building command frameworks include ignoring declarative templates, exceeding size targets, and deviating from the canonical template structure. Reviewing documented anti-patterns helps foster consistency.

Does this command design pattern guidance apply to teams scaling NW-style command frameworks?

Yes, this guidance applies directly to teams building NW-style command frameworks. It provides scalable patterns for simple, dispatcher, and orchestrator commands to standardize definitions across the system.