landlord-ts 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,22 @@ By default (`landSequencing: 'optimal'`), each spell is checked against the best
|
|
|
120
120
|
|
|
121
121
|
To compare against 1.x, pass `landSequencing: 'draw-order'`. The full list is in [CHANGELOG.md](./CHANGELOG.md).
|
|
122
122
|
|
|
123
|
+
## Agent skill
|
|
124
|
+
|
|
125
|
+
landlord-ts ships agent skills that teach coding agents (Claude Code, Cursor, GitHub Copilot, Codex and others) to work with it:
|
|
126
|
+
|
|
127
|
+
- **`landlord-ts`:** calling the API, reading the results and avoiding the runtime pitfalls.
|
|
128
|
+
- **`magic-the-gathering`:** how a game is scored, what each failure bucket means, when each land kind enters tapped, and the decklist format.
|
|
129
|
+
- **`scryfall`:** how the card data is built, and the rules for any project that calls the Scryfall API.
|
|
130
|
+
|
|
131
|
+
Install them into your project with the [`skills`](https://github.com/vercel-labs/skills) CLI:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
npx skills add https://github.com/lggarrison/landlord-ts/tree/main --skill landlord-ts magic-the-gathering scryfall
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Installing from `main` keeps the skills in step with the latest release. After upgrading landlord-ts, run `npx skills update`.
|
|
138
|
+
|
|
123
139
|
## Development
|
|
124
140
|
|
|
125
141
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "landlord-ts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Monte Carlo MTG on-curve simulator with optimal land sequencing and exact hypergeometric draw odds (TypeScript, started as a port of landlord)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|