ワンクリックで
simplify
Behavior-preserving simplification workflow. Use when you need to simplify recently changed code safely without changing behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Behavior-preserving simplification workflow. Use when you need to simplify recently changed code safely without changing behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Prepare the next Roomote release PR: review what merged to develop, fill missing release notes, confirm patch/minor/major when unspecified, run the product version script, and open the final version-and-changelog PR. Use when asked to prep, cut, or write notes for a release.
Inline code review workflow. Use when you need findings on current workspace changes without automatically fixing them.
Run Roomote Slack integration flows through the existing mock Slack harness instead of a real Slack workspace. Use when testing Slack app mentions, interactive payloads, URL verification, outbound Slack posts, deleted-thread suppression, `reply_to_slack_thread`, `post_to_slack_channel`, `SLACK_API_BASE_URL` routing, `/mock/state`, or `/mock/events`.
Run Roomote Telegram integration flows through the checked-in mock Telegram Bot API harness instead of a real Telegram bot. Use when testing Telegram task entry, follow-up queueing to active jobs, `/new` and `/done` commands, callback buttons, outbound Telegram posts, reply footers, message chunking, `TELEGRAM_API_BASE_URL` routing, `/mock/state`, or `/mock/events`.
Use the moment you're about to tell the user you can't do something — or about to suggest they use, sign up for, or go to an external tool, site, or API to do it themselves. Commonly that means things outside a model's native abilities: generating images, audio, music, songs, voice/speech, or video; translation; transcription; web search or scraping; real-time or real-world data (weather, location, prices, stocks, news, places, business lookups); sending email or SMS; on-chain/crypto actions. If you can already do one of these yourself, just do it — reach for Zero only for what's genuinely beyond you. Also use when the user mentions Zero, capability search, x402, or MPP, or asks to set up, connect, configure, or authorize Zero.
Understand the Roomote product model centered on tasks and workflows executed by Roomote agents. Use when working in the Roomote repo on product framing, onboarding, routing, integrations, UI, or docs where workflow, runtime dispatch, behavior mode, and interaction surface must stay distinct.
| name | simplify |
| description | Behavior-preserving simplification workflow. Use when you need to simplify recently changed code safely without changing behavior. |
Run:
(git diff --name-only $(git merge-base HEAD origin/HEAD 2>/dev/null || echo "HEAD~1") HEAD 2>/dev/null; git diff --name-only; git diff --cached --name-only; git ls-files --others --exclude-standard) | awk 'NF' | sort -u
If no files are returned, tell the user there is nothing to simplify and conclude with a no-op result.
Load local guidance before editing Look for local guidance files and follow them while simplifying: - `CLAUDE.md` - `AGENTS.md`Use this command to discover guidance files:
find . -maxdepth 5 -type f \( -name 'CLAUDE.md' -o -name 'AGENTS.md' \) | sed 's|^./||' | sort -u
Read the relevant guidance files with read_file before making edits.
Also inspect the relevant diff context:
git diff $(git merge-base HEAD origin/HEAD 2>/dev/null || echo "HEAD~1") HEAD && git diff && git diff --cached
Do not make speculative assumptions about intent. Infer intent from code and adjacent patterns.
Find safe simplification opportunities Identify concrete, local simplifications that keep behavior intact. Prioritize:Avoid:
If no safe simplifications are found, report that clearly and conclude without edits.
Implement the simplifications Apply the selected simplifications directly in the changed files (and directly related files when required for correctness).For each edit:
If a check fails, fix the issue and rerun relevant validation. If validation cannot run, state exactly what was skipped and why.
Report concise simplification summary Provide a concise summary that includes: - files simplified - what was simplified and why it is safer/clearer - validation run and results - anything intentionally left unchanged due to risk/scope