generate-judge-contest
Use when asked to generate an Exercode/Judge contest (Exercode/Judgeのコンテスト) and its problem set. Not for use outside Exercode/Judge.
How do I install this agent skill?
npx skills add https://github.com/willbooster/exercode-problem-utils --skill generate-judge-contestIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a legitimate tool for generating and validating contest formats for the Exercode platform. It uses standard CLI tools and follows structured workflows with no detected malicious patterns.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Generate a judge contest
Read references/contest-format.md before authoring any file.
-
Confirm the contest parameters: contest id and name, target course and lecture, divisions (each with open/close datetimes), which concepts the contest covers, the number of problems (4-6 is typical), and target programming language(s). The contest belongs at
<courseId>/<lectureId>/<contestId>.contest.yaml, and its problems belong under the same course'sproblems/directory. If any are missing, ask before generating when the user is available; otherwise choose reasonable values from the context and list them as open decisions in the final report. -
Plan the problem set as drafts (id, name, overview, difficulty, score):
- Use only concepts the learners have already studied in the covered materials.
- Span difficulties from 初級 to harder levels so every participant can solve something and strong participants stay challenged; order problems from easy to hard.
- Assign scores increasing with difficulty (e.g. 100, 200, 300, ...).
-
Generate each problem directory by following the generate-judge-problems skill workflow (model answer first, run it to produce
.outfiles unless the custom judge does not compare stdout, cross-check with a second language, validate). -
Write
<contestId>.contest.yamlper references/contest-format.md, listing every division and every problem with its score. Place the file inside the lecture directory when the contest belongs to a course. -
Validate with the
exercode-problemCLI (it ships with@exercode/problem-utils, which must be a declared repository dependency — see setup-exercode-course-repository) and fix until clean; rerun after every fix until both commands report success:bunx exercode-problem validate-problem <problemDir>... bunx exercode-problem validate-contest <contestYamlPath> --problems-dir <problemsDir>Address warnings too unless they are intentional; if you keep a warning, tell the user why in the final report.
-
Report the contest yaml path, the problem list with scores and difficulties, and any open decisions (e.g. datetimes or scores you chose, intentionally kept warnings).
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/willbooster/exercode-problem-utils/generate-judge-contest">View generate-judge-contest on skillZs</a>