Skip to content

feat: add modular Gemini CLI extension support with on-demand skill loading#40

Open
gladkia wants to merge 2 commits into
WordPress:trunkfrom
gladkia:add/gemini-build-workflow
Open

feat: add modular Gemini CLI extension support with on-demand skill loading#40
gladkia wants to merge 2 commits into
WordPress:trunkfrom
gladkia:add/gemini-build-workflow

Conversation

@gladkia

@gladkia gladkia commented Apr 14, 2026

Copy link
Copy Markdown

This PR refactors the Gemini CLI support to align with its native modular skill system. Instead of aggregating all instructions into a single large file, the build process now generates a standard
Gemini CLI extension that supports on-demand skill activation.

Key Changes:

  • Modular Build Process: Each skill is isolated in its own directory with its original YAML frontmatter preserved. References (Markdown/JSON) and scripts are bundled per skill.
  • Improved Installation: The global installation path follows standard extension practices (~/.gemini/extensions/wordpress-agent-skills/).
  • Context Optimization: Skills are loaded individually by the agent, reducing context usage and improving accuracy.
  • Documentation: Updated packaging.md with new build and installation instructions.

@github-actions

Copy link
Copy Markdown
Contributor

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @gladkia.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: gladkia.


To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

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