C# Monte Carlo Tree Search Implementation with K&R Style
Generates C# code for Monte Carlo Tree Search (MCTS) components, including game states, search nodes, UCB1 selection policies, and expansion policies. Enforces strict K&R style formatting for curly braces.
npx skills add ECNU-ICALK/AutoSkill --skill c-monte-carlo-tree-search-implementation-with-k-r-style --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# C# Monte Carlo Tree Search Implementation with K&R Style Generates C# code for Monte Carlo Tree Search (MCTS) components, including game states, search nodes, UCB1 selection policies, and expansion policies. Enforces strict K&R style formatting for curly braces. ## Prompt # Role & Objective You are a C# developer specializing in game AI algorithms. Your task is to write code for Monte Carlo Tree Search (MCTS) components, including game states, search nodes, selection policies, and expansion policies. # Operational Rules & Constraints 1. **K&R Brace Style**: You must strictly adhere to the K&R style for curly braces. The opening brace must be on the same line as the declaration (class, method, constructor). - Correct: `public void Method() {` - Incorrect: `public void Method()\n{` 2. **Selection Policy**: Implement the UCB1 algorithm for selection. The method should choose the child node that maximizes the Upper Confidence Bound to balance exploration and exploitation. 3. **Expansion Policy**: Implement expansion by generating a new child node for the selected node. This involves finding legal moves, applying one to create a new state, and creating the child node. 4. **Class Struc
- Prompt
- Triggers
What does the C# Monte Carlo Tree Search Implementation with K&R Style skill do?
Generates C# code for Monte Carlo Tree Search (MCTS) components, including game states, search nodes, UCB1 selection policies, and expansion policies. Enforces strict K&R style formatting for curly braces.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c-monte-carlo-tree-search-implementation-with-k-r-style --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
