add-keyword

Add or update evergreen and parameterized keyword behaviors in the engine.

212|148|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/phase-rs/phase --skill add-keyword
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-keyword
Source: https://github.com/phase-rs/phase/tree/main/.claude/skills/add-keyword
Command: npx skills add https://github.com/phase-rs/phase --skill add-keyword

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Engineers and designers need a repeatable process to add or modify keyword abilities—be they evergreen like Flying, trample, or parameterized ones like Ward {2} and Kicker {R}—so runtime behavior can be wired into combat, targeting, damage, and triggers.

Core Features & Use Cases

  • Defines a disciplined path to extend Keyword variants, parsing, and runtime wiring across the engine.
  • Guides integration with combat, targeting, state-based actions, casting costs, and triggers to ensure consistent rule interactions.
  • Supports verification and safety steps (type definitions, parsing rules, checks, and synthesis) to maintain engine correctness as keywords evolve.

Quick Start

Define a new keyword by expanding the Keyword enum variants and wiring it through parsing, targeting, and combat logic according to the Phase 1–5 checklist outlined in this Skill.

Frequently Asked Questions about add-keyword

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

FAQPage Schema
How do I add MTG keyword abilities like Flying or Ward to a game engine?

You add keyword behaviors by expanding Keyword enum variants and wiring them through parsing, targeting, and combat logic. This integrates evergreen and parameterized keywords into runtime behavior across unit tests and code.

What does it mean to wire keyword behaviors into combat and targeting logic?

Wiring keyword behaviors applies evergreen and parameterized keyword effects to combat, targeting, damage, and trigger logic. It requires defining parsing rules and runtime hooks to ensure consistent rule interactions during gameplay.

How do I implement parameterized keywords like Kicker {R} in a rules engine?

Implementing parameterized keywords requires defining Keyword enum variants and establishing parsing rules to read the parameters. You then apply these parameters to casting costs and trigger logic via appropriate runtime hooks.

Does adding evergreen keywords require updating unit tests and runtime checks?

Adding evergreen keywords requires updating unit tests and runtime checks to maintain engine correctness. The integration process includes verification steps across type definitions, parsing rules, and synthesis to ensure consistent rule interactions.

What prerequisites are needed before integrating keyword abilities into a combat engine?

Before integrating keyword abilities, you need defined Keyword enum variants, established parsing rules, and appropriate runtime hooks for Layer 6 keyword wiring. These prerequisites ensure combat and targeting logic interact correctly.