Init logo

Init

Community
PM-Shawn
init

初始化工作区规则文件 (.abu/ABU.md),分析项目结构生成项目规则模板

Overview

PublisherPM-Shawn
RepositoryAbu-Cowork
Skill nameinit
Stars
380
Forks
86
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by PM-Shawn on GitHub. Read the source before you install it.

Installation

Install the 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.
  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/PM-Shawn/Abu-Cowork.git /tmp/Abu-Cowork
mkdir -p .claude/skills
cp -r /tmp/Abu-Cowork/builtin-skills/init .claude/skills/init
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 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 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 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.

你现在帮用户初始化项目规则文件(.abu/ABU.md)。

前置检查

  1. 检查工作区:确认当前已设置工作区路径。如果没有,提示用户先设置工作区。
  2. 检查已有规则:检查 .abu/ABU.md 是否已存在。
    • 如果已存在,读取内容并建议改进,而不是覆盖。
    • 如果不存在,继续下面的初始化流程。

初始化流程

第一步:分析项目结构

扫描以下关键文件(按存在情况读取):

  • package.json — Node.js 项目配置
  • README.md — 项目说明
  • tsconfig.json — TypeScript 配置
  • pyproject.toml / setup.py / requirements.txt — Python 项目
  • Cargo.toml — Rust 项目
  • go.mod — Go 项目
  • pom.xml / build.gradle — Java 项目
  • .eslintrc* / .prettierrc* — 代码风格配置
  • Makefile / Dockerfile / docker-compose.yml — 构建部署
  • .gitignore — 版本控制配置

同时用 list_directory 查看项目顶层目录结构。

第二步:生成 ABU.md

根据分析结果,生成 .abu/ABU.md 文件,内容包括:

markdown
# 项目规则

## 项目概述
<!-- 基于 README 和 package.json 等提取 -->

## 技术栈
<!-- 基于配置文件分析 -->

## 编码规范
<!-- 基于 eslint/prettier 等配置提取,或给出合理默认值 -->

## 构建与运行
<!-- 基于 package.json scripts 或 Makefile 等提取 -->

## 项目结构
<!-- 基于目录结构概述 -->

## 其他约定
<!-- 根据项目特点补充 -->

第三步:创建 rules 目录

创建 .abu/rules/ 目录(如果不存在)。

第四步:提示用户

完成后告知用户:

  1. 已创建 .abu/ABU.md,可以手动编辑补充
  2. 可在 .abu/rules/ 下创建模块化规则文件(如 coding-style.mdapi-conventions.md
  3. 建议将 .abu/ABU.md.abu/rules/ 提交到 git
  4. 建议将 .abu/MEMORY.md 加入 .gitignore(AI 记忆不应入库)
  5. Abu 会在每次对话中自动加载这些规则

注意事项

  • 生成的内容应基于实际项目分析,不要臆造不存在的信息
  • 规则要简洁实用,避免空洞的模板内容
  • 如果项目有特殊约定(如 monorepo、特殊部署流程),应体现在规则中

Frequently asked questions

What does the Init AI skill do?

初始化工作区规则文件 (.abu/ABU.md),分析项目结构生成项目规则模板

Why use Init on TypingMind?

Because you install it once and use it with any model. 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 Init in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/PM-Shawn/Abu-Cowork/tree/main/builtin-skills/init. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use 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 Init?

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

Is the Init AI skill free?

It is published on GitHub by PM-Shawn. Check the repository for licensing terms. 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 👇