Source profileQuality 91/100Review permissions

gaelic-ghost/socket/plugins/rust-skills/skills/bootstrap-cargo-project/SKILL.md

bootstrap-cargo-project

Bootstrap or guide a reproducible Rust Cargo project with explicit package or workspace shape, cargo new or cargo init usage, edition and MSRV checks, rust-toolchain handling, test layout, and initial validation commands. Use after the Rust project shape is settled or when adding a new Cargo package to an existing repository.

Source repository stars
6
Declared platforms
0
Static risk flags
1
Last source update
2026-08-21
Source checked
2026-08-25

Decision brief

What it does: where it fits

Bootstrap or guide a reproducible Rust Cargo project with explicit package or workspace shape, cargo new or cargo init usage, edition and MSRV checks, rust-toolchain handling, test layout, and initial validation commands. Use after the Rust project shape is settled or when adding a new Cargo package to an existing repository.

Best for

  • Create or guide a reproducible Rust project scaffold without hiding important Cargo, edition, MSRV, or workspace decisions.
  • The user should leave with a clear package or workspace layout and validation commands that prove the scaffold works.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/gaelic-ghost/socket --skill "plugins/rust-skills/skills/bootstrap-cargo-project"
Safe inspection promptEditorial

Inspect the Agent Skill "bootstrap-cargo-project" from https://github.com/gaelic-ghost/socket/blob/1140bc0b60f2c938b81d67dcee88a5eeb2e2f39d/plugins/rust-skills/skills/bootstrap-cargo-project/SKILL.md at commit 1140bc0b60f2c938b81d67dcee88a5eeb2e2f39d. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Guidance Workflow

    1. Inspect the target: - existing files - git state - Cargo.toml - Cargo.lock - rust-toolchain.toml or rust-toolchain - .cargo/config.toml - CI workflows 2. Confirm the project shape and target path. 3. Choose Cargo creation command: - use cargo new for a new package directory -…

    Inspect the target:existing filesgit state
  2. 02

    Purpose

    Create or guide a reproducible Rust project scaffold without hiding important Cargo, edition, MSRV, or workspace decisions.

    Create or guide a reproducible Rust project scaffold without hiding important Cargo, edition, MSRV, or workspace decisions.The user should leave with a clear package or workspace layout and validation commands that prove the scaffold works.
  3. 03

    Source Check

    Use repo-local Rust files, checked-out dependency sources, Dash MCP or Dash HTTP for installed Rust docsets, and then official Rust documentation when Dash/local coverage is missing or stale:

    The Cargo Bookcargo newcargo init
  4. 04

    Required Inputs

    If the user has not selected a package or workspace shape, use rust:choose-project-shape first.

    target pathpackage or workspace nameproject shape
  5. 05

    Command Recipes

    Package inside an existing Git repository:

    Package inside an existing Git repository:Check the resolver against the repository's edition and Cargo policy before adding it.

Permission review

Static risk signals and limitations

Runs scripts

medium · line 70

The documentation asks the agent to run terminal commands or scripts.

cargo new my-tool --bin

Runs scripts

medium · line 72

The documentation asks the agent to run terminal commands or scripts.

cargo test

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars6SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
gaelic-ghost/socket
Skill path
plugins/rust-skills/skills/bootstrap-cargo-project/SKILL.md
Commit
1140bc0b60f2c938b81d67dcee88a5eeb2e2f39d
License
Apache-2.0
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Bootstrap Cargo Project

Purpose

Create or guide a reproducible Rust project scaffold without hiding important Cargo, edition, MSRV, or workspace decisions.

The user should leave with a clear package or workspace layout and validation commands that prove the scaffold works.

Source Check

Use repo-local Rust files, checked-out dependency sources, Dash MCP or Dash HTTP for installed Rust docsets, and then official Rust documentation when Dash/local coverage is missing or stale:

