·
Last changedVersion:
This version passed the hardening gate. Hardening applied 6 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: 3. Review findings remaining: 9.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
Refactor the method ${input:methodName}, to reduce its cognitive complexity to ${input:complexityThreshold} or below, 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:
${input:complexityThreshold} or belowCRITICAL: After completing the refactoring, you MUST:
${input:complexityThreshold}${input:complexityThreshold}Get started with chainctlchainctl skill install public/github/refactor-method-complexity-reduce:latest
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:latest
MIT
HARDENING.md
LICENSE
SKILL.md