chore(agents): add dd-apm-sdk-review skill with two starter rules and cases - #6301
robertomonteromiguel wants to merge 6 commits into
Conversation
… cases Give the Ruby tracer the same pre-push review skill as js/java, plus two small repo-owned rules and matching eval cases so the team can copy the pattern and grow the suite. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Drop the how-to-add-a-rule sections from the starter overrides and point harness-less reviewers at the skill rule files without running the skill. Co-authored-by: Cursor <cursoragent@cursor.com>
LLM ValidationLLM Validation Gate — dd-apm-sdk-review✅ PASS
AnalysisChanged instruction file(s): No safety or blocking-case regressions across 2 case(s). Overall pairwise win-rate 50% [50%–50%], quality +3.1 — see the verdict above for whether that clears the noise band. Results
Cases
Per-dimension scores, token usage, latency, and estimated cost are in the CI job logs. |
Keep the local harness paragraph in AGENTS.md; Codex loads the mirrored core file instead of an inline lens list.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b87f68c317
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Three parent traversals resolved above the repo root and left the link dangling; match js/java and point at ../../.agents/skills. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fc92bd38aa
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
The shared P0 contract requires a source location; the snippet now lives at a synthetic path so a correct review does not have to invent one.
Mirror the core skill: performance, design, and conventions reviews use the generic files when this repo has not written an override yet.
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
What does this PR do?
Adds the shared
dd-apm-sdk-reviewpre-push skill to this repo, plus two small Ruby-owned rules and two matching eval cases, so the team can see the whole loop and start writing the next ones.Concretely:
.agents/skills/dd-apm-sdk-review/— verbatim copy ofdd-apm-sdk-review-core. Do not edit here..agents/dd-apm-sdk-review-overrides/— this repo's layer. Two starter rules:DATADOG_ENVnotENV;Datadog::Core::Utils::Time.nownotTime.now(fromAGENTS.md)..llm-validation/— two cases, one per rule. Copy either to add the next one. How-to is in.llm-validation/README.md..gitlab-ci.yml— reusable"llm validation"job fromddoghq/llm-validation-platform(same pin as js/java).Claude discovers the skill via a symlink at
.claude/skills/dd-apm-sdk-review.How to review this
.agents/skills/dd-apm-sdk-review/— exact copy of the core repo..agents/dd-apm-sdk-review-overrides/reviewers/. These are the part this repo owns..llm-validation/suites/dd-apm-sdk-review.yaml. Each case would fail if its rule disappeared..llm-validation/README.md— that is the contribution guide we want people to follow.Motivation:
js and java already have this skill plus a real eval suite. Ruby has no repo-owned review rules yet. This PR is intentionally tiny: two rules, two cases, the CI job. The goal is to make the next rule a 5-minute copy-paste, not a design review.
Same gate as dd-trace-js#10137 and dd-trace-java#12409.
Change log entry
None. Internal agent-review tooling. Not customer-visible.
How to add the next rule
.agents/dd-apm-sdk-review-overrides/reviewers/..llm-validation/suites/dd-apm-sdk-review.yaml.presets.gate.casesin.llm-validation/config.yaml.How to test the change?
From the repo root, with Docker and
ddtool:--level minimumis one case.--level gateis both.Made with Cursor