Skip to content

feat: migrate MCP prompts and tools into Agent Skills - #129

Merged
helloeve merged 26 commits into
mainfrom
skill-prototype
May 22, 2026
Merged

feat: migrate MCP prompts and tools into Agent Skills#129
helloeve merged 26 commits into
mainfrom
skill-prototype

Conversation

@helloeve

@helloeve helloeve commented May 20, 2026

Copy link
Copy Markdown
Collaborator

This PR introduces the following changes

  • A dedicated basic skill containing knowledges and best practices for authoring different types of context
  • Migrating /generate_targeted_xxx to be powered by the newly introduced skill
  • Removal of MCP tools and prompts used for generating targeted context
  • Removal of Gemini dependency within MCP Tool
  • Removal of GEMINI_API_KEY in extension setting
  • A new evaluation dataset to measure the quality of freeform user input
  • CI/CD changes to run core-cuj and freeform evaluation in parallel

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a major refactoring of the context generation logic, transitioning from specialized generation tools to a unified context-generation-guide skill. This change affects the bootstrap and hill-climb workflows, which now leverage this guide for phrase extraction and parameterization. Additionally, the PR includes a comprehensive set of reference documentation for different SQL dialects (PostgreSQL, MySQL, GoogleSQL) and removes several legacy generation tools and prompts. Feedback focuses on addressing a missing documentation section in the new skill guide and correcting a placeholder inconsistency in the GoogleSQL value search reference to align with the repository style guide.

Comment thread skills/context-generation-guide/SKILL.md Outdated
Comment thread skills/context-generation-guide/references/value_search/googlesql.md Outdated
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

1 similar comment
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve helloeve changed the title [DO NOT MERGE] evaluate revised skills feat: migrate MCP prompts and tools into Agent Skills May 20, 2026
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

Comment thread skills/context-generation-guide/references/facet/postgresql.md Outdated
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

Comment thread .ci/cloudbuild.yaml Outdated
Comment thread .ci/cloudbuild.yaml Outdated
Comment thread .ci/cloudbuild.yaml
Comment thread .ci/run_eval.sh Outdated
Comment thread evals/freeform-input/workspace_bulk_edit_from_guidance/context_set.json Outdated
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

Comment thread evals/freeform-input/dataset.json
Comment thread evals/freeform-input/dataset.json
Comment thread evals/freeform-input/dataset.json Outdated
Comment thread evals/freeform-input/dataset.json
Comment thread evals/freeform-input/model.yaml
Comment thread skills/context-generation-guide/references/template/googlesql.md
Comment thread skills/context-generation-guide/SKILL.md Outdated
Comment thread skills/autoctx-bootstrap/SKILL.md
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

Comment thread evals/freeform-input/dataset.json
Comment thread evals/freeform-input/dataset.json
Comment thread evals/freeform-input/dataset.json Outdated
@helloeve

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@helloeve
helloeve merged commit bd8ff60 into main May 22, 2026
9 checks passed
wangauone added a commit that referenced this pull request Jun 3, 2026
…ills (#142)

## Summary

Removes the legacy `/autoctx:*` and `/generate_targeted_*` slash command
definitions now that the same workflows are exposed as Agent Skills
(migration landed in #129). Updates all docs that still referenced the
slash-command syntax.

> **Breaking change for Gemini CLI users on v0.5.1.** The `.toml`
> slash commands (`/autoctx:init`, `/autoctx:bootstrap`, etc.) shipped
> in v0.5.1 and are removed here. After the next release lands, users
> must activate the equivalent skill instead — invoke `autoctx-init`
> by name, or ask the agent in natural language (e.g. "initialize
> autoctx for my database").
>
> The Claude Code `.md` slash commands were added post-v0.5.1 (in #136)
> and never appeared in a release, so removing them is internal cleanup.

## Changes

- Delete `plugin/commands/` (18 `.md`/`.toml` files covering autoctx,
  generate_targeted_*, and setup-database-connection).
- Drop the `cp -r plugin/commands/ staging/commands/` step from
  `.github/workflows/release.yml` — there's no `commands/` directory
  to bundle anymore.
- Update `README.md`, `plugin/GEMINI.md`, and
  `plugin/skills/autoctx-hillclimb/SKILL.md` to reference skill names
  (`autoctx-init`, `autoctx-bootstrap`, etc.) instead of slash
  commands (`/autoctx:init`, `/autoctx:bootstrap`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants