← Catalog

pi-rust-skills

Rust programming skills and a lightweight Rust project context tool for Pi Coding Agent.

ExtensionSkill

Install

Install with PiG

pig install npm:pi-rust-skills

Install with Pi

pi install npm:pi-rust-skills
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./extensions"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.

pi-rust-skills

Rust programming skills and a lightweight Rust project context tool for Pi Coding Agent.

This package is meant to be published to npm and installed by Pi users with:

pi install npm:pi-rust-skills

For a scoped package, rename the package to something like @gripebomb/pi-rust-skills and install it with:

pi install npm:@gripebomb/pi-rust-skills

What it includes

Extension tool

  • rust_project_context — read-only helper that inspects a Rust/Cargo project and returns:
    • Rust/Cargo/rustup/rustfmt/clippy version information.
    • Cargo.toml preview.
    • cargo metadata --no-deps output.
    • Optional cargo tree -e features output.

Skills

SkillPurpose
/skill:rust-project-bootstrapCreate or restructure Rust crates/workspaces.
/skill:rust-code-reviewReview Rust code for correctness, idioms, safety, and maintainability.
/skill:rust-debuggingDiagnose compiler errors, panics, failing tests, and Cargo issues.
/skill:rust-testingAdd unit, integration, doc, async, property, and regression tests.
/skill:rust-async-tokioBuild/review Tokio and async Rust systems.
/skill:rust-cliBuild Rust command-line applications.
/skill:rust-web-apiBuild Rust HTTP APIs and web services.
/skill:rust-databaseBuild Rust database layers, migrations, and query tests.
/skill:rust-wasmBuild Rust WebAssembly projects.
/skill:rust-ffiImplement and review Rust FFI boundaries.
/skill:rust-embedded-no-stdBuild embedded and no_std Rust projects.
/skill:rust-proc-macroBuild and test Rust procedural macros.
/skill:rust-build-crossConfigure build scripts, native dependencies, and cross-compilation.
/skill:rust-performanceProfile and optimize Rust code.
/skill:rust-security-auditAudit Rust projects for security issues.
/skill:rust-crate-publishingPrepare crates for crates.io publishing.
/skill:rust-refactor-migrationSafely refactor and modernize Rust codebases.
/skill:rust-toolchain-ciConfigure Rust toolchains, lint policy, and CI.

Skill selection guide

  • Start with /skill:rust-project-bootstrap for new crates, workspaces, or major project reshaping.
  • Use /skill:rust-debugging when a command fails, code panics, or behavior is wrong.
  • Use /skill:rust-code-review for risk-focused review before merging or publishing.
  • Use /skill:rust-testing when the main task is coverage, regression tests, or test strategy.
  • Use a domain skill when the code has a clear surface: /skill:rust-cli, /skill:rust-web-api, /skill:rust-database, /skill:rust-async-tokio, /skill:rust-wasm, /skill:rust-ffi, /skill:rust-embedded-no-std, /skill:rust-proc-macro, or /skill:rust-build-cross.
  • Use /skill:rust-performance, /skill:rust-security-audit, /skill:rust-crate-publishing, /skill:rust-refactor-migration, or /skill:rust-toolchain-ci for cross-cutting project work.

Skills that combine well

  • CLI or web API work often pairs with /skill:rust-testing, /skill:rust-toolchain-ci, and /skill:rust-crate-publishing.
  • Async services often pair /skill:rust-async-tokio with /skill:rust-web-api, /skill:rust-database, and /skill:rust-performance.
  • FFI, embedded, proc macro, and cross-build tasks often pair with /skill:rust-security-audit and /skill:rust-testing.
  • Release preparation often pairs /skill:rust-crate-publishing with /skill:rust-code-review, /skill:rust-security-audit, and /skill:rust-toolchain-ci.

Local development

git clone https://github.com/gripebomb/pi-rust-skills.git
cd pi-rust-skills
npm test
npm run list

Try it locally in Pi:

pi install ./pi-rust-skills
# or from inside the parent directory:
pi -e ./pi-rust-skills

Then invoke a skill:

/skill:rust-code-review Review this Rust project and suggest fixes.

Package structure

pi-rust-skills/
├── extensions/
│   └── rust-skills.ts
├── skills/
│   ├── rust-project-bootstrap/SKILL.md
│   ├── rust-code-review/SKILL.md
│   └── ...
├── references/
├── scripts/
├── examples/
├── package.json
└── README.md

Pi discovers resources through the pi manifest in package.json:

{
  "keywords": ["pi-package"],
  "pi": {
    "extensions": ["./extensions"],
    "skills": ["./skills"]
  }
}

License

MIT