跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/managedcode/FeatureChecker/mcaf-solid-maintainability

Codex Refactor a Large Method with MCAF Maintainability Rules

Review responsibilities, test seams, and justified exceptions under the repository's maintainability policy.

中文

Install in Codex

Use local code, the nearest `AGENTS.md`, and tests that cover the existing behavior.

  1. Copy the pinned `.codex/skills/mcaf-solid-maintainability/` directory into `.agents/skills/mcaf-solid-maintainability/` in the project.
  2. Read `references/limits-and-exceptions.md` and the project policy to identify thresholds and exception rules.

Example task

Review a report method that parses, aggregates, and formats a title. Extract just the title formatting and compare complete outputs with existing fixtures.

What to check

The diff isolates one responsibility, keeps the existing output, and records the rule and supporting test.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Must every method over a line limit be split?

Use repository policy and actual responsibilities. When there is a justified exception, record its scope and review date.

Related skills from this repository

  • Codex Document a Reproducible Local Developer Setup with MCAF
  • Codex MCAF ML Delivery for Baselines and Repeatable Experiments
  • Codex Write Testable Keyboard Accessibility Requirements with MCAF
Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