dev-specialisms:init-local-tooling
Initialize and configure local development tooling for TypeScript, Rust, and Python projects including monorepos. Use when setting up linting (ESLint, Biome, clippy, ruff), formatting (Prettier, rustfmt, ruff), type checking (tsc, mypy), testing (Vitest, Jest, cargo test, pytest), Git hooks (lefthook for commit-msg, pre-commit, pre-push), GitHub Actions workflows, package publishing (npm, crates.io, PyPI), version management (Changesets), and automated releases. Covers both single-language projects and multi-language monorepos using Nx + pnpm workspaces.
What this skill does
# Local Tooling Initialization
Comprehensive setup for linting, formatting, type checking, testing, Git hooks, CI/CD, and publishing across TypeScript, Rust, and Python projects.
## When to Use This Skill
Use this skill when you need to:
- Initialize tooling for a new TypeScript/Rust/Python project
- Set up monorepo with Nx + pnpm workspaces
- Configure Git hooks with lefthook (conventional commits, pre-commit, pre-push)
- Add GitHub Actions for CI/CD
- Set up automated publishing to npm/crates.io/PyPI
- Configure version bumping and changelog generation with Changesets
- Migrate from Husky to lefthook
- Choose between ESLint+Prettier vs Biome for TypeScript
## Quick Start
### TypeScript Project
**Automated setup:**
```bash
./scripts/init_typescript.sh
```
**Choose tooling:**
- **Biome** (recommended) - Fast, all-in-one, modern
- **ESLint + Prettier** - Traditional, highly configurable
**What you get:**
- Linting and formatting
- TypeScript strict mode
- Vitest for testing
- Package.json scripts
→ **See:** [references/typescript.md](references/typescript.md)
### Rust Project
**Manual setup (opinionated configs in assets/):**
```bash
# Tools come with Rust
rustup component add rustfmt clippy
# Optional: Enhanced tooling
brew install cargo-nextest cargo-deny
# Copy configs from assets/configs/rust/
cp assets/configs/rust/rustfmt.toml .
cp assets/configs/rust/clippy.toml .
```
→ **See:** [references/rust.md](references/rust.md)
### Python Project
**Using uv (recommended):**
```bash
# Install uv
brew install uv
# Create project
uv init my-project
cd my-project
# Add dev dependencies
uv add --dev ruff mypy pytest
# Copy config from assets/
cp assets/configs/python/pyproject.toml .
```
→ **See:** [references/python.md](references/python.md)
### Monorepo Setup
**Create Nx + pnpm monorepo:**
```bash
./scripts/init_monorepo.sh
```
Or manually:
```bash
npx create-nx-workspace@latest my-monorepo
# Choose: pnpm + integrated monorepo
```
→ **See:** [references/monorepo.md](references/monorepo.md)
---
## Workflow Decision Tree
### 1. Choose Project Type
**Single Language Project**
→ Use language-specific init script or manual setup
→ See Quick Start above
**Monorepo (Multiple Packages)**
→ Set up Nx + pnpm workspaces
→ See [references/monorepo.md](references/monorepo.md)
### 2. Configure Git Hooks
**Automated setup:**
```bash
./scripts/setup_lefthook.sh
```
This configures:
- **commit-msg** - Conventional commits validation
- **pre-commit** - Format and lint staged files
- **pre-push** - Full validation (lint, type-check, test, build)
→ **See:** [references/git-hooks.md](references/git-hooks.md)
### 3. Set Up CI/CD
**Copy workflow templates:**
```bash
# Basic CI
cp assets/workflows/ci.yml .github/workflows/
# Language-specific workflows available in assets/
```
→ **See:** [references/ci-cd.md](references/ci-cd.md)
### 4. Configure Publishing (Optional)
**For npm packages:**
```bash
./scripts/setup_changesets.sh
```
Then copy publishing workflows from `assets/workflows/`.
→ **See:**
- [references/version-management.md](references/version-management.md)
- [references/publishing.md](references/publishing.md)
---
## Language-Specific Guides
### TypeScript/JavaScript
**Tooling options:**
- **Biome** - Fast, opinionated, all-in-one (recommended for new projects)
- **ESLint + Prettier** - Traditional, highly configurable (recommended for existing projects)
**Testing:**
- **Vitest** - Modern, fast, Vite-based (recommended)
- **Jest** - Established, widely used
**Key decisions:**
- Choose Biome for speed and simplicity
- Choose ESLint+Prettier for existing projects or specific plugins
→ **Full guide:** [references/typescript.md](references/typescript.md)
### Rust
**Built-in tools:**
- `rustfmt` - Code formatting
- `clippy` - Linting
- `cargo test` - Testing
**Enhanced tools:**
- `cargo-nextest` - Faster test runner
- `cargo-deny` - Dependency security
- `cargo-make` - Task runner
→ **Full guide:** [references/rust.md](references/rust.md)
### Python
**Modern stack (recommended):**
- **uv** - Fast package manager
- **ruff** - Fast linting + formatting (replaces black, isort, flake8)
- **mypy** - Type checking
- **pytest** - Testing
→ **Full guide:** [references/python.md](references/python.md)
---
## Git Hooks with lefthook
### Why lefthook?
- **Language-agnostic** - Works across TS, Rust, Python
- **Fast** - Parallel execution, written in Go
- **Simple** - Single YAML config
- **Better than Husky** - Faster, works across languages
### Setup
**Automated:**
```bash
./scripts/setup_lefthook.sh
```
**Manual:**
```bash
brew install lefthook
lefthook install
```
### Configuration Example
**lefthook.yml:**
```yaml
commit-msg:
commands:
commitlint:
run: npx commitlint --edit {1}
pre-commit:
parallel: true
commands:
format:
glob: "*.{ts,rs,py}"
run: format-staged-files {staged_files}
stage_fixed: true
pre-push:
commands:
validate:
run: ./scripts/validate_all.sh
```
→ **Full guide:** [references/git-hooks.md](references/git-hooks.md)
---
## Monorepo Management
### Nx + pnpm Workspaces
**Key principle:** Nx builds on top of pnpm, doesn't replace it.
- **pnpm workspaces** - Dependency management
- **Nx** - Task orchestration, caching, affected commands
### Benefits
- Run tasks only for affected packages
- Intelligent caching
- Parallel execution
- Supports multiple languages
### Common Commands
```bash
# Run target for all packages
nx run-many --target=build --all
# Run only for affected
nx affected --target=test
# Visualize dependencies
nx graph
```
→ **Full guide:** [references/monorepo.md](references/monorepo.md)
---
## Version Management & Publishing
### Changesets Workflow
**Recommended for monorepos and npm packages.**
1. **Add changeset:**
```bash
pnpm changeset
# Select packages, type (major/minor/patch), write summary
```
2. **Version packages:**
```bash
pnpm changeset version
# Updates package.json, generates CHANGELOG.md
```
3. **Publish:**
```bash
pnpm changeset publish
git push --follow-tags
```
### Automated Publishing
Use GitHub Actions to automate releases:
**Copy workflow:**
```bash
cp assets/workflows/publish-changesets.yml .github/workflows/
```
This creates "Version Packages" PR on main when changesets exist.
→ **See:**
- [references/version-management.md](references/version-management.md)
- [references/publishing.md](references/publishing.md)
---
## CI/CD Setup
### Match Local Validation
**Best practice:** Run same checks in CI as local pre-push hook.
**GitHub Actions templates:**
- `ci.yml` - Basic linting, testing, building
- `publish-npm.yml` - Automated npm publishing
- `publish-crates.yml` - Automated crates.io publishing
- `publish-pypi.yml` - Automated PyPI publishing
### Matrix Testing
Test across multiple versions:
```yaml
strategy:
matrix:
node-version: [18, 20, 21]
os: [ubuntu-latest, macos-latest]
```
### Nx Monorepo CI
Use affected commands to only test changed packages:
```bash
nx affected --target=test
nx affected --target=build
```
→ **Full guide:** [references/ci-cd.md](references/ci-cd.md)
---
## Common Tasks
### Initialize TypeScript Project
**Automated:**
```bash
./scripts/init_typescript.sh --biome
# or
./scripts/init_typescript.sh --eslint-prettier
```
**Creates:**
- tsconfig.json (strict mode)
- Linting config (biome.json or eslint.config.js)
- Formatting config (.prettierrc.json if ESLint)
- Testing config (vitest.config.ts)
- Package.json scripts
### Set Up Git Hooks
```bash
./scripts/setup_lefthook.sh
```
**Configures:**
- Conventional commits validation
- Pre-commit: lint/format staged files
- Pre-push: full validation
### Configure Changesets
```bash
./scripts/setup_changesets.sh
```
**Sets up:**
- .changeset/ directory
- Package.json scripts
- Public access configuration
### Full Validation
```bash
./scripts/validate_all.sh
```
**Runs:**
- Format checking
- LiRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.