f20bc770f5
- skills/gitea-deploy/: new skill for Gitea deployment automation - tools/: shared utility scripts - skills/sdlc/SKILL.md: add Foreground Service Rule for long-running processes (background start + readiness polling pattern)
31 lines
1.6 KiB
JSON
31 lines
1.6 KiB
JSON
{
|
||
"skill_name": "gitea-deploy",
|
||
"evals": [
|
||
{
|
||
"id": 1,
|
||
"prompt": "I want to self-host my git server on my VPS at 192.168.1.100. SSH user is root, key is ~/.ssh/id_rsa. Set up Gitea and push this project to it.",
|
||
"expected_output": "Collects missing info (admin credentials, repo name), tests SSH, installs Docker if needed, deploys Gitea via docker compose, initializes via API, adds git remote, pushes, and reports the web URL and clone URL."
|
||
},
|
||
{
|
||
"id": 2,
|
||
"prompt": "Deploy Gitea on my server git.mycompany.com. Docker is already installed. Admin user should be 'devops'.",
|
||
"expected_output": "Skips Docker installation (detects it's already present), deploys Gitea, creates the devops admin user, creates the repo, pushes the project, and reports success."
|
||
},
|
||
{
|
||
"id": 3,
|
||
"prompt": "我想把这个项目推送到我自己VPS上的Gitea,VPS是 45.77.1.23,SSH用户是ubuntu。",
|
||
"expected_output": "Asks for missing fields (SSH key path, admin credentials), then executes the full deployment workflow in order, reporting the final Gitea URL in Chinese."
|
||
},
|
||
{
|
||
"id": 4,
|
||
"prompt": "Set up Gitea on my VPS but the current directory is not a git repo yet.",
|
||
"expected_output": "Detects no git repo, offers to run git init + initial commit, then proceeds with the full deployment after user confirms."
|
||
},
|
||
{
|
||
"id": 5,
|
||
"prompt": "I already have Gitea running on port 3000 on my VPS. Just push my project to it.",
|
||
"expected_output": "Skips Docker/Gitea installation steps, goes directly to creating the repo via API and pushing via git remote."
|
||
}
|
||
]
|
||
}
|