Cargo currently defaults new packages to the current Rust edition documented by Cargo. Do not hard-code an older edition in new scaffolds unless the repository compatibility policy calls for it.

Required Inputs

  • target path
  • package or workspace name
  • project shape
  • binary, library, or workspace expectation
  • edition expectation
  • MSRV expectation
  • test expectation
  • toolchain pinning expectation
  • git initialization or commit expectation

If the user has not selected a package or workspace shape, use rust:choose-project-shape first.

Guidance Workflow

  1. Inspect the target:
    • existing files
    • git state
    • Cargo.toml
    • Cargo.lock
    • rust-toolchain.toml or rust-toolchain
    • .cargo/config.toml
    • CI workflows
  2. Confirm the project shape and target path.
  3. Choose Cargo creation command:
    • use cargo new for a new package directory
    • use cargo init for an existing directory
    • use --bin for executable packages
    • use --lib for library packages
    • use --vcs none when inside an existing repository
  4. Choose edition and MSRV behavior:
    • preserve existing edition in established repos
    • use Cargo's current default for new standalone packages unless the user asks for a specific edition
    • add rust-toolchain.toml only when reproducibility or contributor setup needs it
    • do not invent an MSRV without a repository or user decision
  5. Add test layout:
    • unit tests near implementation for private behavior
    • tests/ for integration tests that use the crate externally
    • doctests when public examples should compile
  6. Run validation appropriate to the scaffold.
  7. Report generated paths and exact commands.

Command Recipes

Binary package:

cargo new my-tool --bin
cd my-tool
cargo test

Library package:

cargo new my-library --lib
cd my-library
cargo test

Package inside an existing Git repository:

cargo new crates/my-crate --lib --vcs none
cargo test -p my-crate

Existing directory:

cargo init --lib --vcs none
cargo test

Minimal workspace root:

[workspace]
resolver = "3"
members = [
    "crates/my-crate",
]

Check the resolver against the repository's edition and Cargo policy before adding it.

Validation

Prefer the smallest validation that proves the scaffold:

cargo fmt --check
cargo clippy --all-targets --all-features
cargo test

Use cargo build when tests are intentionally absent. Use cargo package only for publishable crate surfaces.

Output Shape

Return:

  1. Created or planned layout: package, crate targets, workspace members, tests, and examples.
  2. Cargo commands: exact commands run or recommended.
  3. Compatibility behavior: edition, MSRV, toolchain, and feature constraints.
  4. Validation: format, lint, build, test, or package results.
  5. Next skill: implementation, testing, or tooling handoff.

Guardrails

  • Do not scaffold into a non-empty directory without checking the user's intent.
  • Do not initialize nested Git repositories inside an existing repository unless the user explicitly asks for that.
  • Do not add rust-toolchain.toml or pin nightly without a concrete reproducibility reason.
  • Do not add dependencies before the project shape and validation path are clear.
  • Do not commit generated files unless the user asks for a commit or the active repo workflow calls for one.

Frequently asked questions

What to verify before installation and use

What does the bootstrap-cargo-project source document cover?

Bootstrap or guide a reproducible Rust Cargo project with explicit package or workspace shape, cargo new or cargo init usage, edition and MSRV checks, rust-toolchain handling, test layout, and initial validation commands. Use after the Rust project shape is settled or when adding a new Cargo package to an existing repository.

How do I install bootstrap-cargo-project?

The source record exposes this install command: npx skills add https://github.com/gaelic-ghost/socket --skill "plugins/rust-skills/skills/bootstrap-cargo-project". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10029,034

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10024,921

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1005,241

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 991,257

vipshop/cache-dit

cache-dit-model-integration

High-level guide for integrating a new DiT model into cache-dit: Cache (BlockAdapter/ForwardPattern), Context Parallelism, Tensor Parallelism, Text Encoder Parallelism (TE-P), VAE Parallelism (VAE-P), generate CLI, installation, testing workflow, and detailed references. Use when adding support for a new diffusion transformer model in cache-dit.