Dev Init logo

Dev Init

Organization
devcodex-labs
dev-init

项目初始化子类型规范 — 新项目/模块脚手架 + Profile 自动生成

Overview

Publisherdevcodex-labs
Repositorydevcodex
Skill namedev-init
Stars
433
Forks
44
Bundled files
1
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by devcodex-labs on GitHub. Read the source before you install it.

Installation

Install the Dev Init AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-init
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/devcodex-labs/devcodex.git /tmp/devcodex
mkdir -p .claude/skills
cp -r /tmp/devcodex/content/skills/dev-init .claude/skills/dev-init
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dev Init in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dev Init on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dev Init is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Dev Init Skill

触发条件

用户要求初始化新项目、新模块、新仓库,典型场景:从零搭建项目脚手架、初始化 monorepo 子包、创建新服务模板。

执行流程

步骤动作
1收集项目信息:名称/技术栈/包管理器/团队规范
2CP1:确认技术栈选型和目录结构
3CP2:确认依赖清单和配置文件方案
4生成脚手架:目录结构 + 配置文件 + 基础文件
5自动生成 Profile:由 workspace layout 解析的 <active-profile-dir>
6初始化 Git + CHANGELOG + README(README 默认通过 readme-authoring 生成)

Profile 自动生成

init 完成后必须执行 ProfileGenerationContractGate,先运行 devcodex profile plan,再按确认档位运行 devcodex profile init --tier <tier>:

档位默认生成
profile-liteREADME、01~03、config.json
profile-standardlite + 04、05、06-功能清单.md
profile-closed-loopstandard + 07-用户文档与契约规范.md

公开包、CLI、SDK、多模块、文档站或 public API 项目应根据证据选择 standard/closed-loop。新生成的 06-功能清单.md 使用 FeatureInventorySchemaV2,分离生命周期与证据状态/日期/引用,并兼容读取 V1;事实不明确时保留 unverified,不得编造。已有 Profile 升级只补缺失文件;降档必须显式 --allow-downgrade 并保留高档文件,执行 ProfileTierMigrationSafetyGate。

关键规则

  • Gray Skill 不默认部署:portfolio 中 lifecycleState=gray 的 Skill 为可选/试验能力,init / 宿主分发默认不安装到部署副本;仅 active Skill 进入默认分发(见 skill-lifecycle-governance)
  • 跳过 CP3(init 无需实施计划阶段);同时豁免 dev-plan-review(CP3 已跳过,质量门禁不适用);必须记录 CP3: N/A(init 子类型豁免),供 hook/fallback 区分合法豁免与漏确认
  • 生成的 .gitignore 必须覆盖当前 layout 对应的 <active-root>/.memory/;legacy 单项目模式才使用 .devcodex/.memory/
  • 依赖选型遵循项目 profile 中的技术栈约束(若已有 profile)
  • 初始化 README 时默认先写给真实使用者;开发/贡献信息后置,后续专项复审走 audit-readme
  • Node.js 项目默认生成 engines.node >=18,并同步 README、Profile 与 CI matrix;低于 v18 必须在 CP2 写明业务理由、风险和验证证据
  • 包 / 库 / adapter / CLI 初始化必须同时生成或确认代码实现层与包工程层入口:public API、public types、internal 工具、shared tests、benchmark(如适用)、docs、scripts、dist/coverage 边界、package metadata 与 changelogs/unreleased.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Dev Init AI skill do?

项目初始化子类型规范 — 新项目/模块脚手架 + Profile 自动生成

Why use Dev Init on TypingMind?

Because you install it once and use it with any model. Dev Init is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dev Init in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-init. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Dev Init?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dev Init?

As many as you like. As long as a model supports skills, you can use Dev Init with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dev Init AI skill free?

Yes. It is published on GitHub by devcodex-labs under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