← 返回 Skills 市场
hanjo92

lazyGithub Bootstrap

作者 Song Seung Hu · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
32
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install lazygithub-bootstrap
功能描述
Publish, bootstrap, or tidy a GitHub repository so the README and full GitHub About metadata stay in sync. Use when an agent is asked to create a new repo, p...
使用说明 (SKILL.md)

GitHub Repo Bootstrap

Create a repo with both code/docs and metadata, not just the remote shell.

Workflow

  1. Inspect local project files first.
    • Read README.md if present.
    • Read package metadata (package.json, pyproject.toml, etc.) if present.
    • Infer a short project summary and 3-5 relevant topics from the project itself.
  2. Ensure these fields are set:
    • repository name
    • visibility (public or private)
    • description
    • homepage if available
    • topics
  3. If information is missing, ask for only the missing decision that cannot be inferred safely.
  4. Create or update the repo with GitHub CLI.
    • Create: gh repo create ... --description ... [--homepage ...]
    • Topics: gh repo edit ... --add-topic ...
  5. Verify the result by reading back repo metadata with gh repo view --json name,description,homepageUrl,repositoryTopics,url or gh api.
  6. If verification shows zero topics, do not declare success. Infer better topics, update the repo, and verify again. Only stop if there is a real blocker you can name.

Rules

  • Treat GitHub About as the combination of:
    • description
    • homepage / website
    • topics
  • Do not stop after setting only description.
  • Topics are mandatory by default.
  • Prefer 3-5 concise lowercase topics.
  • Avoid generic filler topics like code, app, or project unless they are truly useful.
  • Keep the description to one sentence.
  • If README is missing, create a minimal one before publishing.
  • If the user says “fill the about section,” interpret that as description + homepage + topics.
  • Treat an empty repositoryTopics result during verification as a failed task state, not a soft warning.

Topic Heuristics

Derive topics from:

  • primary language or framework
  • deployment target or platform
  • project type (cli, library, automation, bot, tooling, etc.)
  • domain keywords from README

Good examples:

  • cli,github,automation
  • typescript,react,chrome-extension
  • python,fastapi,api

Commands

Create repo:

gh repo create \x3Cname> --public --description "\x3Csummary>"

Add homepage and topics:

gh repo edit \x3Cowner>/\x3Crepo> \
  --homepage "\x3Curl>" \
  --add-topic topic1 \
  --add-topic topic2 \
  --add-topic topic3

Verify:

gh repo view \x3Cowner>/\x3Crepo> --json name,description,homepageUrl,repositoryTopics,url

Verification passes only if repositoryTopics is non-empty.

Resources

  • Prompt templates: read references/prompt-templates.md when the user wants a reusable prompt for Codex, Claude, or another agent.
  • Wrapper script: use scripts/lazygithub.sh when a single command is faster than repeated manual gh commands.
安全使用建议
Install this if you want an agent to create or update GitHub repositories for you. Before running the wrapper, confirm the repo name, visibility, description, homepage, and topics, especially because the script defaults to public visibility and uses your existing GitHub CLI authentication.
能力评估
Purpose & Capability
The stated purpose is to create, publish, or tidy a GitHub repository and its About metadata; the instructions and wrapper script use GitHub CLI and git commands that match that purpose.
Instruction Scope
The skill is user-directed and tells the agent to inspect the local project, infer metadata, ask for missing decisions, and verify GitHub metadata. The optional script defaults to public repositories, so visibility should be checked before use.
Install Mechanism
The artifact contains one SKILL.md, one reference markdown file, and one small shell wrapper. There are no package installs, remote download chains, obfuscation, or automatic execution paths.
Credentials
It needs an authenticated gh session and can read local project files, create a README directory, initialize a git repo, create/edit a GitHub repo, and push. Those effects are proportionate to repository bootstrapping.
Persistence & Privilege
There is no hidden persistence or credential capture. The persistent effects are intentional GitHub changes and possible local git/README files created by the wrapper.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lazygithub-bootstrap
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lazygithub-bootstrap 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Polish public summary text and add clearer versioning guidance.
v0.1.0
Initial release: publish GitHub repos with README, description, homepage, and topics verified.
元数据
Slug lazygithub-bootstrap
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

lazyGithub Bootstrap 是什么?

Publish, bootstrap, or tidy a GitHub repository so the README and full GitHub About metadata stay in sync. Use when an agent is asked to create a new repo, p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 32 次。

如何安装 lazyGithub Bootstrap?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lazygithub-bootstrap」即可一键安装,无需额外配置。

lazyGithub Bootstrap 是免费的吗?

是的,lazyGithub Bootstrap 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

lazyGithub Bootstrap 支持哪些平台?

lazyGithub Bootstrap 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 lazyGithub Bootstrap?

由 Song Seung Hu(@hanjo92)开发并维护,当前版本 v0.1.1。

💬 留言讨论