gpsaggese/helpers / .claude/skills/coding.use_single_return
coding.use_single_return
VerifiedMake sure that all the functions have a single return statement
- I will pass you one or more files
<FILES>
Goal
-
Go through each function and make sure it has a single return statement
-
For functions returning
None, keep thereturnstatements that exit early
Conventions
- Do not change the behavior of the code in any way
- Follow the rules in
.claude/skills/coding.rules.md
Verification
- Confirm each function has a single
returnstatement (except early exits in functions returningNone) - Run the file's unit tests to confirm behavior is unchanged
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |