Skip to content
Back to skills

After Changing A Signature

ASecurity

Use after changing the parameters or return of a function

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agents

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add samugit83/cortex --skill after-changing-a-signature --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of After Changing A Signature?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for After Changing A Signature
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samugit83-after-changing-a-signature/badge)](https://www.skillsdirectory.com/skills/samugit83-after-changing-a-signature)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: after-changing-a-signature
description: Use after changing the parameters or return of a function
---

# Follow the change outward

Changing what a function takes or returns changes every place that calls it.

1. Find the call sites before editing, not after.
2. Change the definition and the call sites in one pass, so the code is never
   in a state where half of it believes the old shape.
3. Prefer adding a parameter with a default to changing an existing one: the
   old calls keep working and the new behaviour is opt-in.

If the list of call sites is long enough to lose your place, the change wants
to be two smaller ones.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.