用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill abpdev-environments命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | abpdev-environments |
| description | >- Use when this capability is needed. |
Use this skill for env, envapp, and process environment switching.
| Command | Purpose |
|---|---|
abpdev env | Explain virtual environment usage |
abpdev env config | Open environment configuration |
abpdev envapp | Show environment app help/context |
abpdev envapp config | Open environment-app command configuration |
abpdev envapp start | Start infra tools such as SQL Server, Redis, RabbitMQ |
abpdev envapp stop | Stop one or all configured infra tools |
abpdev switch-to-env | Open a terminal with a selected environment applied |
abpdev run --env <name> | Run apps with a virtual environment |
Global configs are under:
%AppData%\abpdev
Main files in this area:
EnvironmentConfiguration.yml via abpdev env configenvironment-tools.yml via abpdev envapp configtools-configuration.yml for terminal/open command overridesabpdev env config manages named sets of environment variables, mainly for connection strings.
Default environment names include:
SqlServerMongoDbPostgreSqlMySqlExample shape:
SqlServer:
variables:
ConnectionStrings__Default: Server=localhost;Database={AppName}_{Today};User ID=SA;Password=12345678Aa;TrustServerCertificate=True
MongoDb:
variables:
ConnectionStrings__Default: mongodb://localhost:27017/{AppName}_{Today}
Tokens like {AppName} and {Today} are intended for templated environment values.
Apply it directly while running:
abpdev run --env SqlServer
abpdev run --env PostgreSql -p MyApp.HttpApi.Host
Or open a new terminal with that environment applied:
abpdev switch-to-env SqlServer
On Windows this uses the configured terminal command, which defaults to wt.
abpdev envapp start and abpdev envapp stop manage external infrastructure, usually through Docker commands stored in config.
Default app keys include:
sqlserversqlserver-edgepostgresqlmysqlmongodbredisrabbitmqExamples:
abpdev envapp start sqlserver
abpdev envapp start redis rabbitmq
abpdev envapp start sqlserver -p MyStrongPassword123! -v
abpdev envapp stop sqlserver
abpdev envapp stop all
Notes:
envapp start can take multiple app names.-p, --password replaces the placeholder Passw0rd inside configured start commands.-v, --verbose shows Docker command output.envapp stop currently expects Docker-based stop commands.abpdev envapp config opens a YAML dictionary keyed by app name.
Preferred schema:
sqlserver:
start-cmds:
- docker start tmp-sqlserver
- docker run --name tmp-sqlserver --restart unless-stopped -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Passw0rd" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-CU8-ubuntu
stop-cmds:
- docker kill tmp-sqlserver
- docker rm tmp-sqlserver
Legacy single-string keys are still supported, but arrays are preferred.
abpdev run --env <name> when the user wants an environment only for that run.abpdev switch-to-env <name> when the user explicitly wants a shell/session switched.abpdev envapp start only for the infra tools the project actually needs.abpdev prepare may be a better entry point because it can infer and start required env apps automatically.App name is not recognized
abpdev envapp config and verify the key name.Wrong terminal opens for switch-to-env
abpdev tools config and update the terminal tool path.Docker command needs customization
environment-tools.yml via abpdev envapp config.Source: enisn/AbpDevTools — distributed by TomeVault.