project-init SKILL.md skillA

project-init from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cat-xierluo/legal-skills/project-init@v1.2.6

Pins v1.2.6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cat-xierluo/legal-skills
Path
skills/project-init/SKILL.md
Versions recorded
5
Latest version
v1.2.6, committed Sep 29, 2026
First version recorded
Jun 14, 2026
Size
7,330 bytes
Repository stars
775
License
none declared

项目初始化工具。读取全局协议 ~/.claude/CLAUDE.md,分析项目实际情况,生成项目特定的 CLAUDE.md 和 docs/ 上下文。本技能应在用户说"初始化项目"、"项目设置"、"配置 Claude Code"、"新建项目配置"时使用,或在进入一个新项目需要快速配置时使用。不要用于:Skill 内容开发或验收(用 skill-lint)、单次 Skill 安装(用 skill-manager)、代码生成。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Project Init

读取全局协议,分析项目,生成上下文。

## 工作流程

### Step 1: 读取全局协议

读取 `~/.claude/CLAUDE.md`(及其 `@include` 引用的文件),理解全局协作协议。这是生成项目上下文的基准——项目文档的格式和结构应对齐全局协议中的定义(如文档体系、SOP、DECISIONS 格式等)。

### Step 2: 读取配置

读取本 skill 目录下的 `config/profiles.yaml`,获取:
- `skill_sources`: Skill 源仓库路径
- `profiles`: 各项目类型的检测规则和 Skill 列表

### Step 3: 检测项目类型

1. 调用 `scripts/init.sh detect <project_dir>` 获取指示文件列表。
2. 按配置中 profiles 的定义顺序评估 `detect` 规则:
   - `any_of`: 任一文件存在即匹配
   - `has_skill_md`: 根目录或 `skills/` 子目录下存在 SKILL.md
   - `extensions`: 指定扩展名文件数 >= `min_count`
   - `dir_patterns`: 任一目录名存在即匹配
3. 第一个命中的 profile 即为检测结果。未命中则使用 `default_profile`。

### Step 4: 分析项目

**在生成任何文件之前,先分析项目实际情况:**

- 读取 `package.json` / `pyproject.toml` / `Cargo.toml` 等获取技术栈
- 扫描目录结构了解项目架构(`src/`、`app/`、`lib/` 等)
- 读取已有的 README.md 或代码了解项目用途
- 检查是否已有 `.claude/`、`CLAUDE.md`、`docs/` 等

将这些信息汇总,作为后续生成上下文的素材。

### Step 5: 展示计划并确认

向用户展示检测结果和生成计划,**必须等待确认**。若计划使用文件化任务源,同时说明:

- 任务文件的名称与位置;
- 根据风险与复杂度选择的 `Lite`、`Standard` 或 `Strict` 配置及理由;
- 将写入的首批真实任务,以及已有任务文件的合并或跳过策略。

### Step 6: 创建 .claude/ 和安装 Skill

