extract-and-name

AgentsRoom 作AgentsRoom が認定インストールはまだありませんいいねはまだありません2026年5月7日 に更新カテゴリー: エンジニアリング

できること

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

インストールすると、このページがデスクトップ版 AgentsRoom で開きます。アプリが未インストールの場合はダウンロードページに移動します。

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".

タグ

refactorquality

さらに詳しく

AgentsRoomをダウンロード

すべてのAIエージェントを、すべてのプロジェクトで、ひとつのウィンドウから実行。

無料AgentsRoomをダウンロード

コンパニオンアプリ:外出先でもエージェントを確認

Claude、Codex、Antigravity CLI、またはその他の AI プロバイダーを使用します。

拡張機能を入手
Chrome Web Store

バグや要望を公開バックログに直接送信できます。

マルチプロジェクト
マルチプロバイダー
マルチエージェント
ライブステータス
ファイル差分
モバイルアプリ
ライブプレビュー
エージェントチーム
ブラウザテスト
バックログ駆動開発
プロンプトライブラリ
スキルライブラリ
すべての機能を見る