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.
mdr add auyecoding/radish-plugins/repo-init@git:20260923.76fcb1ePins 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
mdr add auyecoding/radish-plugins/repo-init@sha256:dc87c6f015d097f7The 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.
[](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.
Audit of the latest version
- 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
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
Every file in auyecoding/radish-plugins