yo-compare

Compare code modules between rshogi and YaneuraOu engines and categorize differences.

15|2|Updated May 10, 2025
One-click install
npx skills add https://github.com/SH11235/rshogi --skill yo-compare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yo-compare
Source: https://github.com/SH11235/rshogi/tree/main/.claude/skills/yo-compare
Command: npx skills add https://github.com/SH11235/rshogi --skill yo-compare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the detailed, line-by-line comparison of specific code modules between the rshogi engine and the YaneuraOu (YO) engine, identifying and categorizing differences.

Core Features & Use Cases

  • Codebase Comparison: Directly contrasts code sections from rshogi with their counterparts in YaneuraOu.
  • Difference Analysis: Classifies discrepancies into categories like BUG, NAMING, INTENTIONAL, YO_SPECIFIC, or MISSING.
  • Use Case: A developer working on rshogi can use this Skill to quickly see how a particular search algorithm or move generation technique is implemented in YaneuraOu, helping to identify potential bugs or areas for improvement.

Quick Start

Compare the 'alpha_beta futility pruning' section of rshogi with YaneuraOu.

Frequently Asked Questions about yo-compare

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

FAQPage Schema
How do I compare rshogi and YaneuraOu code modules?

Code comparison between rshogi and YaneuraOu categorizes differences into bugs, naming conventions, intentional deviations, YO-specific features, and missing implementations. It analyzes logic, constants, variable mappings, and guard conditions to generate a detailed diff report.

What is the best way to find missing implementations in rshogi?

Finding missing implementations in rshogi is best done by contrasting its modules against YaneuraOu counterparts. This comparison highlights absent logic, differing guard conditions, and YO-specific features to facilitate feature parity assessment.

How does diff analysis classify discrepancies between shogi engines?

Diff analysis classifies discrepancies between shogi engines by evaluating logic, constants, and variable mappings. It assigns categories like BUG, NAMING, INTENTIONAL, YO_SPECIFIC, or MISSING to generate a structured code review report.

Can I use this comparison to identify bugs in shogi search algorithms?

Yes, you can use this comparison to identify bugs in shogi search algorithms. By directly contrasting code sections like alpha beta futility pruning, it highlights potential bugs and areas for improvement in rshogi.

Does comparing rshogi with YaneuraOu require manual line-by-line review?

Comparing rshogi with YaneuraOu does not require manual line-by-line review because the process is automated. It automatically analyzes logic and variable mappings to output a categorized diff report for code review.