trw-simplify

Simplify recently modified TRW-Codex source files while preserving functionality.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/wallter/trw-mcp --skill trw-simplify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trw-simplify
Source: https://github.com/wallter/trw-mcp/tree/main/src/trw_mcp/data/codex/skills/trw-simplify
Command: npx skills add https://github.com/wallter/trw-mcp --skill trw-simplify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies and refines TRW framework codebases for clarity, consistency, and maintainability while preserving all functionality.

Core Features & Use Cases

  • Reduces complexity in recently modified modules without altering runtime behavior.
  • Enforces strict preservation rules to safeguard type annotations, stubs, and APIs.
  • Use Case: Apply this skill to a touched module to produce a cleaner, more readable version that remains functionally equivalent.

Quick Start

Provide a cleaned version of the target file using the Edit tool, focusing on readability and consistency while preserving functionality.

Frequently Asked Questions about trw-simplify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simplify and refactor TRW framework code without changing behavior?

To simplify TRW framework code without changing behavior, refine recently modified modules by improving readability and style consistency while strictly preserving type annotations, public APIs, stubs, and existing configuration patterns.

What is the best way to clean up recently modified TRW-Codex source files?

The best way to clean up TRW-Codex source files is to apply a refactoring skill that reduces complexity in recently modified modules, enforcing strict preservation rules to ensure the code remains functionally equivalent and maintainable.

Can I refactor TRW code to improve readability without losing type annotations and stubs?

Yes, you can refactor TRW code to improve readability without losing type annotations and stubs by applying strict preservation rules that safeguard existing APIs and configuration patterns while simplifying the module's structure.

Does refactoring TRW-Codex code for maintainability alter existing logging patterns?

No, refactoring TRW-Codex code for maintainability does not alter existing logging patterns. The process strictly respects existing configuration and logging rules while reducing complexity in recently modified modules.

When should I use a TRW code simplification tool in a production codebase?

You should use a TRW code simplification tool in a production codebase when you need to reduce complexity in recently modified modules to achieve better clarity and maintainability while ensuring all runtime behavior remains completely unchanged.

What are the limitations of refactoring TRW source files for style consistency?

The limitations of refactoring TRW source files for style consistency include the strict requirement to not remove type annotations, not alter public APIs, keep stubs, and respect existing configuration, meaning structural changes are confined to readability improvements.