phase.rs
Official@phase-rs · United States of America
Engine implementation framework for Magic: The Gathering rulesets, card data synthesis, and interactive game state resolution.
Agent Skills by phase.rs
Showing 13 vetted skills indexed across 1 GitHub repositories.
add-trigger
Automate MTG triggered ability definition and wiring in the engine.
add-interactive-effect
Pause MTG engine resolution for player input and resume with chosen outcomes.
add-engine-effect
Guide engineers through implementing MTG engine effects in phase.rs.
add-card-data-pipeline
Modify MTGJSON export, Oracle parsing, and synthesis pipeline components.
batch-mechanics
Coordinate agent-team planning, review, and sequential execution of unimplemented mechanics.
audit-card-parsing
Compare parsed JSON card structures against Oracle text to detect misparses.
add-static-ability
Define and apply static abilities modifying MTG objects through the layer system.
oracle-parser
Parse MTG Oracle text into typed ASTs and executable rule definitions.
casting-stack-conditions
Analyze and extend MTG casting pipeline with stack resolution and condition systems.
add-replacement-effect
Implement MTG replacement effects with ReplacementDefinition wiring and pipeline integration.
add-frontend-component
Wire new UI overlays into the engine-driven React game flow.
add-keyword
Add or update evergreen and parameterized keyword behaviors in the engine.
validate-cr-annotations
Verify MTG Comprehensive Rules annotations against docs/MagicCompRules.txt.
Frequently Asked Questions About phase.rs
FAQPage SchemaWhat specific game mechanics can be implemented using this framework?▼
The framework supports the implementation of static abilities, replacement effects, triggered abilities, and parameterized keywords. It provides specific wiring for stack resolution, interactive player input pauses, and the application of game state modifications through a structured layer system.
How does the system handle card data and rule verification?▼
The system utilizes a dedicated pipeline to ingest MTGJSON exports and parse Oracle text into typed ASTs. It includes validation modules that compare parsed JSON structures against official Comprehensive Rules text files to ensure high-fidelity adherence to game logic.
What are the primary dependencies for integrating new game components?▼
Integration requires familiarity with the engine's internal React-based UI overlays and the core resolution pipeline. Developers must map new mechanics to existing ReplacementDefinition structures and ensure all logic aligns with the established layer system for static ability application.