foundryvtt-module
БесплатноБез исполняемых скриптовНе проверенNew FoundryVTT module to a gitops-adopted repo: scaffold, create + seed the GitHub repo, open the gitops adoption PR. Use when standing up a new foundry…
от laurigates★ 61 звезда на GitHubОб этом скилле
foundryvtt-module
Drives a FoundryVTT module idea to a release-ready, gitops-adopted GitHub repository in one pass, pausing at exactly one human approval.
Reach for foundryvtt-module-scaffold on its own when all you want is the local
file tree. Reach for this skill when the remote repo should also exist, be
seeded, and be under Terraform management by the time you stop.
Delegated: the repo-adoption procedure
The second half of this pipeline — creating and seeding the GitHub repo, opening the gitops adoption PR, the human merge gate, and the import-block-removal follow-up — is not duplicated here. It is identical for every repo class and is owned by:
comfyui-plugin:comfy-node, Phases 3 → 5 (plus its branch-protection hook note and its generic failure-mode rows).
That skill's Adapting Phases 3–5 to another repo class section names every value to substitute. Run Phases 0 → 2 here, apply the deltas in FoundryVTT deltas, then execute Phases 3 → 5 there.
Two consequences of that procedure worth stating up front, because they shape what you do in Phase 2 below:
- The seed commit lands on
mainwith no intervening branch or PR — read the owner's Phase 3 for why that ordering is load-bearing, not just convenient. - A Claude Code session will hit a
branch-protectionhook block on that seed. The owner's note explains the hand-off; do not invent a workaround.
When to Use This Skill
| Reach for this skill | Reach elsewhere |
|---|---|
| An idea needs to become a live repo — files, remote, gitops entry, release pipeline | Only local files are wanted → foundryvtt-module-scaffold |
| Nothing exists yet under that module name | The module already exists → work in its repo |
| Someone asks to "spin up" or "stand up" a Foundry module | A release is due → release-please and the release workflow already handle it |
Preconditions
- Work from the directory holding the user's other FoundryVTT module clones.
- Resolve
<owner>,<iac-repo>and<iac-dir>as the owner skill's Values from context section does, except:<owner>comes from a sibling module'sgit remote get-url origin, elsegh api user --jq .login;iac_repo:/iac_dir:come from.claude/foundryvtt-plugin.local.md(when unset, ask once and offer to save it). <owner>is also the scaffold's--publisher, which writes themodule.jsonurl,manifestanddownload; without it the scaffold's default owner lands there.<author>(--author) is a sibling module'sauthors[0].name, elsegit config user.name.- The remaining preconditions (a personal
gh auththat may create repos, and an uncommitted-change-free gitops clone) are stated once in the owner skill — satisfy them before Phase 3.
Phase 0 — Derive and confirm the spec
From the idea, derive and show the user before creating anything external:
| Field | How to derive | Example |
|---|---|---|
--name |
foundryvtt-<kebab> (the GitHub repo). |
foundryvtt-initiative-tweaks |
--id |
Foundry module id; default = --name minus foundryvtt-. |
initiative-tweaks |
--display |
Title-case. | Initiative Tweaks |
--desc |
One line, manifest-facing. | Small quality-of-life tweaks to the combat initiative tracker. |
--variant |
app for a UI window; libwrapper to patch a core method; else basic. |
basic |
--fvtt-verified |
The major Foundry version the harness pins. | 13 |
| topics | ["foundryvtt", "module", …] + facet tags. |
…,"combat","initiative" |
Get explicit user sign-off on name, id, and variant — renaming any of the three after the repo exists is expensive.
Phase 1 — Preflight
Three lookups; every one must come back free before you continue. Any collision is a full stop — report it and wait.
test ! -e foundryvtt-initiative-tweaks && echo "local: free" || echo "local: EXISTS"
grep -q '"foundryvtt-initiative-tweaks"' <iac-dir>/repositories.tf && echo "gitops: EXISTS" || echo "gitops: free"
gh repo view <owner>/foundryvtt-initiative-tweaks >/dev/null 2>&1 && echo "github: EXISTS" || echo "github: free"
(With no <iac-dir>, skip that lookup.)
Phase 2 — Scaffold, init, and get to green
python3 ${CLAUDE_SKILL_DIR}/../foundryvtt-module-scaffold/scaffold.py --name foundryvtt-initiative-tweaks --display "Initiative Tweaks" --desc "Small quality-of-life tweaks to the combat initiative tracker." --variant basic --publisher <owner> --author "<author>"
cd foundryvtt-initiative-tweaks
git init -b main
bun install
just check
Notes specific to this stack:
git init -b mainprecedesbun install— the install step wires git tooling and expects a repository to already be present.bun.lockbelongs in the seed commit.bun installwrites it and CI runs--frozen-lockfile; a seed without it fails on the first
Установить foundryvtt-module в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(python3 ${CLAUDE_SKILL_DIR}/../foundryvtt-module-scaffold/scaffold.py *)Bash(gh repo view *)Bash(git init -b main)Bash(git remote get-url *)Bash(git config user.name)Bash(just check *)Bash(gh api *)ReadWriteEditGrepGlobTodoWriteAskUserQuestionFAQ
Что делает скилл foundryvtt-module?
New FoundryVTT module to a gitops-adopted repo: scaffold, create + seed the GitHub repo, open the gitops adoption PR. Use when standing up a new foundry module end to end.
Как установить скилл foundryvtt-module?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл foundryvtt-module запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic