Install docker, rename skill

This commit is contained in:
2026-05-21 14:44:33 +08:00
parent c8bb36793b
commit df408e3c0c
11 changed files with 23 additions and 22 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
sudo apt-get update
sudo apt-get install docker.io -y
+1 -1
View File
@@ -43,7 +43,7 @@ Follow these steps in order. Do not skip or reorder steps.
### Step 1: Load project identity
Load the `rui-project-identity` skill. Extract these values (you will need them
Load the `rui-personal-identity` skill. Extract these values (you will need them
in later steps):
- Forgejo server URL (e.g. `https://git.cleverthis.com`)
+2 -2
View File
@@ -6,7 +6,7 @@ permission:
"*": allow
edit: allow
skill:
"rui-project-identity": allow
"rui-personal-identity": allow
"rui-task-workflow": allow
"rui-coding-standards": allow
"rui-commit-standards": allow
@@ -29,7 +29,7 @@ you work on. Do not look for or work on any other issues.
Load these skills immediately before doing anything else:
1. `rui-project-identity` — Forgejo credentials, git identity, reference materials
1. `rui-personal-identity` — Forgejo credentials, git identity, reference materials
2. `rui-task-workflow` — The end-to-end execution lifecycle (Phases 15)
3. `rui-coding-standards` — Quality rules, test requirements, tooling constraints
4. `rui-commit-standards` — Commit message format, branch hygiene, atomic commits
+2 -2
View File
@@ -7,7 +7,7 @@ permission:
edit: allow
ask: deny
skill:
"rui-project-identity": allow
"rui-personal-identity": allow
"rui-pr-fix-process": allow
"rui-coding-standards": allow
"rui-commit-standards": allow
@@ -36,7 +36,7 @@ You will receive:
Load these skills immediately before doing anything else:
1. `rui-project-identity` — Forgejo credentials, git identity, repo details
1. `rui-personal-identity` — Forgejo credentials, git identity, repo details
2. `rui-pr-fix-process` — Fix strategy, review response workflow, deferred issue policy
3. `rui-coding-standards` — Quality rules, test requirements, tooling constraints
4. `rui-commit-standards` — Commit message format, branch hygiene, atomic commits
+2 -2
View File
@@ -7,7 +7,7 @@ permission:
edit: deny
ask: deny
skill:
"rui-project-identity": allow
"rui-personal-identity": allow
"rui-pr-review-process": allow
"rui-coding-standards": allow
"rui-commit-standards": allow
@@ -37,7 +37,7 @@ Review the PR exclusively through that lens. Do not attempt to cover other areas
Load these skills immediately before doing anything else:
1. `rui-project-identity` — Forgejo credentials, git identity, repo details
1. `rui-personal-identity` — Forgejo credentials, git identity, repo details
2. `rui-pr-review-process` — Review methodology, reporting format, verdict criteria
3. `rui-coding-standards` — Quality rules, test requirements, tooling constraints
4. `rui-commit-standards` — Commit message format, branch hygiene rules
+2 -2
View File
@@ -7,7 +7,7 @@ permission:
edit: deny
ask: deny
skill:
"rui-project-identity": allow
"rui-personal-identity": allow
"rui-pr-review-process": allow
"rui-coding-standards": deny
"rui-commit-standards": deny
@@ -32,7 +32,7 @@ You will receive a **PR number** and a **ticket number** on Forgejo.
Load these skills immediately:
1. `rui-project-identity` — Forgejo credentials, git identity, repo details
1. `rui-personal-identity` — Forgejo credentials, git identity, repo details
2. `rui-pr-review-process` — Review methodology, multi-agent strategy, reporting format
## Step 1: Gather Context
+2 -2
View File
@@ -6,7 +6,7 @@ permission:
"*": allow
edit: deny
skill:
"rui-project-identity": allow
"rui-personal-identity": allow
"rui-pr-review-process": deny
"rui-pr-fix-process": deny
"rui-coding-standards": deny
@@ -31,7 +31,7 @@ You will receive a **PR number** and a **ticket number** on Forgejo.
## Startup
Load the `rui-project-identity` skill for Forgejo credentials and repo details.
Load the `rui-personal-identity` skill for Forgejo credentials and repo details.
## Loop Execution
+1 -1
View File
@@ -19,7 +19,7 @@
"sequential-thinking": {
"type": "local",
"command": ["npx", "@modelcontextprotocol/server-sequential-thinking"],
"enabled": true
"enabled": false
},
"docker": {
"type": "local",
@@ -1,6 +1,6 @@
---
name: rui-project-identity
description: Project-specific configuration including role identity, Forgejo server details, git credentials, authentication setup, and reference materials for the current project.
name: rui-personal-identity
description: User's personal identity, including Forgejo server details, git credentials, authentication setup, and general reference materials for the project.
---
## Role
@@ -10,7 +10,7 @@ Acting as **Rui Hu** (Forgejo username: `hurui200320`).
## Forgejo Setup
- **Server:** `git.cleverthis.com`
- **Repository:** `cleverrouter/cleverrouter-core`
- **Repository:** Ask user.
## Git Identity
@@ -56,9 +56,3 @@ Before implementing anything, thoroughly read:
**Strictly adhere to the guidelines in `CONTRIBUTING.md` at all times.** These are the
project's non-negotiable rules.
## External scripts
There are helper scripts outside of the project. They are located at `/external/opencode/scripts`.
If the folder doesn't exist, stop and warn user. The user may exit and recreate the container
with proper mounts.
+1 -1
View File
@@ -10,7 +10,7 @@ fetched page by page from the API and matched client-side against title and
body text. This avoids the unreliable server-side search and gives precise
substring matching with AND/OR logic.
**Prerequisites:** Load the `rui-project-identity` skill first to get the Forgejo
**Prerequisites:** Load the `rui-personal-identity` skill first to get the Forgejo
server URL, API token, and repository name needed for the required options.
## Script location
+3
View File
@@ -21,12 +21,15 @@ docker run -it --rm \
--network=host \
--name "cleverrouter_dev_persist" \
--user $(id -u):$(id -g) \
--group-add 969 \
--volume "${WORKDIR}:/app:z" \
--volume "/home/skyblond/opencode/90-install-docker-cli.sh:/docker-entrypoint.d/90-install-docker-cli.sh" \
--volume "/home/skyblond/cleverthis/cleverrouter/workspace:/workspace" \
--volume "/home/skyblond/opencode/agents:/home/devuser/.config/opencode/agents" \
--volume "/home/skyblond/opencode/skills:/home/devuser/.config/opencode/skills" \
--volume "/home/skyblond/opencode/opencode.json:/home/devuser/.config/opencode/opencode.json" \
--volume "/home/skyblond/opencode/scripts:/external/opencode/scripts" \
--volume "/var/run/docker.sock:/var/run/docker.sock" \
--env "OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
--env "OPENAI_API_KEY=${OPENAI_API_KEY}" \
--env "ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}" \