一键导入
deployment
Configure and publish your project. Use to set deployment settings and suggest publishing when the app is ready.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure and publish your project. Use to set deployment settings and suggest publishing when the app is ready.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
A test skill for validating secondary skill deployment.
List and manage user feedback items from the agent inbox. Use when the user asks about feedback, bug reports, feature requests, or inbox items.
Spawn a code review (architect) subagent for deep analysis, planning, and debugging. The architect specializes in strategic guidance rather than implementation. Architect should be called after building major features. Relies on `delegation` skill.
Create and manage Replit's built-in PostgreSQL databases, check status, execute SQL queries with safety checks, and run read-only queries against the production database.
Delegate tasks to specialized subagents. Use subagent for synchronous task execution, startAsyncSubagent for background task execution, messageSubagent for async follow-ups, or messageSubagentAndGetResponse for sync follow-ups.
Access LSP diagnostics and suggest project rollback. Use for debugging static errors and helping users revert changes.
| name | deployment |
| description | Configure and publish your project. Use to set deployment settings and suggest publishing when the app is ready. |
Configure deployment settings and publish your project to make it live and accessible.
Use this skill when:
deployConfig() is allowed because it only modifies .replit configuration. If you call deployConfig() from a task agent, remind the user that they will need to publish from the main version of the project after the current task is mergedConfigure how the project should be deployed to production.
Parameters:
deploymentTarget (str, required): "autoscale", "vm", "scheduled", or "static"run (list[str], optional): Production run command. First entry is binary/script, rest are argumentsbuild (list[str], optional): Build/compile command before deploymentpublicDir (str, required for "static"): Directory containing static filesReturns: Dict with success, message, and configuration details
Example:
// Configure a Python web app
const result = await deployConfig({
deploymentTarget: "autoscale",
run: ["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "main:app"]
});
// Configure a static site
const result2 = await deployConfig({
deploymentTarget: "static",
build: ["npm", "run", "build"],
publicDir: "dist"
});
// Configure an always-running bot
const result3 = await deployConfig({
deploymentTarget: "vm",
run: ["python", "bot.py"]
});
Choose the appropriate deployment target based on your project type:
Use for stateless websites and APIs that don't need persistent server memory.
await deployConfig({
deploymentTarget: "autoscale",
run: ["gunicorn", "--bind=0.0.0.0:5000", "app:app"]
});
Use for applications that need persistent server-side state or long-running processes.
await deployConfig({
deploymentTarget: "vm",
run: ["python", "bot.py"]
});
Use for cron-like jobs that run on a schedule.
await deployConfig({
deploymentTarget: "scheduled",
run: ["python", "daily_report.py"]
});
Use for client-side websites with no backend server.
run command is ignored; must specify publicDirawait deployConfig({
deploymentTarget: "static",
build: ["npm", "run", "build"],
publicDir: "dist"
});
Use production-ready servers, not development servers:
# Python with Gunicorn
run=["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "main:app"]
# Python with Streamlit
run=["streamlit", "run", "main.py"]
# Node.js
run=["node", "server.js"]
# Multiple processes with bash
run=["bash", "-c", "gunicorn --reuse-port -w 4 -b 0.0.0.0:8000 app:app & npm run dev"]
Only use build commands when compilation is needed:
# TypeScript/bundler
build=["npm", "run", "build"]
# Multiple build steps
build=["bash", "-c", "make assets && make compile"]
# Rust
build=["cargo", "build", "--release"]
.replit.app domain or custom domain if configured// 1. Configure deployment settings for a web app
await deployConfig({
deploymentTarget: "autoscale",
run: ["gunicorn", "--bind=0.0.0.0:5000", "app:app"]
});
// 2. After verifying the app works, suggest publishing to the user