agentleFS
pgnzbl-uxpgnzbl-ux/crucible/.claude/skills/deploy/SKILL.md

deploy

Skill4 starsChanged 3 months agoMITView on GitHub

启动基础设施 + 后端 API + Celery worker + 前端 dev server 一条龙

  • Reads credentials
  • Installs packages

100 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use azure-kusto-graph, azure-kusto-irql and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    azure-kusto-graph

    Build and query Kusto graphs from natural language. Covers transient graphs (make-graph), persistent graph models/snapshots, pattern matching (graph-match), shortest paths, connected components, and graph-to-table export. Generates the edges-first thinking: define edges, define node lookups, union, make-graph. WHEN: make-graph, graph-match, graph-shortest-paths, graph-to-table, graph-mark-components, persistent graph, graph model, graph snapshot, build a graph from data, find paths between nodes, pattern matching in graph, connected components, transient graph, Kusto graph, KQL graph.

    Also in 3 projects that use this

  • MicrosoftSkill

    azure-kusto-irql

    Compose IRQL (Incident Response Query Language) queries for Kusto cybersecurity investigations. Translates natural language hunting questions into composable IRQL pipelines using Get_*, Extract_*, and Enrich_* functions. WHEN: IRQL query, security hunt, threat hunting KQL, incident response query, compose hunting pipeline, failed logins, phishing investigation, lateral movement, process execution, file creation events.

    Also in 3 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 7 projects that use this

  • ww-w-aiSkill

    starter

    Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).

    Also in 3 projects that use this

  • +8 more from microsoft

The file

Files
SKILL.md

Deploy (development)

按仓库根目录 README.md「快速开始」。宿主 Linux(含 WSL)。虚拟环境在仓库根 .venv/,不要用系统 python。

首次(新机器 / 新克隆)

  1. Docker 可用(WSL 先开 Docker Desktop,docker ps 能通)。
  2. 基础设施(postgres 5433 / redis 6380 / minio 9000)
    cd infrastructure && docker compose up -d
    docker compose ps   # 等 healthy
  3. Agent 镜像(首次,或改了 infrastructure/agent-runner/ / node-skills 之后)
    # 必须在仓库根构建
    docker build -f infrastructure/agent-runner/Dockerfile -t crucible-agent-runner:base .
  4. Python 环境
    python3.12 -m venv .venv && source .venv/bin/activate
    cd backend
    cp .env.example .env
    pip install -e ".[dev]"
    pip install -r requirements.txt
  5. 三个进程(各开一个终端,均 source .venv/bin/activate)
    # API
    cd backend && python -m uvicorn app.main:app --host 0.0.0.0 --port 8010 --reload
    
    # Worker(缺 gitleaks / osv-scanner / 本地 semgrep 规则树时写入当前 .venv)
    cd backend && python run_worker.py
    
    # 前端
    cd frontend && npm install && npm run dev

WSL / 机器重启后

数据卷、.env、.venv、Agent 镜像都还在。不要重装依赖、不要重建镜像。

# Docker 起来之后
cd infrastructure && docker compose up -d

source .venv/bin/activate
# 终端 1
cd backend && python -m uvicorn app.main:app --host 0.0.0.0 --port 8010 --reload
# 终端 2
cd backend && python run_worker.py
# 终端 3
cd frontend && npm run dev

验证

curl http://localhost:8010/health
# 控制台 http://localhost:5173

只开 API、不开 Worker 时,任务会停在队列里。

端口冲突

  • 5433 / 6380 / 9000 / 8010 / 5173 已被占用则改 docker-compose / .env / vite.config
  • 不要改回 5432 / 6379(与宿主机默认端口冲突)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.