Add Context Studio Wizard — project scaffolding CLI
- wizard.sh: interactive bash wizard that scaffolds new CS projects - lib/: utils, core install, project structure, workflow generation - templates/: Dockerfile, devcontainer.json, agent presets (minimal/standard), system.json, roles, hook rules - README: setup, usage, mobility workflow Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cd5b28919c
commit
09ff27be92
19 changed files with 1132 additions and 1 deletions
40
templates/Dockerfile
Normal file
40
templates/Dockerfile
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
FROM node:22-bookworm-slim
|
||||
|
||||
# ── System dependencies ──────────────────────────────────────────────────────
|
||||
# Build tools: needed for node-pty (native module) and Electron
|
||||
# xvfb + libgtk: needed if running Electron inside container with virtual display
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
curl \
|
||||
wget \
|
||||
ca-certificates \
|
||||
python3 \
|
||||
make \
|
||||
g++ \
|
||||
libx11-dev \
|
||||
libxkbfile-dev \
|
||||
libsecret-1-dev \
|
||||
libfontconfig1 \
|
||||
libgbm1 \
|
||||
libasound2 \
|
||||
xvfb \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# ── Rust toolchain ───────────────────────────────────────────────────────────
|
||||
ENV RUSTUP_HOME=/usr/local/rustup \
|
||||
CARGO_HOME=/usr/local/cargo \
|
||||
PATH=/usr/local/cargo/bin:$PATH
|
||||
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
||||
| sh -s -- -y --no-modify-path --default-toolchain stable \
|
||||
&& rustup component add clippy rustfmt \
|
||||
&& chmod -R a+w /usr/local/rustup /usr/local/cargo
|
||||
|
||||
# ── Claude Code CLI ──────────────────────────────────────────────────────────
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
# ── Workspace ────────────────────────────────────────────────────────────────
|
||||
WORKDIR /workspace
|
||||
|
||||
# Context Studio Core is mounted at /opt/context-studio/core (read-only from host)
|
||||
# Workflow lives at /workspace/workflow (per-project, writable)
|
||||
Loading…
Add table
Add a link
Reference in a new issue