用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/eron1703/claude-config-loader --skill worker-frontend命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Load CI/CD pipeline configuration and deployment information when working with automation or deployments
Load database relationships, shared resources, and schema information when working with data models or database configuration
Load development environment information including folder structure, OrbStack setup, and system configuration
正在显示 SKILL.md
基于 SOC 职业分类
| name | worker-frontend |
| description | Frontend repository, build process, deployment, and development setup |
| disable-model-invocation | true |
main or developsrc/
├── app/ # Next.js app routes (pages)
│ ├── page.tsx
│ ├── dashboard/
│ └── [dynamic]/
├── features/ # Domain-specific logic (components, hooks, utils)
│ ├── processes/
│ ├── workflows/
│ └── auth/
├── components/ # Shared UI components
│ └── ui/ # shadcn/ui components
└── lib/ # Utilities (API clients, helpers)
cd ~/projects/flowmaster/repos/flowmaster-frontend-nextjs/
npm install
npm run dev
# Opens on http://localhost:3000
npm run build
npm run lint
npm run format
docker build --platform linux/amd64 \
-t localhost:30500/flowmaster/frontend-nextjs:<tag> \
--build-arg API_GATEWAY_URL=http://api-gateway:9000 \
.
docker push localhost:30500/flowmaster/frontend-nextjs:<tag>
ssh dev-01-root "kubectl set image -n flowmaster \
deploy/frontend \
frontend=localhost:30500/flowmaster/frontend-nextjs:<tag>"
These are passed during Docker build and embedded in the image:
http://api-gateway:9000 (K8S internal URL, not used by browser)/api/ proxyws://<server-ip>/ws (WebSocket URL for real-time features — get IP from commander-mcp)production (or development).gitlab-ci.yml - Defines all build args for CI/CDdeploy-demo-template.yml - Kubernetes deployment template with DOCKER_BUILD_ARGS variablessh dev-01-root "kubectl -n flowmaster get deploy frontend"
ssh dev-01-root "kubectl -n flowmaster describe deploy frontend"
ssh dev-01-root "kubectl logs -n flowmaster deploy/frontend --tail=50"
ssh dev-01-root "kubectl exec -n flowmaster deploy/frontend -- wget -qO- http://localhost:3000/"
/api/v1/auth/loginNote: Login page shows admin@flowmaster.dev but API gateway may use admin@flowmaster.ai - this is a known mismatch.
Frontend is accessed via:
/ (root path)kubectl -n flowmaster get svc)/etc/nginx/sites-enabled/flowmasterAll API calls use /api/ prefix:
// In frontend code
const response = await fetch('/api/v1/processes');
// Browser sends: GET /api/v1/processes
// Nginx routes to: api-gateway:9000/api/v1/processes
// Gateway routes to: process-design:9003/api/v1/processes
const ws = new WebSocket('ws://<server-ip>/ws');
npm install succeeds locallykubectl -n flowmaster get pods | grep frontendkubectl logs -n flowmaster deploy/frontend/api/ route works: Check /etc/nginx/sites-enabled/flowmasterkubectl -n flowmaster get pods | grep api-gatewaykubectl logs -n flowmaster deploy/api-gateway/api/ prefix proxied through NginxFor live credentials, ClusterIPs, and build args, use commander-mcp: get_credential("admin"), get_context_services