foundry-setup

First-time setup for the claude-foundry plugin (plugin:foundry@claude-foundry)

📖 中文导读:First-time setup for the claude-foundry plugin (plugin:foundry@claude-foundry) 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: foundry-setup description: First-time setup for the foundry plugin (plugin:foundry@claude-foundry)

Foundry Setup Skill

First-time setup for the foundry plugin. This skill is idempotent and safe to run multiple times.

Argument Handling

Check if $ARGUMENTS contains --check or --preflight:

  • If flag present: Run only Phase 1 (Pre-flight Checks), display results, then stop
  • If no flag: Run all phases (full setup)

Execution

MANDATORY: Read references/setup.md before proceeding. It contains the detailed phase instructions.

Flow

- **Entry** → Read `references/setup.md` (MANDATORY) → Ensure Full Mode → Preflight: MCP, Python, Git
  - [--check?] → **Exit**
  - [else] → Permissions → Workspace
    - [toml created?] → FeatureFlags → Providers → Research → TestConfig
    - [else] → Create TOML → FeatureFlags → Providers → Research → TestConfig
    - CLAUDE.md Configuration → Summary → **Exit**