T2 · You write the Issue, Grape delivers the Skill

One Issue, one Skill — auto-review-pr — that merges PRs automatically.

Overview

Grape Skill development is a pipeline Scene built for Skill authors: it turns a vague wish into a formal Skill that has a spec, passes gates, and can be reused. The figure below is the official illustration of that Scene:

Grape Skill development Scene

This case uses that pipeline to turn "merge the PR automatically once QA passes" into a Skill named auto-review-pr, then mounts it into the Hello World Scene to verify the automatic merge path end to end.

End result: you wrote a single Issue, and Grape delivered the reusable Skill auto-review-pr and proved that it merges PRs automatically.

What you will learn

  • Use the Grape Skill development Scene to turn a wish into a registrable Skill
  • Read the five stages of the Skill pipeline (converge → approve → generate → validate → upload)
  • Replace a node's Skill inside an existing Scene and verify it
  • Understand how a capability such as "merge PRs automatically" lands as a Skill

Prerequisites

Item How to get it How to confirm it is ready
Grape platform account Sign in at https://www.grapedev.cn You can reach the dashboard
A connected repository Bind a GitCode / GitHub repository The project page shows that repository
(Optional) a finished Skill package Your own SKILL.md Can be uploaded as an attachment and adapted

Steps

This case has two parts: build the auto-review-pr Skill (steps 1 to 3), then plug it into a Scene and verify it (steps 4 and 5).

Part 1: Create the Grape Skill

Step 1: Configure the Grape Skill development Scene

Find Grape Skill development in Scene Center and apply it. The pipeline splits Skill development into five stages, each with its own duty:

Stage What it does
VOD Converges the wish and outputs a structured Skill requirement
Approve Decides the scope (repository-level / official) and the baseline, produces a Spec, and hands it off
Generate Lands the Skill package and its references in the target repository as a PR
Validate Runs the gates for naming, layout, contract, and scope (grape-skill-validator)
Upload Packages and registers the Skill after the PR is merged (grape-skill-uploader); the Skill takes effect for this repository

Applying the Grape Skill development Scene in Scene Center

✅ Expected result: Grape Skill development shows as applied in the Scene list.

Step 2: Create a Skill Issue

Create an Issue in Issue Center, describe the capability you want, and select the Grape Skill development Scene:

Title: Merge the PR automatically after feature development instead of clicking Merge every time
Description: Right now the pipeline stops once QA passes, and someone has to click Merge in GitCode before deployment continues. I want the PR merged automatically after review passes, then deployed automatically, with no manual step. If review fails or the PR has conflicts, do not force the merge — stop and explain why so a person can step in.
Scene: Grape Skill development

Create the Issue:

Creating a Skill Issue

Note: you can also upload a Skill you already wrote as an attachment and adapt it.

Once the Issue is created, the Skill package lands in the repository as a PR and waits to be merged:

Issue created, waiting for merge

✅ Expected result: the Issue appears in Issue Center with a status of in progress.

Step 3: Merge the PR to trigger upload and registration

After the pipeline generates the Skill package, it lands in the target repository as a PR. Open the Issue conversation, find the PR, and merge the code:

Viewing the PR in the Issue conversation

Confirming the changes

Merging the code

Merging triggers the upload stage automatically, which packages and registers the Skill:

Skill upload and registration triggered

The registered Skill auto-review-pr now appears on the Skills page:

auto-review-pr in the Skill library

✅ Expected result: auto-review-pr appears in the Skill list with the status registered.

Part 2: Verify the Skill

Step 4: Replace the Skill in the Hello World Scene

Go to Project scenes → Hello World deployment → Edit, and replace the QA node's Skill with auto-review-pr:

Replacing the QA Skill

Confirming the Scene edit

✅ Expected result: the QA node of the Hello World Scene points to auto-review-pr.

Step 5: Create an Issue to verify the automatic merge

Run a real feature Issue through the whole chain to verify "review passes, merge and deploy happen automatically":

Title: Add three tech-style themes (Cyber / Matrix Green / Icy Blue)
Description: Add a theme switcher in the top-right corner of the page (three 48×48 icon buttons: Cyber / Matrix Green / Icy Blue), with "Cyber" — the current palette — as the default.
Scene: Hello World deployment

Creating the theme switcher Issue

VOD → Issue → Coding → QA → SRE relay automatically, and the PR is merged as soon as review passes:

The pipeline running automatically

PR merged automatically

After deployment, the theme switcher is live in the sandbox:

Theme switcher in the application

✅ Expected result: the Issue goes from creation to deployment without anyone clicking Merge, and the sandbox lets you switch between the three themes.

Summary

You used the Grape Skill development Scene to turn one wish into the auto-review-pr Skill, then mounted it into the Hello World Scene to verify the "merge automatically" path. Skill development stops being "write a prompt on the fly" and becomes an engineering flow with a Spec, gates, repository ownership, and PRs.

Practical advice:

  • State the boundaries in the Issue description (for example, stop when there is a conflict or review fails) so the Agent handles them correctly
  • Verify a new Skill with one simple Issue first, then extend it to more Scenes
  • Existing Skills can be uploaded as attachments and adapted; you do not have to start from scratch

Glossary

Term Definition
Scene A preset mapping of Agents and Skills that decides how the pipeline runs
Skill A reusable capability unit attached to an Agent node
A2A Agent-to-Agent, the mechanism by which Agents hand off tasks automatically
Event The smallest execution record of a pipeline