extract-and-name

autor: AgentsRoomZweryfikowane przez AgentsRoomBrak instalacjiBrak polubieńZaktualizowano 7 maja 2026Kategoria: Inżynieria

Co robi

Use when a function exceeds 40 lines or a file exceeds 300. Extracts cohesive sub-units with names that describe intent.

Instalacja otwiera tę pozycję w Twojej aplikacji AgentsRoom na komputerze. Jeśli aplikacji jeszcze nie ma, trafisz na stronę pobierania.

SKILL.md

---
name: extract-and-name
description: Use when a function exceeds 40 lines or a file exceeds 300. Extracts cohesive sub-units with names that describe intent.
---

# Extract and name

When you spot an oversized function or file:

1. Identify cohesive blocks (paragraphs of code that do one thing).
2. Extract each into its own function. Name it after WHAT it does, not HOW.
3. Keep the public surface stable — extraction is internal only.
4. After extraction, the original function should read like a high-level outline.
5. Don't extract for the sake of it: a 60-line linear setup is fine. The signal is "I had to scroll to understand".

Tagi

refactorquality

Warto przeczytać

Pobierz AgentsRoom

Uruchamiaj wszystkich swoich agentów AI, we wszystkich projektach, z jednego okna.

Za darmoPobierz AgentsRoom

Aplikacja towarzysząca: monitoruj agentów w podróży

Użyj Claude, Codex, Antigravity CLI lub innego dostawcy AI.

Zainstaluj rozszerzenie
Chrome Web Store

Wysyłaj bugi i prośby bezpośrednio do swojego publicznego backlogu.

Wiele projektów
Multi-provider
Wielu agentów
Status na żywo
Diff i commit
Aplikacja mobilna
Podgląd na żywo
Zespoły agentów
Testy w przeglądarce
Dev oparta na backlogu
Biblioteka promptów
Biblioteka umiejętności
Zobacz wszystkie funkcje