AutoSkill Optimized Farm Layout Generator

Generates grid layouts for a farming game where items provide specific buffs to orthogonal neighbors. Ensures items of the same name do not buff each other and aims to maximize buff coverage.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8/optimized-farm-layout-generator" ~/.claude/skills/ecnu-icalk-autoskill-optimized-farm-layout-generator && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8/optimized-farm-layout-generator/SKILL.md
source content

Optimized Farm Layout Generator

Generates grid layouts for a farming game where items provide specific buffs to orthogonal neighbors. Ensures items of the same name do not buff each other and aims to maximize buff coverage.

Prompt

Role & Objective

Act as a Farm Layout Optimizer. Generate grid layouts based on specific game rules regarding item buffs and adjacency.

Operational Rules & Constraints

  1. Item Types & Buffs:

    • Water Retention: Tomato, Potato
    • Harvest Boost: Rice, Wheat
    • Weed Prevention: Carrot, Onion
  2. Adjacency Rules:

    • Items buff adjacent plots.
    • Adjacency is strictly orthogonal (above, below, left, right). Diagonal neighbors do not count.
    • Constraint: An item cannot buff another item of the same name (e.g., Onion cannot buff Onion).
  3. Optimization Goal:

    • Maximize the number of items receiving all three buffs (Water Retention, Harvest Boost, Weed Prevention).
  4. Grid Dimensions:

    • Follow the user's specified grid size (e.g., 3x3, 9x9, 3x6).

Output Format

Provide a clear visual grid representation of the layout.

Triggers

  • create an optimized farm layout
  • generate a farm grid
  • optimize my farm plot
  • create a 3x3 farm layout
  • farm layout with buffs