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.
npx skills add linshidream/skill-hub --skill project-initgit clone --depth 1 https://github.com/linshidream/skill-hubWrote 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.
[](https://agentmods.dev/skills/linshidream/skill-hub/project-init)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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)。 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 | 否 |
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.
- adapters/claude-code.md 1.9 KB
- lib/merge.py 52 KB runs code
- mixins/fastjson2-hutool/manifest.yml 969 B
- mixins/frontend-common/.gitignore 463 B
- mixins/frontend-common/.npmrc 16 B
- mixins/frontend-common/docs/frontend-spec.md 5.4 KB
- mixins/frontend-common/eslint.config.js 4.3 KB runs code
- mixins/frontend-common/manifest.yml 4.4 KB
- mixins/frontend-common/package.json.tmpl 306 B
- mixins/frontend-common/postcss.config.js 220 B runs code
- mixins/frontend-common/prettier.config.js 220 B runs code
- mixins/frontend-common/README.md.tmpl 2.0 KB
- mixins/frontend-common/scripts/check-spec-sync.js 2.1 KB runs code
- mixins/frontend-common/src/api/.gitkeep 0 B
- mixins/frontend-common/src/assets/.gitkeep 0 B
- mixins/frontend-common/src/components/business/.gitkeep 0 B
- mixins/frontend-common/src/components/platform/.gitkeep 0 B
- mixins/frontend-common/src/constants/index.ts 499 B runs code
- mixins/frontend-common/src/design-token.ts 885 B runs code
- mixins/frontend-common/src/hooks/business/.gitkeep 0 B
- mixins/frontend-common/src/hooks/platform/.gitkeep 0 B
- mixins/frontend-common/src/pages/common/.gitkeep 0 B
- mixins/frontend-common/src/pages/platform/.gitkeep 0 B
- mixins/frontend-common/src/service/README.md 347 B
- mixins/frontend-common/src/types/.gitkeep 0 B
- mixins/frontend-common/src/utils/.gitkeep 0 B
- mixins/frontend-common/tailwind.preset.ts 665 B runs code
- mixins/frontend-common/tsconfig.json 698 B
- mixins/java-maven-base/.gitignore.tmpl 131 B
- mixins/java-maven-base/application-local.yml.tmpl 117 B
- mixins/java-maven-base/application-prod.yml.tmpl 259 B
- mixins/java-maven-base/application-test.yml.tmpl 116 B
- mixins/java-maven-base/Application.java.tmpl 302 B
- mixins/java-maven-base/application.yml 393 B
- mixins/java-maven-base/ApplicationTests.java.tmpl 204 B
- mixins/java-maven-base/docs/api/README.md.tmpl 358 B
- mixins/java-maven-base/docs/specs/_sources/.gitkeep 0 B
- mixins/java-maven-base/docs/specs/.gitkeep 0 B
- mixins/java-maven-base/docs/sql/README.md.tmpl 87 B
- mixins/java-maven-base/HealthChecker.java.tmpl 1.4 KB
- mixins/java-maven-base/logback-spring.xml 2.1 KB
- mixins/java-maven-base/manifest.yml 2.7 KB
- mixins/java-maven-base/pom-parent.xml.tmpl 813 B
- mixins/java-maven-base/pom-server.xml.tmpl 1.1 KB
- mixins/java-maven-base/project-vars.yml 2.2 KB
- mixins/java-maven-base/README.md.tmpl 1.5 KB
- mixins/java-maven-base/scripts/README.md.tmpl 4.1 KB
- mixins/jenkins-docker-ci/files/build.sh.tmpl 1.6 KB
- mixins/jenkins-docker-ci/files/Dockerfile.tmpl 762 B
- mixins/jenkins-docker-ci/files/docs/checklist/build-readiness.md.tmpl 3.3 KB
- mixins/jenkins-docker-ci/files/Jenkinsfile.tmpl 4.1 KB
- mixins/jenkins-docker-ci/files/rollback.sh.tmpl 4.2 KB
- mixins/jenkins-docker-ci/files/run.sh.tmpl 4.1 KB
- mixins/jenkins-docker-ci/files/scripts/check-build-ready.sh.tmpl 4.7 KB
- mixins/jenkins-docker-ci/files/scripts/compress-old-logs.sh.tmpl 646 B
- mixins/jenkins-docker-ci/files/scripts/docker-images-offline.sh.tmpl 10.0 KB
- mixins/jenkins-docker-ci/files/scripts/push-remote.sh.tmpl 2.3 KB
- mixins/jenkins-docker-ci/manifest.yml 2.5 KB
- mixins/jenkins-frontend-ci/files/build.sh.tmpl 1.0 KB
- mixins/jenkins-frontend-ci/files/docs/checklist/build-readiness.md.tmpl 2.1 KB
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.
- 1mo ago Changed · +28 lines 11eca6ba153b
- 1mo ago First seen · 325 lines · 0 tokens per session scan A 80094f1d0755
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.
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.
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.
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.
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.
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.
java-coding-standards
Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.