원클릭으로
foundry-setup
Environment bootstrap and verification for the Ilaris FoundryVTT development setup.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Environment bootstrap and verification for the Ilaris FoundryVTT development setup.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | foundry-setup |
| description | Environment bootstrap and verification for the Ilaris FoundryVTT development setup. |
A reusable skill for bootstrapping and verifying the Ilaris development environment.
Data/systems/ directorynode --version # Expect: v18+ or v20+
npm --version # Expect: v9+
git status # Expect: clean working tree or known changes
npm install
Verify: node_modules/ directory exists and contains @foundryvtt/foundryvtt-cli.
If it fails:
node_modules/ and package-lock.jsonnpm install againnpm test
Verify: All tests pass. Check output for number of test suites and tests.
If it fails:
jest.setup.js for mock configuration issuesbabel.config.cjs is present (required for ES module transforms)_spec/ dirsnpm run lint
Verify: No errors. Warnings are acceptable.
If it fails:
npm run lint auto-fixes most issuesnpm run prettier fixes formattingnpm run pack-all
Verify: All packs in comp_packs/ have updated LevelDB files.
If it fails:
_source/ JSON files are valid JSON@foundryvtt/foundryvtt-cli is installedcomp_packs/ directoriesnpm run start-foundry
Prerequisite: Create developer.env from template at .vscode/tasks-scripts/start-foundry/developer.template.env.
Windows developer.env example:
REM FoundryVTT Configuration
set PATH_TO_FOUNDRY=C:\Program Files\Foundry Virtual Tabletop\
set FILE_TO_START_FOUNDRY=Foundry Virtual Tabletop.exe
| Symptom | Likely Cause | Fix |
|---|---|---|
Cannot find module | Missing npm install | npm install |
SyntaxError: Unexpected token | Babel not configured | Check babel.config.cjs |
fvtt is not recognized | CLI not installed | npm install (it's a devDependency) |
ENOENT: no such file on pack | Missing _source/ data | Check file paths in JSON |
| Jest mock errors | Foundry globals not mocked | Check jest.setup.js |
LOCK file errors in packs | Stale lock files | Delete .ldb LOCK files, retry |
- [ ] Node.js >= 18 installed
- [ ] `npm install` completed successfully
- [ ] `npm test` — all tests pass
- [ ] `npm run lint` — no errors
- [ ] `npm run pack-all` — all packs built
- [ ] `comp_packs/` directories contain `.ldb` files
- [ ] (Optional) `developer.env` configured for Foundry launch