add devcontainer changes that khalim added

This commit is contained in:
Jun-te Kim 2026-04-27 12:19:55 +00:00
parent a37fd03202
commit 509624a149
3 changed files with 11 additions and 14 deletions

View file

@ -3,21 +3,12 @@
"allow": [
"Bash(backlog task *)",
"Bash(backlog mcp *)",
"Read(//home/vscode/.config/nvim/**)",
"Read(//home/vscode/.config/nvim/lua/plugins/**)",
"Bash(npx tsc *)",
"Read(//workspaces/home/github/Model/backend/**)",
"Read(//workspaces/home/github/Model/etl/**)",
"mcp__backlog__task_create",
"mcp__backlog__task_view",
"mcp__backlog__task_edit",
"Read(//workspaces/home/github/Model/**)",
"Bash(pytest backend/tests/test_bulk_combiner_status.py -v --no-cov)",
"Bash(echo \"EXIT: $?\")",
"mcp__backlog__task_list",
"Bash(grep -E \"\\\\.\\(prisma|sql|ts\\)$\")",
"Bash(xargs cat *)",
"Bash(node -e ' *)"
"Read(//workspaces/home/github/Model/**)",
]
},
"enabledMcpjsonServers": [

View file

@ -8,7 +8,7 @@ ARG DEBIAN_FRONTEND=noninteractive
# Install system dependencies in a single layer
RUN apt update && apt install -y --no-install-recommends \
sudo jq vim curl\
sudo jq vim curl bash-completion \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/*
@ -56,10 +56,16 @@ USER ${USER}
# Bootstrap LazyVim starter config
RUN git clone https://github.com/LazyVim/starter /home/${USER}/.config/nvim \
&& rm -rf /home/${USER}/.config/nvim/.git
# Install Claude + plugins + skills
RUN curl -fsSL https://claude.ai/install.sh | bash \
&& export PATH="/home/${USER}/.local/bin:${PATH}" \
&& claude plugin marketplace add JuliusBrussee/caveman \
&& claude plugin install caveman@caveman
&& claude plugin install caveman@caveman \
&& npx skills@latest add --global --yes mattpocock/skills/grill-me \
&& npx skills@latest add --global --yes mattpocock/skills/to-prd \
&& npx skills@latest add --global --yes mattpocock/skills/ubiquitous-language \
&& npx skills@latest add --global --yes mattpocock/skills/tdd \
&& npx skills@latest add --global --yes mattpocock/skills/improve-codebase-architecture
ENV PATH="/home/vscode/.local/bin:${PATH}"
USER root

View file

@ -4,6 +4,7 @@
"service": "frontend",
"remoteUser": "vscode",
"workspaceFolder": "/workspaces/assessment-model",
"initializeCommand": "docker network create shared-dev 2>/dev/null || true",
"postStartCommand": "bash .devcontainer/post-install.sh",
"forwardPorts": [3000, 6420], # 3000 = Next.js, 6420 = Backlog.md browser
"appPort": ["3000:3000", "6420:6420"], # For devcontainer shell
@ -21,8 +22,7 @@
},
"extensions": [
"esbenp.prettier-vscode",
"Anthropic.claude-code",
"asvetliakov.vscode-neovim"
"Anthropic.claude-code"
]
}
}