一键导入
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