Step 3: Customize an SRE Skill

Use the Grape Skill development workflow in Scene Center to generate a repository-level SRE Skill. No upload or format handling is required.

Video walkthrough: building a custom SRE deployment Skill

Find the Grape Skill development workflow in Scene Center → submit the Skill requirement → the workflow generates the repository Skill deploy-cli → bind the SRE node to it in the project scene → run a test deployment → the run stops before a risky operation and waits for human confirmation.

1. Why not use a generic SRE Skill

A generic SRE Skill does not know how your project is deployed:

  • What the build command is
  • What the start command and port are
  • What the health check path is
  • Which machine and directory to deploy to
  • How to roll back after a failure
  • Which resources must not be deleted and which operations require confirmation

You therefore need an SRE Skill for your project. You do not need to write SKILL.md manually or package and upload it by hand.

Open Scene Center, find Grape Skill development workflow, and use it to create the Skill.

The workflow performs the following steps:

  1. Understands what you need SRE to do.
  2. Turns the request into an executable Skill requirement.
  3. Generates the Skill content.
  4. Validates the Skill against the specification.
  5. Registers it as a repository-level Skill.
  6. Makes it available to the SRE scene in the current repository.

You do not need to:

  • Write SKILL.md yourself.
  • Assemble the directory or remember frontmatter.
  • Create a ZIP package.
  • Upload the Skill manually.
  • Handle the Skill format manually.

A Skill generated by this workflow belongs to the current repository. It is neither a personal Skill nor a temporary Skill.

3. Before you begin

Preparation Requirement
Target repository Hosted and able to receive Issues and PRs normally
Scene Center The Grape Skill development workflow is available
SRE engine At least one online engine
Test environment Prefer a test ECS or test namespace
Deployment information Build, start, port, health check, deployment directory, and rollback method
Credentials Configured; do not write secrets into the Issue

4. Procedure

Step 1: Select the workflow in Scene Center

  1. Open Scene Center.
  2. Search for Grape Skill development workflow.
  3. Select the target repository.
  4. Apply or use the workflow.

If the workflow is not available, first confirm that the official scenes have been synchronized. If it is still missing, contact the administrator.

Scenes & Skills, scene marketplace: 4 featured scenes (General development, IaC development, Cloud-native development, Huawei Cloud Skill development) and 14 scenes in total, with Apply and Try buttons; the header shows the current project hands_on/snake-game

Step 2: Submit a Skill requirement Issue

Create an Issue in the target repository and describe the deployment information clearly. Do not write only "write an SRE Skill for me".

Example:

Title: Generate an SRE deployment Skill for mood-tracker

Background:
mood-tracker is a Flask application. After changes are merged to main,
deploy it to the test ECS.

Goal:
Generate an SRE Skill for this repository that can roll back a failed deployment.

Environment:
- Deployment target: test ECS; inject the host address through an environment variable.
- Deployment directory: /opt/mood-tracker
- Port: 5000

Build and start:
- pip install -r requirements.txt
- gunicorn -w 2 -b 0.0.0.0:5000 app:app

Health check:
- GET /health returns 200 with status=ok

Rollback:
- Keep the previous version directory and switch back and restart on failure.

Prohibited:
- Do not delete the RDS instance.
- Do not modify security groups.
- Require manual confirmation before destroying resources.

Acceptance:
- The deployment URL is reachable.
- /health passes.
- Logs point back to this commit.

New requirement dialog: repository, title and description, with the Grape Skill development workflow selected as the scene

Step 3: Wait for the workflow to generate the repository Skill

The workflow automatically performs requirement analysis, Skill generation, validation, and registration.

When it finishes, the Skill exists as a repository-level Skill for the current repository and is used by the repository's SRE scene.

Step 4: Confirm that the Skill is available

  1. Open Scenes & Skills → Repository skills.
  2. Confirm that the newly generated SRE Skill is visible (the repository's existing GRAPE-DOCS-SYNC sits at the same level).
  3. Return to Project scenes.
  4. Confirm that the SRE node uses this Skill.
  5. If the scene did not switch automatically, select the Skill manually and Apply the scene.

Scenes & Skills, Skill marketplace: 4 featured Skills (Developer voice analysis, Advanced Issue operations, Code implementation, PR management) and 74 Skills in total, with a per-Agent filter on the left (SRE Agent 18)

Project scene SRE node: GRAPE-SKILL-UPLOADER (Grape Skill upload and registration) selected in the Skill drawer

Step 5: Validate with a low-risk deployment

  1. Create a test deployment Issue.
  2. In the SRE node logs, confirm that the workflow follows the project steps.
  3. Check the build, startup, health check, and access URL.
  4. Verify that a failed deployment rolls back.
  5. Confirm that destructive operations stop and wait for manual confirmation.

SRE node event detail (Event #155504): pull_request_merged event context (repository gitcode:hands_on/snake-game, Issue #2, actor ai_grape), the engine and Skill, and an Agent record showing PR #2 merged with status running

5. Verification checklist

  • [ ] The Grape Skill development workflow is available in Scene Center and has been applied.
  • [ ] The Issue specifies the environment, build, startup, health check, rollback, and prohibited operations.
  • [ ] A repository-level SRE Skill has been generated.
  • [ ] The repository's SRE scene uses this Skill.
  • [ ] A low-risk deployment succeeds.
  • [ ] The health check passes.
  • [ ] The rollback path has been verified.
  • [ ] Destructive operations wait for manual confirmation.

6. Common issues

Symptom Cause Action
The workflow is not available in Scene Center Official scenes have not been synchronized Confirm that the scenes are synchronized; if the workflow is still missing, contact the administrator
The generated Skill is too generic The Issue does not clearly describe the environment, commands, or acceptance criteria Complete the Issue and run the workflow again
SRE still uses the old Skill The scene was not applied, or the task started before the change Apply the scene and validate with a new task
Deployment fails Incorrect command, port, permission, security group, or health check Check the SRE node logs and update the Issue with the actual environment details
The deployment URL is unreachable Incorrect port, security group, or health check path Update the Issue with the deployment and acceptance information
Rollback does not work The Issue does not specify the backup directory or switch method Add the rollback steps and generate the Skill again
Resources are deleted by mistake Prohibited operations were not included in the requirement Specify prohibited operations and manual confirmation points in the Issue

Agent overview | Skill management | Scenes and engine configuration | Step 2: From Issue to merged PR | Step 4: Automation