agentleFS
zedarvateszedarvates/frugal-skills/skills/code-wrappers/SKILL.md

code-wrappers

Skill1 starsChanged 30 days agoMITView on GitHub

Instructions for upstream Policy A3 review of unchanged argument-forwarding functions with no distinct transformation, guard, decorator or docstring. Use to plan wrapper review and inspect the five-field evidence; dynamic-name references and non-1:1 signatures are excluded. Not for complexity or module-level state/import cycles.

The file

Files
SKILL.md

code-wrappers — anomaly A3 detector

Package scope and prerequisites

This catalog ships instructions, not the executable runtime. Python modules, scripts, local services and optional tools named below must be installed separately from the upstream project. Check their availability before running commands; if they are missing, explain the prerequisite instead of claiming execution or results. The host agent may use model tokens while following these instructions.

Commands, APIs and runtime behavior described below are conditional examples for a compatible upstream installation; they are not evidence of execution in this package.

When NOT to use

  • The smell is complexity or length rather than pure forwarding — use code_complexity.
  • The smell is global state or a circular import — use code_state.

The upstream detector is described by A3 of the upstream docs/local-analysis-policy.md (not bundled here): a function is a valueless wrapper when it forwards every argument unchanged to another callable and adds no docstring, decorator, or transformation.

Skipped (fail-closed, not reported):

  • functions with a docstring (public alias)
  • decorated functions (caching, retry, metrics)
  • dunder methods
  • names referenced via getattr / setattr / patch in the scanned tree
  • signatures that are not a 1:1 forward (defaults, keyword-only args)
python -m skills.code_wrappers.cli [path]        # human-readable report
python -m skills.code_wrappers.cli skills --json # compact JSON
python -m skills.code_wrappers.test_code_wrappers

The documented upstream mode is report-only; verify the installed command exit status and CI integration. Pairs with code_complexity (A1) and code_duplication (A6).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.