From c68cc2d10c1787bdb04cbd1297e91d96c9c13838 Mon Sep 17 00:00:00 2001 From: lovewilling Date: Wed, 8 Jul 2026 20:07:29 -0700 Subject: [PATCH 1/2] commit for plugin --- skills/skill-installer/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/skill-installer/SKILL.md b/skills/skill-installer/SKILL.md index af15305..c76fbb3 100644 --- a/skills/skill-installer/SKILL.md +++ b/skills/skill-installer/SKILL.md @@ -71,4 +71,4 @@ skill-installer/ │ ├── playwright-cli.js │ └── openspec.js └── assets/manifests/ # runtime manifests (gitignored) -``` \ No newline at end of file +``` From b6bf90c77c5a7f00c53b62a152453da7010be08a Mon Sep 17 00:00:00 2001 From: lovewilling Date: Fri, 17 Jul 2026 19:09:53 -0700 Subject: [PATCH 2/2] feat:rename code arena skill --- .DS_Store | Bin 8196 -> 8196 bytes AGENTS.md | 16 ++++++++-------- README.md | 8 ++++---- skills/.DS_Store | Bin 10244 -> 6148 bytes .../{codearena-cn => code-arena-cn}/SKILL.md | 2 +- .../references/EVAL_STANDARDS.md | 0 .../references/basic_eval_cases.md | 0 .../references/example_round_eval_cases.md | 0 .../references/report_template.md | 0 .../references/scoring_overview.md | 0 .../scripts/cap.mjs | 0 .../scripts/check-tools.sh | 0 .../scripts/detect-ports.mjs | 0 .../scripts/lib/detect-ports.mjs | 0 .../scripts/lib/http.mjs | 0 .../scripts/lib/ui.mjs | 0 .../scripts/sast-rules.yaml | 0 .../scripts/setup-tools.sh | 0 .../scripts/templates/api_test.template.mjs | 0 .../scripts/templates/ui_test.template.mjs | 0 .../templates/visual_test.template.mjs | 0 .../scripts/tools-README.md | 0 .../{codearena-en => code-arena-en}/SKILL.md | 2 +- .../references/EVAL_STANDARDS.md | 0 .../references/basic_eval_cases.md | 0 .../references/example_round_eval_cases.md | 0 .../references/report_template.md | 0 .../references/scoring_overview.md | 0 .../scripts/cap.mjs | 0 .../scripts/check-tools.sh | 0 .../scripts/detect-ports.mjs | 0 .../scripts/lib/detect-ports.mjs | 0 .../scripts/lib/http.mjs | 0 .../scripts/lib/ui.mjs | 0 .../scripts/sast-rules.yaml | 0 .../scripts/setup-tools.sh | 0 .../scripts/templates/api_test.template.mjs | 0 .../scripts/templates/ui_test.template.mjs | 0 .../templates/visual_test.template.mjs | 0 .../scripts/tools-README.md | 0 40 files changed, 14 insertions(+), 14 deletions(-) rename skills/{codearena-cn => code-arena-cn}/SKILL.md (99%) rename skills/{codearena-cn => code-arena-cn}/references/EVAL_STANDARDS.md (100%) rename skills/{codearena-cn => code-arena-cn}/references/basic_eval_cases.md (100%) rename skills/{codearena-cn => code-arena-cn}/references/example_round_eval_cases.md (100%) rename skills/{codearena-cn => code-arena-cn}/references/report_template.md (100%) rename skills/{codearena-cn => code-arena-cn}/references/scoring_overview.md (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/cap.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/check-tools.sh (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/detect-ports.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/lib/detect-ports.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/lib/http.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/lib/ui.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/sast-rules.yaml (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/setup-tools.sh (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/templates/api_test.template.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/templates/ui_test.template.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/templates/visual_test.template.mjs (100%) rename skills/{codearena-cn => code-arena-cn}/scripts/tools-README.md (100%) rename skills/{codearena-en => code-arena-en}/SKILL.md (99%) rename skills/{codearena-en => code-arena-en}/references/EVAL_STANDARDS.md (100%) rename skills/{codearena-en => code-arena-en}/references/basic_eval_cases.md (100%) rename skills/{codearena-en => code-arena-en}/references/example_round_eval_cases.md (100%) rename skills/{codearena-en => code-arena-en}/references/report_template.md (100%) rename skills/{codearena-en => code-arena-en}/references/scoring_overview.md (100%) rename skills/{codearena-en => code-arena-en}/scripts/cap.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/check-tools.sh (100%) rename skills/{codearena-en => code-arena-en}/scripts/detect-ports.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/lib/detect-ports.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/lib/http.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/lib/ui.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/sast-rules.yaml (100%) rename skills/{codearena-en => code-arena-en}/scripts/setup-tools.sh (100%) rename skills/{codearena-en => code-arena-en}/scripts/templates/api_test.template.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/templates/ui_test.template.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/templates/visual_test.template.mjs (100%) rename skills/{codearena-en => code-arena-en}/scripts/tools-README.md (100%) diff --git a/.DS_Store b/.DS_Store index da1654af4f82fca6d9d2c20c70a0bc076f745246..b60853b42438f702f631478d105d333a28533e28 100644 GIT binary patch delta 72 zcmZp1XmQw}F2J~LvW7sRs#tZkvALO!f<>*4LbZjZk&c3;p=oU`Cx@uAzI9N1c1~_y ce#hkf0`iQVo9_!~uy1CQ_|CHVp9niM00p5I2mk;8 delta 73 zcmZp1XmQw}F2J~bvW7sRns{}!vALO!g0WGpjzYDCrIC(;rJ-qUEhmSlvc7dte0EN5 dUVi7~eFE}~U7PO-Xs~Z)m-xoA`Hu)YGXNFT7B&C? diff --git a/AGENTS.md b/AGENTS.md index 2f19245..eac7757 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,7 +5,7 @@ A collection of custom skills for the Huawei Cloud CodeArts Agent coding assistant. Skills are consumed at runtime by the CodeArts plugin — there is no build, test, or lint pipeline at the repo level. Skills fall into two categories: - **Installer skill** — `skill-installer` is the single meta-installer that bootstraps third-party frameworks/MCP servers into a CodeArts project/user scope. It consolidates four targets behind one entry point: `superpowers`, `office-mcp`, `playwright-cli`, `openspec` (each an adapter module under `scripts/targets/`). -- **Evaluation skills** — score and compare code-agent implementations (`codearena-cn`, `codearena-en`). +- **Evaluation skills** — score and compare code-agent implementations (`code-arena-cn`, `code-arena-en`). Per-skill usage, commands, and installation instructions live in `README.md`. This file describes repo-level conventions and contributor process only. @@ -43,8 +43,8 @@ CodeArtsSkills/ ├── LICENSE # MIT ├── skills/ # All skill sources (self-contained) │ ├── skill-installer/ # Single meta-installer (targets: superpowers, office-mcp, playwright-cli, openspec) -│ ├── codearena-cn/ -│ └── codearena-en/ +│ ├── code-arena-cn/ +│ └── code-arena-en/ └── .codeartsdoer/ # CodeArts runtime config (gitignored; do not restructure) ├── rule/metadata.properties ├── skills/ProjectSkillStatus.txt @@ -57,7 +57,7 @@ CodeArtsSkills/ ## 5. Development Workflow - **Branch per change** — create a feature branch, open a PR to merge. -- **codearena-cn / codearena-en are localized mirrors** — they share file layout but differ in localized text (UI selectors, button regexes, all `references/*.md`, `SKILL.md`). Mirror *structural/mechanic* changes across both; never overwrite localized text. +- **code-arena-cn / code-arena-en are localized mirrors** — they share file layout but differ in localized text (UI selectors, button regexes, all `references/*.md`, `SKILL.md`). Mirror *structural/mechanic* changes across both; never overwrite localized text. - **Manually test installer targets on all three platforms** (Windows, Linux, macOS) before merge. - **Update `README.md`** for any user-facing change (new skill, new target, new command, changed flags). - **Keep skills self-contained** — do not introduce imports between skills. @@ -105,7 +105,7 @@ node skills/skill-installer/scripts/test/run.js --filter openspec For targets that expose a `status` command (e.g., `office-mcp`, `openspec`), verify `node installer.js status --target ` exits `0` after `init` and reports incomplete after `delete`. -The `codearena` `scripts/templates/` are per-round harness skeletons generated at evaluation runtime — they are not standalone tests. +The `code-arena` `scripts/templates/` are per-round harness skeletons generated at evaluation runtime — they are not standalone tests. ## 9. Build & Commands @@ -141,7 +141,7 @@ A skill change is complete when: - [ ] SKILL.md frontmatter is valid (`name` + `description`). - [ ] `README.md` is updated for any user-facing change. - [ ] Each installer target in `README.md` lists its source GitHub URL and a brief install example (CLI command + natural language). -- [ ] codearena-cn/en pair kept in structural parity (localized text preserved). +- [ ] code-arena-cn/en pair kept in structural parity (localized text preserved). - [ ] Verified via the end-to-end install path (`npx skills add` → init/update/delete). ## 11. Safety Rules @@ -156,7 +156,7 @@ A skill change is complete when: - **Add a new skill**: create `skills//` with `SKILL.md` (+ `scripts/`, `references/`, `assets/` as needed); add a section to `README.md`. To add a new installable target, add an adapter to `skills/skill-installer/scripts/targets/.js`, register it in `targets/index.js`, and implement `init`/`update`/`delete`/`status`. - **Update a target**: edit the adapter at `skills/skill-installer/scripts/targets/.js` (and shared `lib/`); test `init`/`update`/`delete`/`status --target ` on all platforms; keep manifest logic in sync. -- **Update codearena**: make the structural change in both `codearena-cn` and `codearena-en`; keep localized text distinct. +- **Update code-arena**: make the structural change in both `code-arena-cn` and `code-arena-en`; keep localized text distinct. - **Document a skill**: edit `README.md`, not `AGENTS.md` (AGENTS.md is repo conventions only). ## 13. Decision Principles @@ -169,7 +169,7 @@ A skill change is complete when: ## 14. FAQ / Pitfalls -- **"codearena-cn and codearena-en are identical"** — No. They share file layout but differ in 8 files (localized UI selectors, button regexes, `tools-README.md`, all `references/*.md`, `SKILL.md`). Mirror structural changes only, never localized text. +- **"code-arena-cn and code-arena-en are identical"** — No. They share file layout but differ in 8 files (localized UI selectors, button regexes, `tools-README.md`, all `references/*.md`, `SKILL.md`). Mirror structural changes only, never localized text. - **`office-mcp` target is project-scope only** — `init --target office-mcp --user` is rejected by capability gating; there is no `--user` fallback. - **Shell scripts won't run on Windows** — `.sh` files need Git Bash or WSL. Prefer Node.js for cross-platform installer logic. - **`mcp_settings.json` contains absolute paths** — machine-specific; never copy between machines. The installer regenerates it. diff --git a/README.md b/README.md index 3f5b5ea..c5f3b3b 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ node skills/skill-installer/scripts/test/run.js --all # + office-mcp, playw --- -### codearena-cn +### code-arena-cn 评测/对比基于同一需求的多个Agent代码实现并打分。按两套独立 rubric(通用 Basic /100 + 本轮需求 Round /100,各加最高 +10 动态加分)评测,产出中英双语报告,覆盖 API / 视觉 / SAST / 架构 / 治理 / 覆盖率评测。 @@ -97,7 +97,7 @@ node skills/skill-installer/scripts/test/run.js --all # + office-mcp, playw **Installation:** ```bash -npx skills add https://github.com/codeartsagent/codeartsskills --skill codearena-cn +npx skills add https://github.com/codeartsagent/codeartsskills --skill code-arena-cn ``` **Usage — 在 CodeArts 中输入以下指令即可触发:** @@ -114,7 +114,7 @@ Skill 会自动检测评测所需工具是否已安装,如缺失会自动安 --- -### codearena-en +### code-arena-en Evaluate, score, and compare multiple implementations of the same requirement — different builds of multi code agents. Uses two independent rubrics (Basic /100 + Round /100, each up to +10 dynamic bonus), produces bilingual (EN + CN) reports, covering API / visual / SAST / architecture / governance / coverage checks. @@ -125,7 +125,7 @@ Please put multi projects in the same workspace and open with one code agent too **Installation:** ```bash -npx skills add https://github.com/codeartsagent/codeartsskills --skill codearena-en +npx skills add https://github.com/codeartsagent/codeartsskills --skill code-arena-en ``` **Usage — trigger in CodeArts with:** diff --git a/skills/.DS_Store b/skills/.DS_Store index 1d96e354951e250d7a8b4a0dbc3f30a1851e536b..dc0f54862739a2e5b149511255fa8cfd149fb0ba 100644 GIT binary patch delta 183 zcmZn(XfcprU|?W$DortDU=RQ@Ie-{MGjdEU6q~50D9Q}tfW>qf5*dmZQW^3X5+@ce z=LbpfG9)wPGo%0obtg**=yN0U0|fL{`QY+NK+VMkEX(^Wl+Fe)`g#s-|0fDf+q2=22LN6f8?#>7krZZ(`c8gZD z>Wjn>Z_yZ|zA8b9F^Wcwniv#)@ImVZV|*~0c!}bJFD54XpE)Hq>qrqH z5FrpD5FrpD5Fv0iAVA;QJjvxkMrDLRgg}JAI0F3rkf6+EDwLx_2Coh(f)IdYDXD`* zb&3N5pF}8Ap&S)5aHTOt^nlP6VTb|YPW=gPP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