Skip to content
cccskills
FreePublished on GitHub

robonix-simplify

Shrink a Robonix change before review without changing behaviour. Use when a feature works and tests pass, before opening or updating a PR, and when a review asks for a smaller change.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

robonix-simplify

A working change is usually larger than it needs to be. This pass makes it smaller and plainer before anyone reviews it. The rules are the maintainability page of .agents/guidelines/.

Steps

  1. Measure. git diff --stat <base>...HEAD, excluding generated files. Note the size.
  2. Find the fat, in this order, because the first items are the cheapest and safest:
    • comments and docstrings that restate the code, tell the history of a bug, or quote measurements (comments-explain-why, no-history-in-code);
    • code nothing calls, reads or configures (delete-dead-code) — search the whole repository, including testing/ and examples/, before deleting;
    • options, parameters and environment variables nobody sets (minimal-change);
    • the same logic in two places (dry), and new helpers that duplicate existing ones (reuse-first);
    • wrappers, layers and classes with one caller (no-single-use-abstraction);
    • long functions and deep nesting (small-functions, flat-control-flow).
  3. Understand before deleting. For each candidate, find why it exists (callers, tests, git log -S). If the reason still holds, keep it.
  4. Change in small steps, running the relevant tests after each. Behaviour, public names, contracts and stored formats stay the same; renames follow deprecate-dont-break.
  5. Measure again and report before/after line counts with the categories removed.

Stop when the remaining code is what a careful engineer would write by hand. Fewer lines is not the goal on its own: don't merge unrelated logic or inline a helper whose name explains a step.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review a Robonix change against the repository's coding guidelines and write a Markdown review. Use when asked to review a branch, a PR, or files, and before asking a human to review your own change.

The English summary is being prepared. Showing the original description.

syswonder/robonix402Updated Oct 20, 2026

Write or edit commit messages, PR and issue descriptions, READMEs and code comments for Robonix so they read like a person wrote them. Use whenever producing prose that goes into the repository or onto GitHub.

The English summary is being prepared. Showing the original description.

syswonder/robonix402Updated Oct 20, 2026

See all skills by syswonder

Report a problem with this skill