跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

progen

Use when the user wants to create/generate/scaffold a new Spring Boot project (Maven or Gradle, REST API / Web App / Spring Boot + Angular full stack). Derives progen CLI inputs from the user's plain-English project description, asks for any missing mandatory info, ensures the progen binary is available, and runs it to generate the project. If the user asks for features progen doesn't support natively, generate the base project first, then add those features on top of the generated code.

sivaprasadreddy · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add sivaprasadreddy/sivalabs-agent-skills --skill progen

技能说明


name: progen description: Use when the user wants to create/generate/scaffold a new Spring Boot project (Maven or Gradle, REST API / Web App / Spring Boot + Angular full stack). Derives progen CLI inputs from the user's plain-English project description, asks for any missing mandatory info, ensures the progen binary is available, and runs it to generate the project. If the user asks for features progen doesn't support natively, generate the base project first, then add those features on top of the generated code. disable-model-invocation: true

progen: Spring Boot Project Generator

progen is an offline, single-binary Go CLI (https://github.com/sivaprasadreddy/progen) that scaffolds a complete, production-ready Spring Boot project: build files, Java source, tests, Docker Compose, GitHub Actions, DB migrations, security, and more.

This skill's job: turn a user's description of the app they want into a .progen.json config, fill gaps by asking the user, run progen to generate the project, and — if the user asked for anything progen can't do natively — layer that on afterward by editing the generated code.

Step 1 — Ensure progen is available

Check for a working binary:

progen --version

If not found (or version looks outdated and the user wants latest), download the right asset for the current OS/arch from the latest release:

# Example for macOS arm64 — adapt OS/ARCH from `uname -s` / `uname -m`
curl -L -o progen.tar.gz \
  "https://github.com/sivaprasadreddy/progen/releases/latest/download/progen_<os>_<arch>.tar.gz"
tar -xzf progen.tar.gz
chmod +x progen
sudo mv progen /usr/local/bin/   # or anywhere on PATH
progen --version

If the exact asset naming isn't obvious, fetch the releases page (https://github.com/sivaprasadreddy/progen/releases) to find the correct filename for the user's OS/architecture before downloading. If a Go toolchain is available, go install github.com/sivaprasadreddy/progen@latest also works and avoids the asset-naming problem entirely.

On macOS, downloaded binaries may trigger a Gatekeeper "cannot be opened because the developer cannot be verified" error — tell the user to right-click → Open once in Finder to approve it (or xattr -d com.apple.quarantine progen if working non-interactively is fine with them).

Step 2 — Config schema (.progen.json)

progen takes no scaffolding info via flags — everything goes through a JSON config file consumed as progen -c <file> (interactive prompts are the only other input path, and are not used by this skill). Field names below are exactly as marshaled to JSON (Go field names, capitalized).

FieldType / allowed valuesDefaultRequired
AppNamestring (used as output directory name)myappYes — ask if not derivable
GroupIDstring, e.g. com.mycompanycom.mycompanyYes — ask if not derivable
ArtifactIDstring, e.g. boot-demomyappYes — ask if not derivable
AppVersionstring, e.g. 1.0.01.0.0No
BasePackagestring, e.g. com.mycompany.myappderived from GroupID+ArtifactIDNo
AppType"REST API" | "Web App" | "Spring Boot + Angular Full Stack""REST API"No (but shapes many other choices)
BuildTool"Maven" | "Gradle""Maven"No
PersistenceType"Spring Data JPA" | "Spring JdbcClient" | "jOOQ""Spring Data JPA"No
DbType"PostgreSQL" | "MySQL" | "MariaDB""PostgreSQL"No
DbMigrationTool"Flyway" | "Liquibase""Flyway"No
SpringCloudAWSSupportboolfalseNo
ThymeleafSupportbool — set automatically to true when AppType is "Web App"; leave false otherwisefalseNo (don't ask; derive from AppType)
HTMXSupportbool — only meaningful when AppType is "Web App"falseNo
EmailSupportboolfalseNo
RabbitMQSupportboolfalseNo
阅读完整来源 ↗