Skip to content

Fix the arena-runtime skill header and a missing skill reference - #1822

Open
cvolkcvolk wants to merge 3 commits into
mainfrom
cvolk/fix/agent-skill-header-and-reference
Open

cvolkcvolk wants to merge 3 commits into
mainfrom
cvolk/fix/agent-skill-header-and-reference

Conversation

@cvolkcvolk

Copy link
Copy Markdown
Collaborator

Quote the arena-runtime skill description so its header is valid YAML, and remove the reference to a pre-commit-check skill from commit-and-pr.

Why this change?

The arena-runtime description contains python: command not found. A colon followed by a space is not allowed in an unquoted YAML value, so strict YAML parsers reject the whole SKILL.md header. Claude Code and Codex still load the skill, but other skill loaders and validators do not.

Step 1 of commit-and-pr tells the agent to run a pre-commit-check skill. That skill was never added. The same step says pre-commit is not installed in the container, but the Arena image installs it.

What changes?

  • Put the arena-runtime description in double quotes. The text is unchanged.
  • Change the commit-and-pr step to run pre-commit run --all-files on the host, as AGENTS.md says.

Validation

  • Every skills/*/*/SKILL.md header parses with yaml.safe_load, and each name matches its folder.
  • codex debug prompt-input shows the same arena-runtime description before and after the change.

The description contains `python: command not found`. A colon followed
by a space is not allowed in a plain YAML scalar, so strict YAML
parsers reject the whole header. Claude Code and Codex happen to
tolerate it; other skill loaders and validators do not.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
No pre-commit-check skill has ever shipped. Tell the agent to run
pre-commit on the host, as AGENTS.md does, and drop the claim that the
container lacks pre-commit; the Arena image installs it.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Low impact] The PR appears safe to merge.

Summary

Fixes two skill instructions:

  • The runtime skill header keeps its description while becoming valid YAML.
  • The commit guide tells agents to run pre-commit on the host.

No actionable issues were found.

Reviews (1) · Last reviewed commit: "Drop the missing pre-commit-check skill ..." · Reviewed by Greptile

Comment thread skills/developer/commit-and-pr/SKILL.md Resolved
@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR puts the arena-runtime skill description in double quotes so its header is valid YAML. It also replaces the commit-and-pr reference to a pre-commit-check skill, which doesn't exist, with a direct pre-commit run --all-files step on the host. Both changes are correct and match the PR description: the base header fails yaml.safe_load with mapping values are not allowed here, and the quoted value parses to exactly the old text. I have one optional wording suggestion on the rewritten commit-and-pr step.

Findings

🔵 Improvement: skills/developer/commit-and-pr/SKILL.md:14: "until the working tree is clean" can't happen before a commit. Suggested rewording is inline.

Test Coverage and CI Cost

Nothing in pre-commit or CI parses SKILL.md headers. check-yaml only looks at YAML files, and .github/workflows/ci.yml skips Docker CI for skills/**/*.md. That gap is how the bad header reached main. Could the check from this PR's Validation section become a small local pre-commit hook, limited to ^skills/.*/SKILL\.md$? It would parse each header with yaml.safe_load and check that name matches the folder. It would run on the host in well under a second. It changes .pre-commit-config.yaml, so a separate follow-up PR fits better than this one.

The Pre-commit CI check was still running when this review was written.

Verdict

Ship it

The working tree still holds the uncommitted changes at this point, so
it is never clean. The step means re-running pre-commit until no hook
fails, including hooks that fail because they modified files.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants