add-ai-feature-policy
CommunityShip AI features safely with policy patterns.
Authorgamajose
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This description explains how to add a new deck-aware AI feature to phase-ai, including its DeckFeatures axis and companion policies (TacticalPolicy plus optional MulliganPolicy), and how to wire it into registries, tests, and plan curves to enable a single-commit ship.
Core Features & Use Cases
- Defines a new Feature struct with axes, thresholds, and parts-based predicates for live classification via detect() and policy evaluation.
- Provides wiring guidelines across crates (features/mod.rs, session.rs, policies/mod.rs, registry wiring, and plan/curves) to integrate the feature end-to-end.
- Includes a comprehensive test plan template and safeguards to avoid CR drift, per-copy name expansion, and activation gating pitfalls.
Quick Start
Provide the feature name and axis details, then implement the feature module and wire it into the policy registry.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-ai-feature-policy Download link: https://github.com/gamajose/MagicTheGathering/archive/main.zip#add-ai-feature-policy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.