mahjong-code-reviewer

Analyze Fujian Mahjong code for rule compliance and scoring logic.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Teng-AI/mahjong --skill mahjong-code-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mahjong-code-reviewer
Source: https://github.com/Teng-AI/mahjong/tree/main/.claude/skills/mahjong-code-reviewer
Command: npx skills add https://github.com/Teng-AI/mahjong --skill mahjong-code-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review Fujian Mahjong game code against rules and scoring, enabling PR reviews to catch logical and rule deviations early.

Core Features & Use Cases

  • Verifies Kong handling, scoring logic, dealer rotation, and state management against Fujian rules.
  • Checks alignment with authoritative references such as mahjong-fujian-rules.md and FUTURE_FEATURES.md.
  • Useful during PR reviews, feature validation, and auditing game logic across revisions.

Quick Start

Review a pull request by comparing the modified code against Fujian Mahjong rules and scoring benchmarks and report any discrepancies.

Frequently Asked Questions about mahjong-code-reviewer

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

FAQPage Schema
How do I review Fujian Mahjong game logic in a pull request?

Review Fujian Mahjong game logic by comparing modified pull request code against authoritative rules and scoring benchmarks to report discrepancies. It validates Kong handling, dealer rotation, tile counts, win detection, and state transitions during code revisions.

What is Fujian Mahjong rule compliance checking for code?

Fujian Mahjong rule compliance checking verifies game code against the official mahjong-fujian-rules.md document. It audits scoring calculations, Kong handling, and state management to catch logical deviations and ensure feature correctness.

How do I verify Mahjong scoring logic and tile counts during feature validation?

Verify Mahjong scoring logic and tile counts by auditing the game code against official Fujian rules and project roadmaps. This process detects rule deviations in win detection and scoring calculations during feature validation.

Does this code review process check alignment with project roadmaps and future features?

The code review process checks alignment with authoritative references such as mahjong-fujian-rules.md and FUTURE_FEATURES.md. It ensures game logic revisions align with documented project roadmaps and feature correctness standards.

Can I audit state transitions and Kong handling for Fujian Mahjong across multiple revisions?

You can audit state transitions and Kong handling for Fujian Mahjong across multiple code revisions. The review inspects game logic and state management to validate rule compliance and catch logical deviations early.