Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Coding.Use Single Return?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gpsaggese-coding-use-single-return)
---
description: Make sure that all the functions have a single return statement
model: haiku
---
- 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 the `return` statements 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 `return` statement (except early exits
in functions returning `None`)
- [ ] Run the file's unit tests to confirm behavior is unchanged