·
Last changedVersion:
This version passed the hardening gate. Hardening applied 8 targeted changes and preserved all other text. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 7. Review findings remaining: 10.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
Refactor the method to reduce its cognitive complexity by extracting logic into focused helper methods.
Analyze the current method to identify sources of cognitive complexity:
Identify extraction opportunities:
Extract focused helper methods:
Validate* methodsSimplify the main method:
Preserve functionality:
Best practices:
The refactored method should:
CRITICAL: After completing the refactoring, you MUST:
Get started with chainctlchainctl skill install public/github/refactor-method-complexity-reduce:1c67e92cd20c7f9e9df117b6ca545707af41faf7
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/github/skills/refactor-method-complexity-reduce:1c67e92cd20c7f9e9df117b6ca545707af41faf7
MIT
HARDENING.md
LICENSE
SKILL.md