create-lang-dev-skill
Create a language-specific development skill by mining PR reviews, codebase conventions, build system patterns, and team documentation. Use when the user wants to create a new lang-dev skill (e.g., rust-dev, go-dev, python-dev) for their project.
What this skill does
# Create Language-Dev Skill
Use this skill when the user wants to **create a new language-specific development skill** for their project (e.g., rust-dev, go-dev, python-dev, java-dev).
## Overview
A lang-dev skill captures the conventions that live in reviewers' heads — the patterns that linters and formatters can't enforce. This skill guides you through a systematic process to extract those conventions and produce a high-quality skill file.
**Target output:** The final skill file should be **under 500 lines** — scannable, not encyclopedic. Keep this constraint in mind throughout every phase so you collect the most impactful conventions rather than exhaustively cataloging everything.
## Phase 1: Discovery — Understand the Landscape
### 1.1 Find the language footprint
Identify all files for the target language and map the directory structure.
```
- Count total files (e.g., *.rs, *.go, *.py)
- Identify major modules/packages/crates
- Map the directory tree by domain (CLI tools, libraries, services, etc.)
```
**What to look for:**
- How many files exist? (< 50 = small footprint, 50-500 = medium, 500+ = large)
- Are they concentrated in one area or spread across the repo?
- Is there a workspace/monorepo structure?
#### Monorepo considerations
If the project is a monorepo with multiple packages, services, or crates:
- Determine whether conventions are **repo-wide** or **per-package**. Some monorepos have different teams and styles per subdirectory.
- Check for a top-level build config (e.g., root `Cargo.toml` workspace, Go workspace `go.work`, Bazel `WORKSPACE`) that unifies builds.
- Ask the user whether the skill should cover the **entire repo** or a **specific subtree**. Scoping to a subtree keeps the skill focused and under the 500-line target.
- When mining PRs later (Phase 2), filter by the relevant path prefix to avoid mixing conventions from unrelated parts of the repo.
### 1.2 Identify the build system
Determine how the language is built, tested, linted, and formatted. **Do not assume** — verify each claim against actual config files and CI pipelines.
**Check these in order:**
1. Build config files (BUILD/BUILD.bazel, Makefile, package.json, pyproject.toml, go.mod, etc.)
2. CI pipeline configs (.circleci/, .github/workflows/, Jenkinsfile, etc.)
3. Formatter/linter configs (.eslintrc, .golangci.yml, clippy.toml, ruff.toml, etc.)
4. Root-level scripts or Makefiles that wrap build commands
**Key questions to answer:**
- What is the canonical build command? (e.g., `bazel build`, `go build`, `npm run build`)
- What is the canonical test command?
- What is the canonical lint command? Is linting separate or integrated into the build?
- What is the canonical format command?
- Can the native language toolchain be used (e.g., `cargo test`, `go test`), or must you use the build system (e.g., `bazel test`)? **Verify this — don't assume.**
### 1.3 Ask for team documentation
**Always ask the user** if they have internal documentation. This is often the most valuable source.
Prompt the user with:
> Do you have any of the following for this language?
> - Wiki/Confluence pages about development conventions
> - Style guides or coding standards documents
> - Onboarding docs for new developers
> - ADRs (Architecture Decision Records)
> - README files in language-specific directories
>
> These are often the most authoritative source for conventions that go beyond linters.
If documentation exists, use it as the **primary source of truth** — it overrides patterns inferred from code alone.
## Phase 2: Mine PR Reviews — The Core Value
This is where the most valuable, non-obvious conventions live. Linters catch syntax; PR reviews catch design.
### 2.1 Find PRs that touch the target language
The examples below use the GitHub `gh` CLI. If the project uses **GitLab** (`glab`), **Bitbucket**, or another platform, adapt the commands to the equivalent API. The key data you need is the same: a list of merged PRs with their review comments.
```bash
# Get recent merged PRs (adjust owner/repo)
gh pr list --state merged --limit 100 --json number,title,files
# Filter for PRs touching the target language files
# Look for .rs, .go, .py, .java, .ts, etc.
```
**Target: 15-30 PRs with substantive review comments.** If fewer exist, the language may be too new in the project for a full skill — supplement with `git log --all --follow` history and `git blame` archaeology on key files to surface conventions that predate formal code review. Note this limitation in the final skill.
### 2.2 Extract review comments
```bash
# Get the repo owner/name
gh repo view --json owner,name
# For each PR, get inline review comments
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments
```
### 2.3 Categorize comments
Classify each comment into one of these buckets. **Ignore** anything that a linter or formatter would catch automatically.
| Category | What to Look For |
|----------|-----------------|
| **String/formatting patterns** | Format string conventions, logging patterns |
| **Error handling** | Error propagation style, context/wrapping, fail-fast vs. graceful |
| **Architecture** | Module organization, separation of concerns, layer boundaries |
| **Naming** | Semantic naming rules, domain-specific terminology, URL/API naming |
| **Type design** | Generic vs. concrete types, ownership/borrowing, interface design |
| **Testing** | Test expectations, test isolation, mocking patterns, what to test |
| **Logging/observability** | Which logging framework, structured vs. unstructured, log levels |
| **Configuration** | Hardcoded vs. configurable, defaults, env vars vs. flags |
| **Dependencies** | Preferred libraries, version management, internal vs. external |
| **Code organization** | File layout, module boundaries, shared code extraction |
| **Build system** | Build target patterns, visibility rules, CI integration |
| **Documentation** | Doc comment expectations, what needs docs, example requirements |
| **Performance** | Unnecessary allocations, cloning, concurrency patterns |
| **Security** | Input validation, secret handling, auth patterns |
These are common categories, but let the actual PR comments drive the taxonomy. Create new categories if a project has a dominant pattern not listed here (e.g., "migration patterns" for a database-heavy project, or "FFI boundaries" for a mixed-language codebase).
### 2.4 Count and rank
For each category, record:
- **Frequency**: How many times it appeared across PRs
- **Reviewers**: Which reviewers raised it (identifies subject-matter experts)
- **Example quotes**: Direct quotes from the most clear/representative comments
**Rank categories by frequency.** The top 5-7 categories become the core sections of the skill.
## Phase 3: Verify — Trust but Check
**Every claim in the skill must be verified against the actual codebase or documentation.**
### 3.1 Verify build commands
First, **inspect configuration files** (BUILD files, Makefiles, CI configs, `package.json` scripts, etc.) to verify every command you plan to document. Check that:
- The build target exists
- The target name is correct (e.g., `:lib_test` vs `:my_crate_test`)
- The format command includes this language
- Linting is integrated into the build or is a separate step
If inspection alone is ambiguous, run the commands to confirm — but prefer reading config files as the primary verification method, since running commands may have side effects or require environment setup.
### 3.2 Verify conventions against code
For each convention from PR reviews, check if the codebase actually follows it:
- Search for counter-examples (code that violates the convention)
- If violations are widespread, the convention may be aspirational, not enforced — note this
- If violations are rare and recent PRs fix them, the convention is real
### 3.3 Cross-reference with documentation
If the user provided wiki/docs, check for contradictions between:
- What PR reviewers say
- What theRelated 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.