skilly. Buy ad slot
All skills
Typescript · Rust · Testing / AGENT SKILL

lint

Azure/typespec-rust
0 installs 8 GitHub stars
0

Run TypeScript and Rust linting and spell checks before committing.
Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

Run all linting and spell checking for the project. All commands below assume
you start from the repo root and follow them sequentially.

## TypeScript Linting

```bash
cd packages/typespec-rust
pnpm eslint
```

Fix all warnings and errors before committing.

## Rust Linting

```bash
cd test
cargo clippy --workspace --all-features --all-targets --keep-going --no-deps
```

Note: The emitter automatically runs `cargo fmt` post-codegen if the Rust toolset is installed, so manual formatting is typically not needed.

## Spell Checking

Run from the repo root:
```bash
cd ../..
cspell -c .vscode/cspell.json .
```

This must pass before committing. If new words need to be added, either add them to `.vscode/cspell.json` or use a `<!-- cspell:words ... -->` directive in the affected file.