mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-12 13:28:55 +00:00
add devcontainer changes that khalim added
This commit is contained in:
parent
a37fd03202
commit
509624a149
3 changed files with 11 additions and 14 deletions
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue