Coding.Fix Param Use
FreeNo executable scriptsNot checkedFix call sites to pass positional/keyword args and name constants correctly
by gpsaggese★ 158 GitHub starsAbout this skill
Goal
I will pass you a file <FILE>. In that file, make sure that:
- Callers pass required parameters by position and optional parameters by keyword
- Constants are assigned to an intermediate variable with the same name as the corresponding formal parameter
Conventions
- Follow
## Call Functions with Position Arguments for Required, Keywords for Optionalin.claude/skills/coding.rules.md
Examples
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 (required parameters passed by keyword, constant not named)
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 (required parameters positional, optional parameters by keyword, constant named)
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, )
Verification
- Confirm required parameters are passed positionally and optional parameters by keyword
- Confirm constants used at call sites are assigned to named intermediate variables
- Run the file's unit tests to confirm behavior is unchanged
Install Coding.Fix Param Use in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Coding.Fix Param Use skill do?
Fix call sites to pass positional/keyword args and name constants correctly
How do I install the Coding.Fix Param Use skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Coding.Fix Param Use skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic