Install
openclaw skills install open-source-project-polishTurn a project folder into a polished open source project. Use when: open source ready, polish README, default MIT license, add LICENSE/CONTRIBUTING/CODE_OF_CONDUCT/CHANGELOG, automatically create public GitHub remote for projects without git remote, prepare repository for public release. Only add or modify project metadata/docs, never change source code.
openclaw skills install open-source-project-polishTransform an existing project folder into a high-quality open source repository by improving public-facing documentation, community files, repository metadata, and Git/GitHub setup while preserving the original source code.
.gitignore, .gitattributes, .editorconfig, and GitHub workflow/docs scaffolding./home/<user>/..., /Users/<user>/..., drive-letter paths, personal workspace names, download folders, or machine-specific absolute project paths. Use relative paths, $HOME, <repo>, or placeholders instead.Ask only for information that materially affects irreversible or public-facing actions:
.git exists and whether any remote is configured..env, credentials, tokens, large binaries, datasets, private notes, local logs, and machine-specific paths.Create a concise plan covering only allowed documentation and metadata work:
create-readme skill as the basis for structure, tone, and GitHub-flavored Markdown..gitignore, .gitattributes, .editorconfig, docs index, examples index, badges, project description, topics, funding/sponsor metadata if relevant.Use the create-readme skill for README creation or refresh. Ensure the README is concise, attractive, and useful:
./script.sh, $HOME/..., /path/to/..., or <repo>/... examples.Add or update files only when they help the project appear complete and trustworthy:
LICENSE: use existing license if present; otherwise add MIT by default with the detected current year and owner/project name where appropriate.CONTRIBUTING.md: development setup, branch/commit conventions if inferable, test expectations, issue/PR process.CODE_OF_CONDUCT.md: use a standard concise contributor covenant style unless user has another policy.SECURITY.md: supported versions, responsible disclosure channel placeholder, vulnerability reporting expectations.CHANGELOG.md: initialize with Unreleased and current public baseline; do not invent release history.SUPPORT.md: where to ask questions, report bugs, and request features..github/ISSUE_TEMPLATE/* and .github/PULL_REQUEST_TEMPLATE.md: practical forms/checklists tailored to the project.CITATION.cff only for research/academic/scientific projects or when authorship metadata is available..gitignore based on detected languages/tools without excluding files that are likely source artifacts..gitattributes for text normalization and common binary patterns when useful..editorconfig with conservative whitespace defaults matching the repo style.For folders without Git:
For Git repositories without a remote:
gh authentication and the repo name from the folder when possible; ask only if ambiguous.gh authentication before creating a remote.origin, set the default branch, and push after reviewing staged changes and confirming no secrets are included.Recommended GitHub CLI flow, adapted to the project:
git status --short
git remote -v
gh auth status
gh repo create OWNER/REPO --public --source=. --remote=origin --push
If network commands fail, retry once with:
export {HTTP_PROXY,HTTPS_PROXY,ALL_PROXY,http_proxy,https_proxy,all_proxy}=http://127.0.0.1:7890
Before finalizing:
/home/, /Users/, drive-letter paths, personal workspace names, and absolute paths copied from the current environment.git diff --stat and summarize changed files.gh CLI or not authenticated: provide exact commands for the user to run, but still complete local docs polish and prepare a documentation-only commit if safe.End with: