بنقرة واحدة
simplify
Simplify and refactor code while preserving functionality and library constraints.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Simplify and refactor code while preserving functionality and library constraints.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
テストカバレッジを分析し、最もインパクトの大きいテスト追加を提案する。 「テスト改善」「カバレッジ」「test-coverage」で呼び出される。 モジュールごとのカバレッジ分析、未テストのエッジケース検出、 テストスケルトンの自動生成を行う。
セッション引き継ぎを実行し、HANDOFF.md を更新する
プロジェクトの STG0(要件確認)を実行し、タスクを開始する。claude-code-orchestra 互換エイリアス。
Save full session context: git history, Agent Teams activity, and discover reusable skill patterns — all in one run. No flags needed. Run at session end, after major milestones, or when you want to capture learnings.
ドキュメントとコード実装の整合性を監査する。 コード変更後に「ドキュメント確認」「docs-sync」「整合性チェック」で呼び出される。 Hook 実装と設計ドキュメントの乖離、README の記述の古さ、 マニフェストとファイル構成のずれを検出して修正案を提示する。
Analyze project structure and update AGENTS.md with detected tech stack, commands, and configurations.
| name | simplify |
| description | Simplify and refactor code while preserving functionality and library constraints. |
| disable-model-invocation | true |
Simplify and refactor $ARGUMENTS.
.claude/docs/libraries/For each complexity issue:
Apply changes following these patterns:
Early Return:
# Before
def process(value):
if value is not None:
if value > 0:
return do_something(value)
return None
# After
def process(value):
if value is None:
return None
if value <= 0:
return None
return do_something(value)
Extract Function:
# Before
def main():
# 50 lines of mixed concerns
...
# After
def main():
data = load_data()
result = process_data(data)
save_result(result)
Run the project's verification commands to confirm no regressions:
# Python files
uv run ruff check --fix {file}
uv run ruff format {file}
# PowerShell files
pwsh -NoProfile -Command "Invoke-ScriptAnalyzer -Path '{file}' -Severity Warning,Error"
# General: run project-defined test/check commands
# Check pyproject.toml, package.json, or Makefile for test commands