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.
2. Recommended approach: the Grape Skill development workflow in Scene Center
Open Scene Center, find Grape Skill development workflow, and use it to create the Skill.
The workflow performs the following steps:
- Understands what you need SRE to do.
- Turns the request into an executable Skill requirement.
- Generates the Skill content.
- Validates the Skill against the specification.
- Registers it as a repository-level Skill.
- Makes it available to the SRE scene in the current repository.
You do not need to:
- Write
SKILL.mdyourself. - 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
- Open Scene Center.
- Search for Grape Skill development workflow.
- Select the target repository.
- 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.
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.
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
- Open Scenes & Skills → Repository skills.
- Confirm that the newly generated SRE Skill is visible (the repository's existing
GRAPE-DOCS-SYNCsits at the same level). - Return to Project scenes.
- Confirm that the SRE node uses this Skill.
- If the scene did not switch automatically, select the Skill manually and Apply the scene.
Step 5: Validate with a low-risk deployment
- Create a test deployment Issue.
- In the SRE node logs, confirm that the workflow follows the project steps.
- Check the build, startup, health check, and access URL.
- Verify that a failed deployment rolls back.
- Confirm that destructive operations stop and wait for manual confirmation.
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 |
Related
Agent overview | Skill management | Scenes and engine configuration | Step 2: From Issue to merged PR | Step 4: Automation




