Repository navigation
chore(skills): capture review conventions from secret-paths tooling - #5647
Conversation
Fold the recurring review points from #5641 into the existing skills: - writing-tests: fixture secrets must be distinctive, never double as non-secret values, and auth mocks must carry the case's secret, since the secret-path generator now reads every component fixture - CLAUDE.md: regenerate secretPaths.json when a destination's transform or fixtures change; CI byte-compares it on every PR - code-structure: reuse existing infrastructure (jest entry, registerAxiosMocks, getTestData, commander) instead of re-implementing it; don't guard states the build cannot produce; test the path production calls - code-structure: audit eslint-disable directives with --no-inline-config; directives under .eslintignore paths do nothing Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5647 +/- ##
========================================
Coverage 92.11% 92.11%
========================================
Files 708 708
Lines 39529 39529
Branches 9263 9264 +1
========================================
Hits 36412 36412
Misses 2852 2852
Partials 265 265 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



What
Folds the review points from #5641 that will recur beyond the secret-paths tooling into the existing skills. No new skill. The generator-specific rules are already recorded in
src/secretPaths/tooling/README.md.writing-tests: new section "Fixture Secrets Are Distinctive and Reach the Request". Since feat(secret-paths): derive and publish credential masking paths #5641, the secret-path generator reads every component fixture. A fixture secret that is reused as a non-secret value or appears inside other fixture data publishes a wrong masking path. An auth mock that returns a constant token instead of the case's secret publishes[]. Neither fails a test, and regenerating turns CI green again. All three happened in feat(secret-paths): derive and publish credential masking paths #5641.CLAUDE.md: Post-Change Verification step 4. RegeneratesecretPaths.jsonafter changing a destination's transform or fixtures. The "Verify generated secret paths" job byte-compares it on every PR, and nothing documented that.code-structure→ "Reuse Existing Repo-Wide Utilities": now also covers infrastructure. Reuse the jest entry underjest.config.js,registerAxiosMocks,getTestDataandcommanderinstead of re-implementing them. In feat(secret-paths): derive and publish credential masking paths #5641 these were four separate comments, and every re-implementation had already drifted from the original.code-structure→ "Avoid eslint-disable": new paragraph. Directives under.eslintignorepaths do nothing. Audit them with--no-ignore --no-inline-configbefore moving code intosrc/.Testing
Docs only. Ran Prettier
--checkon the changed files.🤖 Generated with Claude Code