Co-Pilot / 辅助式
更新于 a month ago

purria-skills

Cccalebcarter
0.0k
ccalebcarter/purria-skills
80
Agent 评分

💡 摘要

一系列Claude Code技能,用于开发舒适的赌博大亨游戏《Purria的农场》。

🎯 适合人群

寻求AI帮助的游戏开发者独立游戏工作室对游戏设计感兴趣的爱好者学习游戏开发的学生游戏行业的专业人士

🤖 AI 吐槽:一个舒适的大亨游戏?更像是大亨中的大亨!

安全分析中风险

该项目需要外部服务的API密钥,如果处理不当可能会暴露。务必将这些密钥存储在环境变量中,而不是硬编码在代码库中。

Purria Skills

A collection of Claude Code skills for game development, specifically designed for Farming in Purria - a cozy gambling tycoon game.

Overview

These skills provide specialized expertise for building games that combine:

  • 🌾 Farming simulation mechanics
  • 🎰 Casino/betting systems
  • 🤖 Robot companions (Simulins)
  • 🎨 Stylized game art

Skills

Game Design

| Skill | Description | |-------|-------------| | casino-math-balancer | RTP, odds, house edge, payout calculations | | game-concept-advisor | Mechanic brainstorming, cross-domain inspiration | | game-systems-doc | GDD writing, feature specs, documentation | | fun-advisor | Player psychology, engagement, fun evaluation |

Development

| Skill | Description | |-------|-------------| | drizzle-game-schema | Database schemas for games with Drizzle ORM | | zustand-game-patterns | State management, persistence, undo/redo | | react-game-ui | Game UI components, animations, HUDs | | hexgrid-algorithms | Hex math, pathfinding, coordinate systems |

Assets & Art

| Skill | Description | |-------|-------------| | gemini-image-generator | AI image generation with Google Gemini | | game-assets-team | Art direction, asset pipeline, style guides |

Quality & Setup

| Skill | Description | |-------|-------------| | testing-team | QA, playtesting, unit/E2E testing | | purria-starter | Project setup, environment validation |

Worldbuilding — Core Advisory Team

| Skill | Description | |-------|-------------| | interview-conductor | Session facilitation, discovery interviews | | narrative-architect | Story structure, plot, themes, stakes | | character-developer | Character psychology, arcs, relationships | | world-architect | Setting coherence, lore tracking, consistency | | lead-visual-artist | Art direction, visual language, image prompts |

Worldbuilding — Specialist Advisors

| Skill | Description | |-------|-------------| | expert-cartographer | Maps, geography, distances, terrain | | geological-advisor | Meteor impacts, crater evolution, minerals | | technology-sme | Tech consistency, anachronism prevention | | cultural-anthropologist | Culture development, customs, social structure | | historian | Timeline crafting, historical events, causation | | linguist | Naming conventions, language creation | | economist | Trade, currency, resource systems | | political-scientist | Governance, power structures, factions | | ecologist | Flora, fauna, ecosystems | | mythologist | Religion, legends, belief systems | | military-strategist | Warfare, tactics, military systems |

MCP Servers

| Server | Description | |--------|-------------| | recraft | Background removal and SVG vectorization |

Asset Pipeline

The full asset creation workflow:

┌─────────────────────────────────────────────────────────────┐
│                    ASSET PIPELINE                           │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  1. CONCEPT         2. GENERATE       3. PROCESS           │
│  ┌──────────┐      ┌──────────┐      ┌──────────┐          │
│  │game-asset│  →   │  gemini  │  →   │ recraft  │          │
│  │  -team   │      │generator │      │   API    │          │
│  └──────────┘      └──────────┘      └──────────┘          │
│  Art brief         PNG output        Remove BG             │
│  Style guide       1-2 MB            Vectorize             │
│                                      → SVG                 │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Installation

1. Clone this repo

git clone https://github.com/ccalebcarter/purria-skills.git

2. Copy skills to Claude Code

# Copy all skills cp -r purria-skills/skills/* ~/.claude/skills/ # Or symlink for easier updates ln -s $(pwd)/purria-skills/skills/* ~/.claude/skills/

3. Set up API keys

# Add to your shell profile export GEMINI_API_KEY="your-gemini-api-key" export RECRAFT_API_KEY="your-recraft-api-key"

4. Set up Python environment (for image generation)

cd ~/.claude/skills/gemini-image-generator/scripts python -m venv venv source venv/bin/activate # or .\venv\Scripts\activate on Windows pip install -r requirements.txt

5. Validate setup

python ~/.claude/skills/purria-starter/scripts/validate-setup.py

Usage in Claude Code

Skills are invoked with /skill-name:

/casino-math-balancer
"Calculate RTP for a 5-reel slot machine..."

/game-concept-advisor
"Brainstorm mechanics for a fishing minigame..."

/fun-advisor
"Is this progression system fun or grindy?"

/gemini-image-generator
"Generate a Simulin robot character..."

Tech Stack

These skills are designed for projects using:

  • Monorepo: Turborepo + Bun
  • Frontend: React 19 + TanStack Router + Vite
  • Backend: Hono + tRPC
  • Database: SQLite/Turso + Drizzle ORM
  • Auth: better-auth
  • State: Zustand + Immer
  • Styling: Tailwind v4 + shadcn/ui
  • Testing: Playwright
  • AI Images: Google Gemini + Recraft

Project: Farming in Purria

These skills were created for Farming in Purria v3, featuring:

  • 🗓️ 42-day seasonal farming cycles
  • 🃏 Video poker-inspired betting (Meta Pots)
  • 🤖 Robot companions called Simulins
  • 🏘️ Living valley with NPCs
  • 🎨 Soft stylized 3D cartoon art style

Contributing

  1. Fork this repository
  2. Create a new skill in skills/your-skill-name/
  3. Add a SKILL.md (Claude reads this) and README.md (humans read this)
  4. Submit a PR

Skill Structure

skills/
└── your-skill-name/
    ├── SKILL.md      # Instructions for Claude
    ├── README.md     # Documentation for humans
    ├── scripts/      # Optional automation scripts
    └── references/   # Optional reference materials

License

MIT - Use freely in your game projects.


Built with Claude Code for game developers who want AI-assisted game creation.

五维分析
清晰度8/10
创新性8/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 全面的游戏开发技能集
  • 关注设计和技术方面
  • 利用现代技术栈
  • 鼓励社区贡献

缺点

  • 需要设置多个API
  • 对初学者可能有较高的学习曲线
  • 仅限于特定游戏类型
  • 依赖外部库

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 ccalebcarter.