2.0 KiB
2.0 KiB
OSS Promoter Skill
Batch promote open source projects to tech weeklies and communities.
What this skill does
- Search for weeklies: Use WebSearch to find new tech weeklies that accept submissions
- Extract project info: Use
ghto get repo description, README, stars, etc. - Generate submissions: Create tailored issue content for each weekly
- Batch submit: Use
gh issue createorgh issue commentto submit
Usage
When the user wants to promote an open source project:
- First, ask for the GitHub repo URL if not provided
- Load the weeklies config from
${CLAUDE_PLUGIN_ROOT}/config/weeklies.json - Use
gh repo view <repo> --json name,description,url,stargazerCount,readmeto get project info - For each enabled weekly in the config:
- Generate title using the
title_template - Generate body using the project info
- If
typeis "issue": usegh issue create --repo <weekly_repo> --title "<title>" --body "<body>" - If
typeis "comment": usegh issue comment <issue_number> --repo <weekly_repo> --body "<body>"
- Generate title using the
- Track submissions and report results
Commands
/oss-promoter:promote <repo-url>- Promote a project to all enabled weeklies/oss-promoter:search- Search for new weeklies to add to config/oss-promoter:list- List all configured weeklies and their status
Submission Template
For Chinese weeklies, use this template:
## 项目介绍
[{name}]({url}) - {description}
## 核心功能
{features_from_readme}
## 使用示例
{usage_example}
## 链接
- GitHub: {url}
- Stars: {stars}
Tools Available
WebSearch- Search for new weekliesBashwithgh- GitHub CLI for repo info and issue creationRead- Read config files
Important Notes
- Always check if an issue already exists before creating a new one
- Respect rate limits - add delays between submissions if needed
- Some weeklies require specific formats - check their README first
- Set
enabled: falsefor weeklies that are language/topic specific and don't match the project