Favicon of rust-locator-patterns

rust-locator-patterns Skill

AI Agent SkillRustOpen source

PET (Python Environment Tools) Rust coding conventions: locator ordering, thread safety, platform gating, JSONRPC rules, version detection, and path/symlink handling. Reference when writing or reviewing Rust code in this repo to avoid convention violations that cause review churn. Published by microsoft in python-environment-tools.

Decision snapshot

Is this a fit?

Best for

Writing, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

2 months ago · MIT license

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is rust-locator-patterns Skill?

PET (Python Environment Tools) Rust coding conventions: locator ordering, thread safety, platform gating, JSONRPC rules, version detection, and path/symlink handling. Reference when writing or reviewing Rust code in this repo to avoid convention violations that cause review churn. Published by microsoft in python-environment-tools. 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
57/100

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

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Writing
  • Writing use cases

Declared skill metadata

  • Source file: .github/skills/rust-locator-patterns/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use rust-locator-patterns Skill

  • Use it for writing.

Built with

RustCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/python-environment-tools
  • Skill file: .github/skills/rust-locator-patterns/SKILL.md

What it does

PET (Python Environment Tools) Rust coding conventions: locator ordering, thread safety, platform gating, JSONRPC rules, version detection, and path/symlink handling. Reference when writing or reviewing Rust code in this repo to avoid convention violations that cause review churn.

Skill instructions

PET Rust Locator Patterns & Conventions Domain knowledge for writing correct Rust code in the Python Environment Tools (PET) repository. Following these patterns prevents the most common review feedback and CI failures. Locator Ordering (CRITICAL) The order of locators in createlocators() in crates/pet/src/locators.rs determines identification priority. More specific locators MUST come before generic ones. Priority Chain (required order): 1. Windows-specific: Windows Store → Windows Registry → WinPython 2. Managed environments: PyEnv → Pixi → Conda 3. Virtual envs (specific → generic): Poetry → PipEnv → VirtualEnvWrapper → Venv → VirtualEnv 4. macOS-specific: Homebrew → MacXCode → MacCmdLineTools → MacPythonOrg 5. Linux fallback: LinuxGlobalPython (MUST BE LAST) Why it matters: If Venv runs before Poetry, a Poetry environment (which IS a venv) gets misidentified as a plain venv. The first locator whose tryfrom() returns Some wins. Environment Identification (tryfrom) Each tryfrom() mus

Verified compatibility and discovery

Frequently asked questions

What is rust-locator-patterns?

rust-locator-patterns is a open-source AI agent skill with Copy skill directory. PET (Python Environment Tools) Rust coding conventions: locator ordering, thread safety, platform gating, JSONRPC rules, version detection, and path/symlink handling.

Who is rust-locator-patterns best for?

rust-locator-patterns is best for reusing agent instructions, scripts, and references, writing workflows.

How do I install rust-locator-patterns?

Install or run rust-locator-patterns using Copy skill directory. Check rust-locator-patterns for the latest setup command.

Is rust-locator-patterns actively maintained?

rust-locator-patterns may need a closer maintenance check before production use.

Share:

Stars
206
Forks
42
Last commit
2 months ago
Last verified
Aug 30, 2026
Metadata fetched
Aug 30, 2026
Repository age
2 years
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to rust-locator-patterns