```bash
mkdir -p .claude/skills/
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cat-xierluo/legal-skills/project-init@sha256:735209aeff9e4359

The line at the top of this page pins the label v1.2.6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_i7k4cym44wkmttjy.svg)](https://markdownregistry.com/a/art_i7k4cym44wkmttjy)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 14, 2026 and Sep 29, 2026, about one every 27 days.

versioncommittedcommitsizeaudit
v1.2.6 latest2026-09-29 bca18fa 7,330 BA view · diff
v1.2.52026-09-23 c76f33f 6,934 BA view · diff
v1.2.42026-07-30 a92f5a4 6,934 BA view · diff
v1.2.12026-07-30 d34beee 6,640 BA view · diff
git:20260614.8593e212026-06-14 8593e21 5,171 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7330 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_i7k4cym44wkmttjy
GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/project-init
GET https://markdownregistry.com/api/v1/blob/735209aeff9e435971b63eab92c146ed45020b800a05981d4ccd50c9bde1b489

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cat-xierluo/legal-skills

AGENTS.md AGENTS.md file
cat-xierluo/legal-skills · AGENTS.md
git:20261016.c4c878c · audit A · 775 stars
CLAUDE.md CLAUDE.md file
cat-xierluo/legal-skills · CLAUDE.md
git:20261016.280e2bf · audit B · 775 stars
agent-email SKILL.md skill
cat-xierluo/legal-skills · skills/agent-email/SKILL.md · Agent 专用邮箱统一管理:让 Claude Code、Codex 等平台的 Agent 用一套命令收发邮件、整理收件箱、分发任务。支持网易 ClawEmail(claw.163.com)和腾讯 Agent Mail(QQ…
v0.4.1 · audit C · 775 stars
apple-smart-schedule SKILL.md skill
cat-xierluo/legal-skills · skills/apple-smart-schedule/SKILL.md · 把一句自然语言(机票/高铁/开庭/会议/截止日期/聚会/看病等)或一张票据截图,自动变成苹果「日历」事件 + 一串按事件类型智能提前的「提醒事项」。在 macOS 上运行、经 iCloud 同步到…
v0.2.0 · audit A · 775 stars
article2book SKILL.md skill
cat-xierluo/legal-skills · skills/article2book/SKILL.md · 基于现有文章、专栏、课程讲稿、逐字稿、访谈、课件、会议纪要、案例材料、PDF 文本、Word 文档和笔记等内容资产,判断它们最适合转化为书、小册子、课程、系列文章、实务手册或知识库,并输出精简策划意见;用户提到“把现有内容整理成书”“判断素…
v1.0.0 · audit A · 775 stars
case-dashboard SKILL.md skill
cat-xierluo/legal-skills · skills/case-dashboard/SKILL.md · 律师案件看板。本地零依赖看板服务(案件总览、任务三态看板、期限预警、进度写回)+周研判分析。当用户说"打开看板/dashboard/案件面板/看下案件进度/给我案件周报研判"时使用。案件状态写入与上下文管理用…
v0.1.0 · audit A · 775 stars
case-progress SKILL.md skill
cat-xierluo/legal-skills · skills/case-progress/SKILL.md · 案件进度与状态台账管理。案件 case.yaml 的唯一写入引擎(新增任务、推进任务、登记期限、更新案件阶段、校验、存量迁移),Agent 会话的进度加载与写回契约,以及案件进度监控对账。当用户或 Agent…
v0.9.0 · audit A · 775 stars
code2patent SKILL.md skill
cat-xierluo/legal-skills · skills/code2patent/SKILL.md · 从已开发代码项目中提取技术实现证据,围绕候选专利方案生成算法/软件类说明书式技术交底书,并以“权利要求布局卡 → 发明专利初稿”两步法继续生成接近可申报版的中国发明专利起草材料。触发场景包括:读取代码仓库后撰写技术交底书、将人工总结的专利方…
v1.6.0 · audit A · 775 stars
contract-copilot SKILL.md skill
cat-xierluo/legal-skills · skills/contract-copilot/SKILL.md · 合同起草与审查助手。基于分层分析与四步流程,输出可执行的风险清单、起草骨架、修改建议、推荐措辞和审查意见书,支持批注与修订两种文档处理方式。用户通过飞书或其他 IM 对话发送合同文件并要求审查或起草时,也应使用本…
v1.6.3 · audit A · 775 stars
course-generator SKILL.md skill
cat-xierluo/legal-skills · skills/course-generator/SKILL.md · 将课程转录稿、逐字稿、讲稿或文献整理为可独立阅读的 Markdown 课程,并通过来源索引、素材账本和确定性验收保留关键案例、操作步骤与专业判断。用户要求从一份或多份现有文本生成课程总览、章节或完整课程时使用。
v2.10.2 · audit A · 775 stars
court-sms SKILL.md skill
cat-xierluo/legal-skills · skills/court-sms/SKILL.md · 本技能应在用户收到法院短信(文书送达、立案通知、开庭提醒等)时使用,自动提取案号、当事人、下载链接,下载文书并归档到对应案件目录。会落盘敏感诉讼数据到本地,请确认目标位置私密。
v1.5.4 · audit A · 775 stars
cross-agent-coordination SKILL.md skill
cat-xierluo/legal-skills · skills/cross-agent-coordination/SKILL.md · 跨平台 Agent 任务协调枢纽。本技能应在多个不同平台的 Agent 需要围绕项目任务源分配任务、标记归属、能力路由和交接上下文时使用。不要用于单一平台内的本地并行执行,或 Git 分支、提交、PR、merge 安全规则。
v1.0.0 · audit A · 775 stars

Every file in cat-xierluo/legal-skills

Other files named project-init

project-init SKILL.md skill
aerovato/operator-memory · packages/claude-code/skills/project-init/SKILL.md · Initialize and configure the Operator Project Brain.
git:20261003.aa81d54 · audit A · 486 stars
project-init SKILL.md skill
athola/claude-night-market · plugins/attune/skills/project-init/SKILL.md · Scaffolds new projects with git, CI/CD workflows, pre-commit hooks, and build config. Use when starting a new Python…
git:20261005.66e7f08 · audit A · 343 stars
project-init SKILL.md skill
blackbelttechnology/pi-agent-dashboard · packages/extension/.pi/skills/project-init/SKILL.md · Scaffold an unconfigured directory into a configured pi project. Interactive, profile-driven: previews the planned…
v1.0 · audit A · 339 stars
project-init SKILL.md skill
claude-world/director-mode-lite · skills/project-init/SKILL.md · Set up concise, guidance-first Claude/Codex/Grok project context after inspecting the repository. Use on first setup…
git:20260726.87fe1ac · audit A · 80 stars
project-init SKILL.md skill
peter-tu-zynkr/zynkr-skill-builder · skills/3-operations/project-init/SKILL.md · Stands up a new project from the PMO template set — resolves the filing home from the engagement type, copies the five…
git:20260918.2429d96 · audit A · 22 stars
project-init SKILL.md skill
cooneycw/claude-power-pack · codex/skills/project-init/SKILL.md · Full project scaffolding orchestrator - zero to GitHub repo in one command
git:20261023.652c011 · audit A · 21 stars
project-init SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/project-init/SKILL.md · [治理] 在 01_PROJECTS 下新建项目时使用。触发条件:用户要求新建/导入项目。v1 六步流程的极简版。
git:20261008.e5b1ec6 · audit A · 4 stars
project-init SKILL.md skill
mattbrailsford/umbraco-devkit · plugins/umbraco-devkit/skills/project-init/SKILL.md · Setup wizard for an Umbraco package or project. Checks each piece the pipeline relies on (solution, CLAUDE.md…
git:20261016.a78a902 · audit A · 3 stars

Browse by kind, by grade A, or by owner.