project-init

project-init is a skill for Claude Code, Codex from linshidream/skill-hub. It costs 0 tokens per session (10,422 once invoked), scanned A, original, MIT.

A generator for the starting structure of a Java project using Maven and Spring Boot. Maven builds Java projects, while Spring Boot provides a common base for web applications and services.

In plain words
What is it for?
Use it to initialize an empty Java service, add a child module, create environment-specific settings, prepare container builds, and set up the project's development-flow state.
Why use it?
It removes the repetitive work of assembling build files, configuration, scripts, documentation folders, and deployment files. It also enforces required project details before generating the scaffold.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to initialize an empty Java service, add a child module, create environment-specific settings, prepare container builds, and set up the project's development-flow state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linshidream/skill-hub/project-init
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add linshidream/skill-hub --skill project-init
Clone the repo
git clone --depth 1 https://github.com/linshidream/skill-hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for project-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/linshidream/skill-hub/project-init/github.svg)](https://agentmods.dev/skills/linshidream/skill-hub/project-init)
Your own site
<a href="https://agentmods.dev/skills/linshidream/skill-hub/project-init"><img src="https://agentmods.dev/badge/skills/linshidream/skill-hub/project-init/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for project-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/linshidream/skill-hub/project-init"><img src="https://agentmods.dev/badge/skills/linshidream/skill-hub/project-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.10422
Opus 5.5 $0.00000 $0.04169
Sonnet 5.5 $0.00000 $0.02084
Haiku 4.5 $0.00000 $0.01042

Measured 1mo ago against content hash 11eca6ba153b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-init scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (lib/merge.py, mixins/frontend-common/eslint.config.js, mixins/frontend-common/postcss.config.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- L3 自写:`curl registry/v2/` ping 网络可达(200 或 401 都算可达,不 login)。
skills/dev/project-init/SKILL.md · 353 lines

How it starts

The opening of the file, as written. The whole thing — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.

project-init — 项目脚手架生成器(Java + 前端)

⚠️ 强制前置规则(最高优先级,不可跳过)

生成骨架前,必须先向用户发出「初始化表单」(见第 13 节)并等待用户填写贴回。 禁止用默认值直接调 merge.py 生成——用户极易忽略关键变量(groupId / 模块名 / 凭据占位 / 分支 / template)。

唯一例外:用户明确表达"用默认""不要问""直接生成""全自动""跳过表单"等放弃输入的意图时,才可用默认/占位直接生成。表述模糊或未表态时,一律先发表单。

执行顺序:检测空目录 → 发表单 → 等用户填回 → 组装 --var → 跑 merge.py。绝不允许从"检测目录"直接跳到 merge.py。

1. 定位

把一个空目录变成可立即 mvn package + 可构建镜像 + 可被 dev-lifecycle 接管的 Java Spring Boot 单体项目骨架。前置于 dev-spec,非必需:已有骨架则 dev-spec 直接开工,本 skill 不介入。

本 skill 是 dev-lifecycle 的第 0 个 cascade 节点(项目级、一次性):生成骨架后写项目级状态 .dev-flow/project.json(phase=scaffold:done),停留 test 分支,移交 dev-spec 开始第一个功能的需求整理(feature 级 spec:intake)。

职责边界(绝不越界):

动作 本 skill dev-lifecycle dev-spec git-flow ci-trigger
git init + initial commit + 建 test 分支 ✅
pom / SpringBoot 骨架 / Dockerfile / build.sh / run.sh / rollback.sh / Jenkinsfile ✅
.dev-flow.yml 种子(含 scaffold 块 + build-credentials) ✅
.dev-flow/project.json 项目级状态(scaffold:done) ✅ 读取
.gitignore(含 .dev-flow/) ✅
docs/specs/ + docs/specs/_sources/ 空目录 ✅
docs/checklist/build-readiness.md 人工质检清单 ✅
scripts/check-build-ready.sh 机器自检 ✅
README ✅
spec 文档 ✅
.dev-flow/states/<feature>.json feature 级状态 ✅(首次写)
Auto Cascade 0 移交 spec:intake ✅(编排)
feature 分支 ✅
编排 step 开发/集成 ✅(编排)
触发 CI ✅(编排) ✅

2. 触发条件

  • 当前项目文件夹为空(无文件或仅有 .DS_Store 等无关文件)→ 触发整骨架 init。
  • 用户明确指定创建子模块 → 触发增量模块生成(merge.py --add-module <name>,只生成模块级文件 + 根 pom <modules> 追加,不覆盖根级文件/状态/git)。
  • 介于之间、判断不确定 → 先提一句问用户"是否需要初始化骨架 / 新增子模块?",不要擅自生成。

3. 核心变量体系

真正独立的输入只有三个,其余派生或固定:

变量 含义 来源优先级 固定?
project.name 最外层文件夹名 = 父 POM artifactId spec > dir_name > prompt > default 否
project.groupId 父=子共用 groupId(默认 com.own.{short}) spec > prompt > default 否
core.module.name 核心模块文件夹名 = 子 artifactId = finalName spec > prompt > default({project.name}-server) 否
version — — 固定 1.0.0-SNAPSHOT
packaging.parent — — 固定 pom
packaging.module — — 固定 jar
branch.production 生产分支 spec > prompt > default 否(默认 master)
branch.test 测试分支 spec > prompt > default 否(默认 test)
developers {key: {name}} 至少一个 spec > git config > prompt 否

Read the full file on GitHub · 353 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +28 lines 11eca6ba153b
  2. 1mo ago First seen · 325 lines · 0 tokens per session scan A 80094f1d0755

Subscribe to this mod's changes

project-init is a skill published in the GitHub repository linshidream/skill-hub (20 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 10,422 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens

java-coding-standards

Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.

hashgraph-online/awesome-codex-plugins · 35 tokens