chore(claude): add project skills and rules#1610
Conversation
|
Skipping CI for Draft Pull Request. |
|
Hi! I'm che-ai-assistant — I help with your pull requests. Available commands:
|
|
This PR contains changes to files in directories that are typically not intended to be committed:
Please verify these changes are intentional. |
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1610 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1610", name: che-dashboard}]}}]" |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1610 +/- ##
=======================================
Coverage 92.36% 92.36%
=======================================
Files 587 587
Lines 60484 60484
Branches 4688 4688
=======================================
Hits 55869 55869
Misses 4556 4556
Partials 59 59 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
783cd2a to
23e9a80
Compare
5508148 to
9f828fd
Compare
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1610 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1610", name: che-dashboard}]}}]" |
1 similar comment
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1610 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1610", name: che-dashboard}]}}]" |
Add five Claude Code skills distilled from recurring che-dashboard
development workflows:
- fix-cve-dep: upgrade a vulnerable npm dep, check ClearlyDefined,
pin in resolutions, regenerate .deps files, commit and push
- rebase-to-main: rebase a branch onto main, resolve .deps conflicts
(take-theirs + regenerate), run license check, force-push
- fix-pr-feedback: fetch and triage GitHub PR review comments,
fix open items, commit and push
- check-coverage: run coverage for changed packages, find uncovered
code, write missing tests; enforces thresholds (common 99/100,
frontend 92/88/85, backend 86/80/86) before PR is opened
- pr-description: generate a PR description from branch context
and save to openspec/docs/ following project template
(check-coverage must pass first)
Update CLAUDE.md to reference the new rules file and list all skills.
Update AGENTS.md to reference .claude/rules/ and document all skills.
Simplify .claude/rules/che-dashboard-dev.mdc (292 → 173 lines):
- Remove §2 pre-push trailer cleanup (Cursor IDE defense)
- Remove §7 building local images (human how-to, not an AI rule)
- Remove §8 PR descriptions (superseded by pr-description skill)
- Fix §3: split pre-commit (fast) vs pre-push (full suite)
- Fix §4 dep format example to match actual .deps/prod.md format
- Remove duplicate --updateSnapshot and tooltip CSS sub-section
Remove personal identity data from all rules and skill files:
- Signed-off-by uses {AUTHOR_NAME} <{AUTHOR_EMAIL}> placeholder
- quay.io/oorel/ replaced with quay.io/{YOUR_QUAY_USERNAME}/
Assisted-by: Claude Sonnet 4.6
Signed-off-by: Oleksii Orel <oorel@redhat.com>
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1610 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1610", name: che-dashboard}]}}]" |
2 similar comments
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1610 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1610", name: che-dashboard}]}}]" |
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1610 (linux/amd64, linux/arm64, linux/s390x) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1610", name: che-dashboard}]}}]" |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: olexii4, svor The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What does this PR do?
Adds eight Claude Code skills for recurring che-dashboard workflows.
fix-cve-dep— upgrade a vulnerable npm dep: check ClearlyDefined for license indexing, pin inresolutionswhen needed, reinstall, regenerate.depsfiles, commit with CVE reference.rebase-to-main— rebase a branch onto latestmain, resolve the recurring.deps/conflict patterns (take-theirs then regenerate), run license check, force-push.fix-pr-feedback— fetch inline and general PR review comments viagh api, triage fixed vs open, apply outstanding fixes, push.check-coverage— run coverage for changed packages only, identify uncovered code, write missing tests. Enforces thresholds (common 99%/100%, frontend 92/88/85, backend 86/80/86) before a PR is opened.pr-description— generate a PR description from branch context, save toopenspec/docs/. Requirescheck-coverageto pass first.pr-test-section— write the "Is it tested? How?" section using the right template (deploy + verify, unit tests, dep upgrade, N/A) based on change type. Derived from analysis of 25+ closed PRs.commit-message— write a human-style commit message: subject line, optional body, trailers. Includes anti-pattern table drawn from the actual commit history.manage-resolutions— auditresolutionsinpackage.json, identify orphans and stale pins, safely remove them one at a time withyarn installdiff verification.Screenshot/screencast of this PR
N/A — tooling/config changes only.
What issues does this PR fix or reference?
fixes eclipse-che/che#23852
Is it tested? How?
Skills are SKILL.md prose files — no executable code changed.
Release Notes
N/A
Docs PR
N/A