[PR #142] [CLOSED] Add LunchTable-TCG Trading Card Game Skill #271

Closed
opened 2026-02-15 17:16:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/clawhub/pull/142
Author: @Dexploarer
Created: 2/5/2026
Status: Closed

Base: mainHead: add-lunchtable-tcg


📝 Commits (1)

📊 Changes

26 files changed (+9615 additions, -0 deletions)

View changed files

skills/lunchtable/lunchtable-tcg/.clawhub.json (+82 -0)
skills/lunchtable/lunchtable-tcg/.github/workflows/publish.yml (+92 -0)
skills/lunchtable/lunchtable-tcg/.validate.sh (+115 -0)
skills/lunchtable/lunchtable-tcg/CHANGELOG.md (+72 -0)
skills/lunchtable/lunchtable-tcg/GETTING_STARTED_PUBLISHING.md (+189 -0)
skills/lunchtable/lunchtable-tcg/INSTALLATION.md (+372 -0)
skills/lunchtable/lunchtable-tcg/PUBLISH.md (+430 -0)
skills/lunchtable/lunchtable-tcg/PUBLISHING_FLOW.md (+480 -0)
skills/lunchtable/lunchtable-tcg/PUBLISHING_SUMMARY.md (+369 -0)
skills/lunchtable/lunchtable-tcg/QUICKSTART_PUBLISH.md (+82 -0)
skills/lunchtable/lunchtable-tcg/README.md (+196 -0)
skills/lunchtable/lunchtable-tcg/README_PUBLISHING.md (+320 -0)
skills/lunchtable/lunchtable-tcg/SKILL.md (+603 -0)
skills/lunchtable/lunchtable-tcg/SUBMISSION.md (+272 -0)
skills/lunchtable/lunchtable-tcg/TESTING_CHECKLIST.md (+364 -0)
skills/lunchtable/lunchtable-tcg/examples/README.md (+559 -0)
skills/lunchtable/lunchtable-tcg/examples/advanced-agent.ts (+623 -0)
skills/lunchtable/lunchtable-tcg/examples/basic-agent.py (+490 -0)
skills/lunchtable/lunchtable-tcg/examples/basic-agent.ts (+554 -0)
skills/lunchtable/lunchtable-tcg/package.json (+14 -0)

...and 6 more files

📄 Description

Add LunchTable-TCG Trading Card Game Skill

Description

Adds OpenClaw skill for playing LunchTable-TCG, a Yu-Gi-Oh-inspired online trading card game.

Features

  • Complete REST API integration (24 game action endpoints)
  • Chain system support for spell/trap responses
  • Full documentation and examples
  • TypeScript and Python reference implementations
  • Webhook support for real-time notifications
  • Strategic gameplay guides and tutorials

Skill Metadata

Game Features

Players can:

  • Create and join games
  • Execute all Yu-Gi-Oh-style actions (summon, set, flip, attack, activate spells/traps)
  • Use chain system for strategic responses
  • Manage game phases
  • Play complete competitive games autonomously

Testing

All validation checks pass (verified with .validate.sh):

  • Required files present
  • YAML frontmatter valid
  • JSON files valid
  • Directory structure correct

Documentation

Complete documentation included:

  • SKILL.md - Main skill file
  • README.md - Overview
  • INSTALLATION.md - Setup guide
  • examples/ - Working code examples (TypeScript, Python)
  • scenarios/ - Use case tutorials

Repository

https://github.com/lunchtable/ltcg

Greptile Overview

Greptile Summary

This PR adds a new lunchtable-tcg skill under skills/lunchtable/lunchtable-tcg, including ClawHub metadata (.clawhub.json), a GitHub Actions publishing workflow, a validation/publish script, and extensive docs + TypeScript/Python reference agents demonstrating how to call the LunchTable-TCG REST API.

The changes are largely self-contained within the new skill directory and do not modify the main app/backend. The main merge blockers are doc/metadata references to files and package names that don’t exist in this PR, plus a real runtime crash in the TS examples when run under ESM due to unguarded require usage.

Confidence Score: 3/5

  • This PR is close to mergeable but has a few user-facing correctness issues that should be fixed first.
  • Most changes are additive and isolated to a new skill folder, but there are definite broken references (missing example scripts and incorrect npm package name in docs) and the TS examples have an ESM runtime crash due to require usage. Fixing these should make the skill usable as documented.
  • skills/lunchtable/lunchtable-tcg/.clawhub.json; skills/lunchtable/lunchtable-tcg/README.md; skills/lunchtable/lunchtable-tcg/INSTALLATION.md; skills/lunchtable/lunchtable-tcg/examples/basic-agent.ts; skills/lunchtable/lunchtable-tcg/examples/advanced-agent.ts

Context used:

  • Context from dashboard - AGENTS.md (source)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/clawhub/pull/142 **Author:** [@Dexploarer](https://github.com/Dexploarer) **Created:** 2/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-lunchtable-tcg` --- ### 📝 Commits (1) - [`f0c294d`](https://github.com/openclaw/clawhub/commit/f0c294db635a9feb96da80b7a5e7b6d72f23261d) Add LunchTable-TCG skill ### 📊 Changes **26 files changed** (+9615 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `skills/lunchtable/lunchtable-tcg/.clawhub.json` (+82 -0) ➕ `skills/lunchtable/lunchtable-tcg/.github/workflows/publish.yml` (+92 -0) ➕ `skills/lunchtable/lunchtable-tcg/.validate.sh` (+115 -0) ➕ `skills/lunchtable/lunchtable-tcg/CHANGELOG.md` (+72 -0) ➕ `skills/lunchtable/lunchtable-tcg/GETTING_STARTED_PUBLISHING.md` (+189 -0) ➕ `skills/lunchtable/lunchtable-tcg/INSTALLATION.md` (+372 -0) ➕ `skills/lunchtable/lunchtable-tcg/PUBLISH.md` (+430 -0) ➕ `skills/lunchtable/lunchtable-tcg/PUBLISHING_FLOW.md` (+480 -0) ➕ `skills/lunchtable/lunchtable-tcg/PUBLISHING_SUMMARY.md` (+369 -0) ➕ `skills/lunchtable/lunchtable-tcg/QUICKSTART_PUBLISH.md` (+82 -0) ➕ `skills/lunchtable/lunchtable-tcg/README.md` (+196 -0) ➕ `skills/lunchtable/lunchtable-tcg/README_PUBLISHING.md` (+320 -0) ➕ `skills/lunchtable/lunchtable-tcg/SKILL.md` (+603 -0) ➕ `skills/lunchtable/lunchtable-tcg/SUBMISSION.md` (+272 -0) ➕ `skills/lunchtable/lunchtable-tcg/TESTING_CHECKLIST.md` (+364 -0) ➕ `skills/lunchtable/lunchtable-tcg/examples/README.md` (+559 -0) ➕ `skills/lunchtable/lunchtable-tcg/examples/advanced-agent.ts` (+623 -0) ➕ `skills/lunchtable/lunchtable-tcg/examples/basic-agent.py` (+490 -0) ➕ `skills/lunchtable/lunchtable-tcg/examples/basic-agent.ts` (+554 -0) ➕ `skills/lunchtable/lunchtable-tcg/package.json` (+14 -0) _...and 6 more files_ </details> ### 📄 Description # Add LunchTable-TCG Trading Card Game Skill ## Description Adds OpenClaw skill for playing LunchTable-TCG, a Yu-Gi-Oh-inspired online trading card game. ## Features - ✅ Complete REST API integration (24 game action endpoints) - ✅ Chain system support for spell/trap responses - ✅ Full documentation and examples - ✅ TypeScript and Python reference implementations - ✅ Webhook support for real-time notifications - ✅ Strategic gameplay guides and tutorials ## Skill Metadata - **Name:** lunchtable-tcg - **Author:** lunchtable - **Version:** 1.0.0 - **License:** MIT - **Homepage:** https://lunchtable.cards ## Game Features Players can: - Create and join games - Execute all Yu-Gi-Oh-style actions (summon, set, flip, attack, activate spells/traps) - Use chain system for strategic responses - Manage game phases - Play complete competitive games autonomously ## Testing All validation checks pass (verified with `.validate.sh`): - ✅ Required files present - ✅ YAML frontmatter valid - ✅ JSON files valid - ✅ Directory structure correct ## Documentation Complete documentation included: - SKILL.md - Main skill file - README.md - Overview - INSTALLATION.md - Setup guide - examples/ - Working code examples (TypeScript, Python) - scenarios/ - Use case tutorials ## Repository https://github.com/lunchtable/ltcg <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR adds a new `lunchtable-tcg` skill under `skills/lunchtable/lunchtable-tcg`, including ClawHub metadata (`.clawhub.json`), a GitHub Actions publishing workflow, a validation/publish script, and extensive docs + TypeScript/Python reference agents demonstrating how to call the LunchTable-TCG REST API. The changes are largely self-contained within the new skill directory and do not modify the main app/backend. The main merge blockers are doc/metadata references to files and package names that don’t exist in this PR, plus a real runtime crash in the TS examples when run under ESM due to unguarded `require` usage. <h3>Confidence Score: 3/5</h3> - This PR is close to mergeable but has a few user-facing correctness issues that should be fixed first. - Most changes are additive and isolated to a new skill folder, but there are definite broken references (missing example scripts and incorrect npm package name in docs) and the TS examples have an ESM runtime crash due to `require` usage. Fixing these should make the skill usable as documented. - skills/lunchtable/lunchtable-tcg/.clawhub.json; skills/lunchtable/lunchtable-tcg/README.md; skills/lunchtable/lunchtable-tcg/INSTALLATION.md; skills/lunchtable/lunchtable-tcg/examples/basic-agent.ts; skills/lunchtable/lunchtable-tcg/examples/advanced-agent.ts <!-- greptile_other_comments_section --> **Context used:** - Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=a1d58d20-b4dd-4cbb-973a-9fd7824e1921)) <!-- /greptile_comment --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:35 -05:00
yindo closed this issue 2026-02-15 17:16:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#271