Favicon of add-mlinter-rule

add-mlinter-rule Skill

AI Agent SkillPythonOpen source

Add a new TRF rule to the mlinter. Checks for duplicates, creates the rule module and TOML entry, runs against all models, and handles violations (fix or allowlist). Published by huggingface in transformers-mlinter.

What is add-mlinter-rule Skill?

Add a new TRF rule to the mlinter. Checks for duplicates, creates the rule module and TOML entry, runs against all models, and handles violations (fix or allowlist). Published by huggingface in transformers-mlinter. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
15/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Data analysis
  • Data analysis use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use add-mlinter-rule Skill

  • Use it for data analysis.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: huggingface
  • Repository: huggingface/transformers-mlinter
  • Skill file: .ai/skills/add-mlinter-rule/SKILL.md

What it does

Add a new TRF rule to the mlinter. Checks for duplicates, creates the rule module and TOML entry, runs against all models, and handles violations (fix or allowlist).

Skill instructions

Add Mlinter Rule Input - <description: Natural-language description of what the rule should detect. - Optional: specific AST pattern or a before/after diff showing the pattern. Constraints - Rules MUST use static analysis only with Python's ast module. NEVER import runtime libraries like torch or tensorflow. - Rules MUST follow the check(tree, filepath, sourcelines) - list[Violation] interface. - Use the module-level RULEID constant instead of hardcoding the rule ID string. Workflow 1. Check for duplicate coverage in mlinter/rules.toml. - Read the full TOML file and review existing rule descriptions and explanations. - If an existing rule already covers the same concern, stop and ask whether to proceed, extend the existing rule, or abort. 2. Determine the next rule number. - List all mlinter/trf.py files and find the highest number. - The new rule gets that number + 1, zero-padded to three digits. 3. Add the TOML entry to mlinter/rules.toml. - Append a new [rules.TRFXXX] section at the

Explore related resources

Frequently asked questions

What is add-mlinter-rule?

add-mlinter-rule is a open-source AI agent skill with Copy skill directory. Add a new TRF rule to the mlinter. Checks for duplicates, creates the rule module and TOML entry, runs against all models, and handles violations (fix or allowlist).

Who is add-mlinter-rule best for?

add-mlinter-rule is best for reusing agent instructions, scripts, and references, data analysis workflows.

How do I install add-mlinter-rule?

Install or run add-mlinter-rule using Copy skill directory. Check add-mlinter-rule for the latest setup command.

Is add-mlinter-rule actively maintained?

add-mlinter-rule may need a closer maintenance check before production use.

Share:

Stars
3
Forks
6
Last commit
13 days ago
Repository age
3 months
License
Apache-2.0

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to add-mlinter-rule

add-mlinter-rule: Install, Config & GitHub Signals – SkillIndex