before-editing-a-python-file
Use before editing any Python file
Source facts
- Repository
- samugit83/cortex
- Last source activity
- September 20, 2026 at 20:32
- Detected SKILL.md language
- English
- Stars
- 1
- Forks
- 0
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
SKILL.md
Source instructions · Read-only preview- name
- before-editing-a-python-file
- description
- Use before editing any Python file
# Blank lines are punctuation
One blank line separates thoughts inside a function; two separate definitions
at module level.
- A function with no blank lines at all is one paragraph, which is fine when it
is short and wrong when it is not.
- Do not open a function body with a blank line, and do not close it with one.
- Group the statements that belong to one step, then leave a line before the
next step begins.
Where the blank lines fall is usually where the comments would have gone, which
is a good sign that the steps are real.
View on GitHub