repo-init SKILL.md skillA

repo-init from auyecoding/radish-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add auyecoding/radish-plugins/repo-init@git:20260923.76fcb1e

Pins git:20260923.76fcb1e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
auyecoding/radish-plugins
Path
plugins/waypoint/skills/repo-init/SKILL.md
Versions recorded
1
Latest version
git:20260923.76fcb1e, committed Sep 23, 2026
Size
4,466 bytes
Repository stars
4
License
MIT

为工作区初始化 Git 仓库: 盘点项目技术栈, 按最佳实践编写 .gitignore, .editorconfig 与 .gitattributes (统一 UTF-8, LF 换行, 空格缩进, 每条规则附中文注释), 执行 git init 并请用户确认将纳入版本控制的文件. Initializes a Git repository with best-practice, fully commented .gitignore, .editorconfig and .gitattributes files. 用户要求初始化 Git 仓库, 或为项目编写, 生成, 补全 .gitignore, .editorconfig, .gitattributes 时使用. 不用于克隆仓库, 配置远程或凭据, 以及修改已有的提交历史.

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

# 初始化 Git 仓库

先弄清工作区里有什么, 再按最佳实践编写三个规则文件, 最后初始化仓库并请用户确认哪些文件会纳入版本控制. 忽略规则一旦出错, 密钥, 本地配置或构建产物就可能进入提交历史, 清除代价很大, 所以每一步都以工作区的实际情况为依据.

本技能不暂存任何文件, 也不提交.

## 第一步: 盘点工作区

用 Glob, Grep 与 Read 收集以下信息, 盘点时跳过 `node_modules`, `.git` 等依赖与生成目录:

- **技术栈:** 清单文件 (如 `package.json`, `*.sln`, `*.csproj`, `*.vcxproj`, `CMakeLists.txt`, `pyproject.toml`, `requirements.txt`, `go.mod`, `Cargo.toml`, `pom.xml`, `build.gradle`) 与源文件扩展名分布.
- **IDE 与系统文件:** `.vs/`, `.vscode/`, `.idea/`, `*.user`, `.DS_Store`, `Thumbs.db` 等.
- **敏感文件:** `.env`, `.env.*`, `*.pem`, `*.key`, `*.pfx`, `id_rsa`, `credentials*` 等.
- **已有规则文件:** `.gitignore`, `.editorconfig`, `.gitattributes` 是否已存在.
- **现有代码风格:** 抽查有代表性的源文件, 记下缩进方式与宽度, 以及是否带 UTF-8 BOM. 检查 BOM 的命令:
  - Bash: `head -c 3 <文件> | od -An -tx1`, 输出 `ef bb bf` 表示带 BOM.
  - PowerShell 7: `Get-Content -AsByteStream -TotalCount 3 <文件>`, 输出 `239 187 191` 表示带 BOM.

## 第二步: 编写规则文件

按下列参考文件逐个生成. 参考文件没有覆盖的语言或工具, 先查该语言或工具的官方文档, 只写能核实的属性名和值, 不编造:

- `.gitignore`: 见 [gitignore.md](references/gitignore.md).
- `.editorconfig`: 见 [editorconfig.md](references/editorconfig.md).
- `.gitattributes`: 见 [gitattributes.md](references/gitattributes.md).
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add auyecoding/radish-plugins/repo-init@sha256:dc87c6f015d097f7

The line at the top of this page pins the label git:20260923.76fcb1e, 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_fm3hlfrjnedn5cvf.svg)](https://markdownregistry.com/a/art_fm3hlfrjnedn5cvf)

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

Versions

The registry has recorded 1 version of this file, committed on Sep 23, 2026.

versioncommittedcommitsizeaudit
git:20260923.76fcb1e latest2026-09-23 76fcb1e 4,466 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 (4466 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

auyecoding/radish-plugins · 4 stars · license MIT · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fm3hlfrjnedn5cvf
GET https://markdownregistry.com/api/v1/resolve?ref=auyecoding/radish-plugins/repo-init
GET https://markdownregistry.com/api/v1/blob/dc87c6f015d097f7a65fb70fe9c05c5f5dda0f1d5ab45a21566b1182fb175211

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 auyecoding/radish-plugins

CLAUDE.md CLAUDE.md file
auyecoding/radish-plugins · CLAUDE.md
git:20260923.1b02eb3 · audit A · 4 stars
analyze SKILL.md skill
auyecoding/radish-plugins · plugins/tracepoint/skills/analyze/SKILL.md · Reverse-engineering workflow discipline — use when analyzing a binary, executable, firmware, library, mobile app…
git:20261009.9da739b · audit A · 4 stars
protected-code SKILL.md skill
auyecoding/radish-plugins · plugins/tracepoint/skills/protected-code/SKILL.md · Methodology for analyzing protected or obfuscated compiled code — use when a target resists normal analysis: packers or…
git:20261009.9da739b · audit A · 4 stars
review SKILL.md skill
auyecoding/radish-plugins · plugins/tracepoint/skills/review/SKILL.md · Describe the problem just hit while using a TracePoint skill so the user can verify it, record it as a defect, then…
git:20261009.affea9a · audit A · 4 stars
commit-message SKILL.md skill
auyecoding/radish-plugins · plugins/waypoint/skills/commit-message/SKILL.md · 根据当前 Git 仓库的真实改动 (暂存区, 工作区与未跟踪文件) 生成符合 Conventional Commits 规范的简体中文提交消息, 并按用户意图提交或提交后推送. Drafts a Simplified Chinese…
git:20260923.2dd8522 · audit A · 4 stars
project-navigator SKILL.md skill
auyecoding/radish-plugins · plugins/waypoint/skills/project-navigator/SKILL.md · 大型项目的引导工作流. 从一句宏观需求开始, 经过问题域调研, 立项, 技术选型, 最小可运行骨架, 按纵向切片与里程逐步推进, 并处理中途的需求与方向变更. 本技能只做规划, 编排与验收, 实现交给用户另开的执行会话…
git:20261001.88c2f63 · audit A · 4 stars
review SKILL.md skill
auyecoding/radish-plugins · plugins/waypoint/skills/review/SKILL.md · Describe the problem just hit while using a WayPoint skill (commit-message, repo-init, project-navigator) so the user…
git:20261009.ce7234e · audit A · 4 stars

Every file in auyecoding/radish-plugins

Other files named repo-init

repo-init SKILL.md skill
aidotnet/nextcowork · resources/skills/repo-init/SKILL.md · Build or refresh a repository's agent knowledge base: the root AGENTS.md (constraints), a deep code map in…
git:20261014.e192a54 · audit A · 640 stars

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