docs(ai): add test-placement skill for the plugin testing strategy (RHIDP-13501)#3670
docs(ai): add test-placement skill for the plugin testing strategy (RHIDP-13501)#3670gustavolira wants to merge 2 commits into
Conversation
… ecosystem Adds a Claude Code skill that, given the context of a change or bug, proposes the right repository (rhdh-plugins / rhdh-plugin-export-overlays / rhdh), the right test layer (L1 unit -> L4b cluster e2e), the location, and how to scaffold the test. Encodes the per-repo testing responsibility split consolidated on epic RHIDP-13501: source bugs belong here (unit/component tests next to the plugin), artifact bugs in the overlays native smoke, integration/render bugs in the rhdh cluster-free harness, platform bugs in cluster e2e. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PR Summary by Qododocs(ai): add test-placement skill for plugin test strategy
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
11 rules 1.
|
…tion, path prefixes - Mark harnesses that are still in review and instruct the assistant to verify paths exist on main before recommending them. - Describe the overlays native smoke's real interface: yarn smoke --dynamic-plugins <file> [--out] (no --workspace flag; the harness does not read workspaces/*/metadata — a workspace run is a dp.yaml listing its oci:// refs). - Replace the fork-only RHIDP-13235 branch pointer with the closed PR rhdh#4864; prefix every path with its repo (rhdh:/overlays:/plugins:) and use full URLs for cross-repo docs; fix the skopeo-on-macOS claim; name the Docker smoke location; move PR numbers to a References section with status; add trigger phrases to the frontmatter description. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|



Summary
Adds a
test-placementClaude Code skill (.claude/skills/test-placement/): when a developer asks "where should I test this?", the assistant gathers the context and proposes the right repo (rhdh-plugins/rhdh-plugin-export-overlays/rhdh), the right test layer (L1 unit → L4b cluster e2e), the location, and how to scaffold the test.It encodes the per-repository testing responsibility split consolidated on epic RHIDP-13501: source bugs belong here (unit/component tests next to the plugin, dev app,
export-dynamiccheck) · artifact bugs → overlays native smoke (rhdh-plugin-export-overlays#2714) · integration/render bugs → the rhdh cluster-free harness (rhdh#5005) · platform bugs → cluster e2e. Guiding rule: the cheapest environment that catches the bug wins.Sibling PRs add the same skill to
rhdh(rulesync-generated for Claude/Cursor/OpenCode) andrhdh-plugin-export-overlays.Related
Epic RHIDP-13501 · rhdh#5045 · rhdh#5044 (layer matrix) · rhdh#5005 · rhdh-plugin-export-overlays#2714
🤖 Generated with Claude Code
Tooling note (review follow-up)
This lands for Claude Code only (
.claude/skills/) on purpose: unlikerhdh, this repo has no rulesync setup, and hand-maintaining parallel.cursorcopies invites drift. If the team wants the same guidance for Cursor/OpenCode users here, the right move is adopting rulesync asrhdhdid (source in.rulesync/, generated copies committed, CI sync check) — happy to do that as a follow-up.