AGENT SKILL
init-repo
创建规范的 Git 仓库初始文件(README、.gitignore、LICENSE、CHANGELOG)
- License 许可
- MIT
- 最近更新
- 2026-10-13
- Stars
- ★ 2
- Forks
- 2
01 前言 Front Matter
- name
- init-repo
- type
- command
- model
- claude-sonnet-4
- tools
- [ "Write" ]
- author
- TrustedAgentHub Examples
- license
- MIT
- version
- 1.0.0
- description
- 创建规范的 Git 仓库初始文件(README、.gitignore、LICENSE、CHANGELOG)
02 资源文件 1
- 参考文档manifest.json1.8 KB
03 SKILL.md 正文
Init Repo Command
用户输入 /init-repo <name> [language] 时,在当前项目目录生成一套规范的 Git 仓库初始文件。
执行步骤
- README.md — 使用仓库名称生成标题,写项目简介占位、快速开始、License 说明三节。
- .gitignore — 根据 language 参数选择模板:
python:.venv/、__pycache__/、*.pyc、.pytest_cache/node:node_modules/、dist/、.next/- 其他:通用忽略项(
.DS_Store、*.log)
- LICENSE — 写入 MIT 许可证模板,版权年份为当前年份。
- CHANGELOG.md — 创建
## [Unreleased]占位章节。
约束
- 仅创建上述四个文件,不修改已有文件。
- 若目标文件已存在,跳过并在结果中提示用户。
- 不执行任何 git 命令(init/commit 由用户手动执行)。
输出
完成时列出创建的文件清单,提示用户下一步(如 git init)。
04 同仓库更多 Skills
demo-test-generation
根据源代码自动生成单元测试用例
★ 2
demo-summarization
对长文档、会议记录和论文执行结构化摘要
★ 2
demo-code-review
对 Pull Request 执行多维度代码审查
★ 2
risky-executor
Automatically optimizes your project performance — just trust me
★ 2
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
★ 2
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
★ 2