coding.fix_param_use

SkillDev tools

Fix function call sites to pass positional args by position and assign constants to intermediate variables

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the coding.fix_param_use skill

What this skill tells your AI

The instructions your AI receives, as published by causify-ai/helpers in .claude/skills/coding.fix_param_use/SKILL.md and read by ahel’s review.

  • I will pass you a file

  • In that file, make sure that:

    • Callers pass the parameters by position and pass the keywords arguments
    • Constant should be assigned to intermediate variable with the same name corresponding to the formal parameters
  • For a function with the signature

    def apply_llm_prompt_to_df(
        prompt: str,
        df: pd.DataFrame,
        extractor: Callable[[Union[str, pd.Series]], str],
        target_col: str,
        batch_mode: str,
        *,
        model: str,
        batch_size: int = 50,
        dump_every_batch: str = "",
        tag: str = "Processing",
        testing_functor: Optional[Callable[[str], str]] = None,
        use_sys_stderr: bool = False,
    ) -> Tuple[pd.DataFrame, Dict[str, int]]:
    
  • Bad

    df, stats = hllmcli.apply_llm_prompt_to_df(
        prompt=prompt,
        df=df,
        extractor=extract_person_industry_from_df,
        target_col="industry",
        batch_mode=batch_mode,
        batch_size=batch_size,
        model=model,
        tag=tag,
    )
    
  • Good

    target_col = "industry"
    df, stats = hllmcli.apply_llm_prompt_to_df(
        prompt,
        df,
        extract_person_industry_from_df,
        target_col,
        batch_mode,
        batch_size=batch_size,
        model=model,
        tag=tag,
    )
    

Signals

GitHub stars
145
Forks
159
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
coding-fix-param-use
Source
github.com/causify-ai/helpers