Skip to content

ci: auto-sync skills to duyet/skills on push to master#67

Open
duyet wants to merge 6 commits into
masterfrom
claude/eager-goldberg-fhHjL
Open

ci: auto-sync skills to duyet/skills on push to master#67
duyet wants to merge 6 commits into
masterfrom
claude/eager-goldberg-fhHjL

Conversation

@duyet
Copy link
Copy Markdown
Owner

@duyet duyet commented May 23, 2026

Summary

Adds .github/workflows/sync-skills.yml — when any skill-type plugin (or marketplace.json) changes on master, the workflow:

  1. Flattens <plugin>/skills/<skill>/ (or root SKILL.md for good-html) into <skill>/ layout
  2. Replaces the matching dirs in duyet/skills (so deletions propagate)
  3. Opens (or updates) a PR on duyet/skills titled Sync skills from codex-claude-plugins@<sha>

If there are no skill changes after flattening, exits cleanly without opening a PR.

Required secret

Before merging, create a fine-grained PAT in the repo settings:

  • Repo access: duyet/skills
  • Permissions: Contents: read & write, Pull requests: read & write

Store as SKILLS_SYNC_TOKEN under repo Secrets. The default GITHUB_TOKEN can't push to a different repo.

Allow-list

The plugins to sync are listed once at the top of the workflow as SOURCE_PLUGINS. Editing that line is the only step needed to add or remove a synced skill.

Companion PR on the target repo: duyet/skills#6 (initial bulk sync + adds the matching npx skills add CLI).

Test plan

  • Add SKILLS_SYNC_TOKEN to repo secrets
  • Merge this PR
  • Run via workflow_dispatch once — confirm it opens (or no-ops cleanly against) duyet/skills
  • Make a trivial change to a synced plugin's skills/.../SKILL.md on master and confirm a fresh PR opens on duyet/skills

Generated by Claude Code

Triggers on push to master when any skill-type plugin changes. Flattens
each plugin's skills/ subdir (or root SKILL.md for good-html) into the
flat layout that duyet/skills uses, opens a PR there with the diff.

Requires SKILLS_SYNC_TOKEN repo secret: a fine-grained PAT scoped to
duyet/skills with contents:write + pull-requests:write.
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @duyet, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 23, 2026

Warning

Review limit reached

@duyet, we couldn't start this review because you've used your available PR reviews for now.

Your plan currently allows 1 review/hour. Refill in 25 minutes and 56 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 942016e9-597c-433a-b463-dfea0b2d35d3

📥 Commits

Reviewing files that changed from the base of the PR and between cb8838e and 6291745.

📒 Files selected for processing (1)
  • .github/workflows/sync-skills.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/eager-goldberg-fhHjL

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Welcome! 👋

Thank you for your first contribution to this project! We appreciate you taking the time to improve our codebase.

Next Steps

  • A maintainer will review your PR shortly
  • Please check for any review comments and address them
  • Feel free to ask questions if anything is unclear

Contribution Guidelines

  • Ensure all tests pass
  • Update documentation if needed
  • Keep changes focused and atomic

Thanks again for contributing! 🎉

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

duyet added 5 commits May 23, 2026 19:10
- add --- document start
- disable truthy rule on `on:` (matches lint.yml convention)
- wrap long lines to fit 80-col default
The printf format string is deliberately single-quoted to keep \n and
backticks literal; the arguments do the interpolation.
Satisfies zizmor unpinned-uses (error) and artipacked (warning) audits
that super-linter runs against changed workflow files.
Prettier (default super-linter formatter) was rewriting quotes/spaces.
Quoted `on:` sidesteps the truthy/comment-spacing tug-of-war between
yamllint and prettier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant