add-engine-effect

Guide engineers through implementing MTG engine effects in phase.rs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates and standardizes end-to-end integration of a new engine effect into the phase.rs engine, ensuring correct typing, resolution, targeting, parsing, frontend integration, AI support, and tests.

Core Features & Use Cases

  • Provides a structured, multi-phase checklist that guides developers from type definition through tests.
  • Emphasizes composability with building-block effects, sub_ability chains, and absorption of modifiers to keep changes maintainable.
  • Includes guidance for targeting, parser integration, and cross-cutting concerns to ensure robust behavior across the engine.

Quick Start

Implement a new engine effect by following the step-by-step checklist from type definition through tests.

Frequently Asked Questions about add-engine-effect

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

FAQPage Schema
How do I add a new engine effect end-to-end in phase.rs?

To add an engine effect end-to-end in phase.rs, follow a structured, multi-phase checklist spanning type definition, resolver, targeting integration, parser, interaction handling, and tests to ensure complete and robust implementation.

What is the best way to structure a new MTG engine effect for maintainability?

The best way to structure a new MTG engine effect involves emphasizing composability with building-block effects, sub_ability chains, and absorption of modifiers to keep the changes maintainable across the engine.

Does the phase.rs engine blueprint include parser and targeting integration steps?

Yes, the phase.rs engine blueprint includes specific guidance for targeting integration, parser integration, and cross-cutting concerns to ensure robust behavior across the engine.

What are the limitations of using building-block effects for MTG engine implementation?

While building-block effects and sub_ability chains promote maintainability, you must carefully manage interaction handling and cross-cutting concerns to prevent unexpected behavior during effect resolution.

Can I use this workflow for cross-cutting concerns in the phase.rs engine?

Yes, you can use this workflow for cross-cutting concerns as the engine effect blueprint includes guidance for targeting, parser integration, and interaction handling to ensure robust behavior across the engine.