npx skills add https://github.com/incept5/eve-skillpacks --skill eve-new-project-setup在开发者运行 eve init 后,使用此指南为 Eve Horizon 配置项目。
用户已运行:
npm install -g @eve-horizon/cli
eve init my-project
cd my-project
此技能处理剩余的设置:配置文件、身份验证、组织/项目注册、清单自定义和 git 远程仓库配置。
eve --version
如果失败,说明 CLI 未安装。请让他们运行:
npm install -g @eve-horizon/cli
为暂存环境创建配置文件:
eve profile create staging --api-url https://api.eh1.incept5.dev
eve profile use staging
询问用户的电子邮件并设置默认值:
eve profile set --default-email user@example.com
检查当前身份验证状态:
Use this after a developer has run eve init and needs to configure the project for Eve Horizon.
The user has already run:
npm install -g @eve-horizon/cli
eve init my-project
cd my-project
This skill handles the remaining setup: profile, authentication, org/project registration, manifest customization, and git remote configuration.
eve --version
If this fails, the CLI wasn't installed. Have them run:
npm install -g @eve-horizon/cli
Create a profile for the staging environment:
eve profile create staging --api-url https://api.eh1.incept5.dev
eve profile use staging
Ask the user for their email and set defaults:
eve profile set --default-email user@example.com
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
eve auth status
如果未通过身份验证,请登录:
eve auth login
CLI 将引导他们完成 SSH 密钥发现(如果需要,可以从 GitHub 获取)。
我们将在项目创建后设置 harness 凭据。
询问用户以下信息:
创建或确保它们存在:
eve org ensure my-company --slug myco
eve project ensure --name "My App" --slug my-app --repo-url git@github.com:me/my-app.git --branch main
URL 影响: 组织和项目标识符直接构成部署 URL 和 K8s 命名空间:
{service}.{orgSlug}-{projectSlug}-{env}.{domain}(例如:api.myco-my-app-staging.eh1.incept5.dev)eve-{orgSlug}-{projectSlug}-{env}(例如:eve-myco-my-app-staging)${ORG_SLUG} 可用于清单值的插值标识符是不可变的——请选择简短、有意义的名称。
在配置文件中设置为默认值:
eve profile set --org org_xxx --project proj_xxx
询问他们想要定位哪个 harness(可以不止一个):
将 harness 映射到所需的密钥:
ANTHROPIC_API_KEY(首选)或通过 eve auth sync 使用 Claude OAuthOPENAI_API_KEY(首选)或 CODEX_AUTH_JSON_B64Z_AI_API_KEYGEMINI_API_KEY(或 GOOGLE_API_KEY)决定在哪里存储密钥:
使用密钥文件进行批量设置(起始仓库包含 secrets.env.example):
cp secrets.env.example secrets.env
eve secrets import --org org_xxx --file ./secrets.env
对于主机上的 Claude/Codex OAuth 令牌:
# 将 OAuth 令牌存储在项目范围内(如果是管理员,则添加 --system)
eve auth sync --project proj_xxx
起始模板包含 .eve/manifest.yaml。使用项目详细信息更新它:
schema: eve/compose/v2
project: my-app
services:
api:
build:
context: apps/api
ports: [3000]
x-eve:
ingress:
public: true
port: 3000
environments:
staging:
pipeline: deploy
pipelines:
deploy:
steps:
- name: deploy
action: { type: deploy }
需要自定义的关键字段:
project: 匹配项目标识符services: 定义你的应用服务x-eve.ingress: 配置公共访问项目开始时没有远程仓库。帮助设置一个:
git remote -v
git remote add origin git@github.com:user/my-app.git
git push -u origin main
运行以下检查以确认设置:
eve system health
eve auth status
eve profile show
设置完成后,建议:
docker compose up --buildeve secrets set MY_KEY "value" 或 eve secrets import --file ./secrets.enveve env deploy staging --ref main --repo-dir .eve job create --prompt "Review the codebase"注意:如果环境中在清单中配置了 pipeline,eve env deploy <env> --ref <sha> 将触发该流水线。使用 --direct 绕过流水线并直接部署。--ref 必须是 40 个字符的 SHA,或者是相对于 --repo-dir/当前工作目录解析的引用。
npm install -g @eve-horizon/cli
eve auth login
eve profile create staging --api-url https://api.eh1.incept5.dev
每周安装次数
162
仓库
首次出现
2026年2月8日
安全审计
安装于
gemini-cli162
codex162
claude-code158
pi61
opencode41
github-copilot41
Check current auth status:
eve auth status
If not authenticated, log in:
eve auth login
The CLI will guide them through SSH key discovery (can fetch from GitHub if needed).
We'll set harness credentials after project creation.
Ask the user for:
Create or ensure they exist:
eve org ensure my-company --slug myco
eve project ensure --name "My App" --slug my-app --repo-url git@github.com:me/my-app.git --branch main
URL impact: The org and project slugs directly form deployment URLs and K8s namespaces:
{service}.{orgSlug}-{projectSlug}-{env}.{domain} (e.g., api.myco-my-app-staging.eh1.incept5.dev)eve-{orgSlug}-{projectSlug}-{env} (e.g., eve-myco-my-app-staging)${ORG_SLUG} is available for interpolation in manifest valuesSlugs are immutable — choose short, meaningful values.
Set as defaults in the profile:
eve profile set --org org_xxx --project proj_xxx
Ask which harness they want to target (can be more than one):
Map harnesses to required secrets:
ANTHROPIC_API_KEY (preferred) or Claude OAuth via eve auth syncOPENAI_API_KEY (preferred) or CODEX_AUTH_JSON_B64Z_AI_API_KEYGEMINI_API_KEY (or GOOGLE_API_KEY)Decide where to store secrets:
Use a secrets file for batch setup (starter repo includes secrets.env.example):
cp secrets.env.example secrets.env
eve secrets import --org org_xxx --file ./secrets.env
For Claude/Codex OAuth tokens on the host:
# Store OAuth tokens in the project scope (or add --system if admin)
eve auth sync --project proj_xxx
The starter template includes .eve/manifest.yaml. Update it with the project details:
schema: eve/compose/v2
project: my-app
services:
api:
build:
context: apps/api
ports: [3000]
x-eve:
ingress:
public: true
port: 3000
environments:
staging:
pipeline: deploy
pipelines:
deploy:
steps:
- name: deploy
action: { type: deploy }
Key fields to customize:
project: Match the project slugservices: Define your app's servicesx-eve.ingress: Configure public accessThe project starts with no remote. Help set one up:
git remote -v
git remote add origin git@github.com:user/my-app.git
git push -u origin main
Run these checks to confirm setup:
eve system health
eve auth status
eve profile show
After setup is complete, suggest:
docker compose up --buildeve secrets set MY_KEY "value" or eve secrets import --file ./secrets.enveve env deploy staging --ref main --repo-dir .eve job create --prompt "Review the codebase"Note: If the environment has a pipeline configured in the manifest, eve env deploy <env> --ref <sha> will trigger that pipeline. Use --direct to bypass the pipeline and do a direct deploy. --ref must be a 40-character SHA, or a ref resolved against --repo-dir/cwd.
npm install -g @eve-horizon/cli
eve auth login
eve profile create staging --api-url https://api.eh1.incept5.dev
Weekly Installs
162
Repository
First Seen
Feb 8, 2026
Security Audits
Installed on
gemini-cli162
codex162
claude-code158
pi61
opencode41
github-copilot41