一键导入
duplication-audit
Find duplicated functionality across the codebase and propose minimal, safe generalizations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find duplicated functionality across the codebase and propose minimal, safe generalizations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
MindRoom documentation corpus for accurate product, configuration, and workflow guidance.
Run live end-to-end checks for this repository. Use when booting the local MindRoom stack or SaaS sandbox, starting an isolated local Matrix/backend instance, creating disposable Matrix accounts, sending or reading messages with Matty, hitting live API endpoints, taking frontend screenshots, or verifying behavior through the real UI instead of tests alone. Also use when a live-test workflow struggled and the skill itself should be improved.
Use when the user asks for native Codex sub-agents, parallel PR review agents, unbiased re-review loops, or main-thread fixes after agent findings in the MindRoom repository.
Use when fetching, triaging, or addressing PR review comments from GitHub, copied text, cloud AI reviewers, or other coding agents in the MindRoom repository.
Two coding agents debate code changes through a shared DEBATE.md file. Use when you want adversarial review of a commit, diff, or PR.
Use when spawning and supervising multiple agent-cli Codex worktrees through tmux, especially when you must poll progress, force prompt rereads against the local TASK file, run current-context and fresh-context pr-review loops, and verify that review fixes are actually pushed before merge.
| name | duplication-audit |
| description | Find duplicated functionality across the codebase and propose minimal, safe generalizations. |
| argument-hint | [path or module to audit] |
You are a coding agent working inside a repository. Your job is to find duplicated functionality (not just identical code) and propose a minimal, safe generalization. Keep it simple and avoid adding features.
Identify and consolidate duplicated functionality across the codebase. Duplication includes:
The goal is to propose a general, reusable abstraction that reduces duplication while preserving behavior. Keep changes minimal and easy to review.
Provide a concise report with:
If the user asked you to implement changes:
pytest to verify nothing broke.