language-linting-skill

language-linting-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 59 tokens per session (5,168 once invoked), scanned A, original, Apache-2.0.

A language-aware linting workflow for Python, JavaScript, TypeScript, Java, and C#. It explains the rule violations reported by tools such as Ruff, ESLint, Checkstyle, and dotnet format.

In plain words
What is it for?
It detects the project toolchain and configuration, runs and fixes lint checks, and guides repairs for common language-specific rules.
Why use it?
It removes the need to interpret different lint tools and coding standards separately for each language.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

Good fit It detects the project toolchain and configuration, runs and fixes lint checks, and guides repairs for common language-specific rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/language-linting-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add darellchua2/opencode-config-template --skill language-linting-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for language-linting-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/language-linting-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/language-linting-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/language-linting-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/language-linting-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,168 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 35
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 240
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.05168
Opus 5 $0.00030 $0.02584
Sonnet 5 $0.00012 $0.01034
Haiku 4.5 $0.00006 $0.00517

Measured 4d ago against content hash 854a9b89f79c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

language-linting-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

opencode_app/.opencode/skills/language-linting-skill/SKILL.md · 579 lines

How it starts

The opening of the file, as written. The whole thing — 579 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I implement per-language linting by extending the linting-workflow framework:

  1. Detect Language & Environment: Identify the project language(s) and toolchain (Poetry/pip, npm/yarn/pnpm, Maven/Gradle, .NET SDK)
  2. Detect Linter Configuration: Check which linter is installed and how it is configured
  3. Delegate to Linting Workflow: Use linting-workflow for the core run-fix-verify loop
  4. Provide Per-Language Guidance: Interpret error codes and rule violations (Ruff F/E/W, ESLint rules, Checkstyle/PMD/SpotBugs, CAxxxx/SAxxxx/IDExxxx)
  5. Ensure Coding Standards: PEP 8, JavaScript/TypeScript style guides, Google Java Style, .NET coding conventions

When to use me

Use this skill when:

  • Writing or modifying code that needs to follow industry standards (Python, JS/TS, Java, C#)
  • Before committing changes to ensure code quality
  • When you see linter errors (Ruff, ESLint, Checkstyle, PMD, SpotBugs, dotnet format) and need help fixing them
  • Setting up a new project with proper linting configuration
  • You want to ensure code quality in automated workflows

Framework: This skill extends linting-workflow for generic linting, adding per-language linter guidance.

Language Detection & Linter Selection

Language File Patterns Primary Linter Auto-Fix Command
Python *.py, pyproject.toml/requirements.txt Ruff ruff check --fix .
JS/TS *.{js,ts,jsx,tsx,mjs,cjs}, package.json ESLint npx eslint --fix .
Java *.java, pom.xml/build.gradle Checkstyle + PMD + SpotBugs Limited (formatter plugins)
C# *.cs, *.csproj/*.sln dotnet format + analyzers dotnet format

Delegate to Linting Workflow

Use linting-workflow framework for:

  • Language detection
  • Linter detection
  • Package manager detection
  • Running linting with appropriate commands
  • Auto-fix application
  • Error resolution guidance
  • Verification and re-running

Read the full file on GitHub · 579 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 579 lines · 59 tokens per session scan A 854a9b89f79c

Subscribe to this mod's changes

language-linting-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 59 tokens to every session and 5,168 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dotnet-reverse

A guide for analyzing compiled .NET and C# programs, including managed Windows executables and libraries. Reverse engineering means studying compiled software to understand how it works, and decompiling turns it back into readable approximate source code.

zhaoxuya520/reverse-skill · 144 tokens

check-bin-obj-clash

Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing/overwritten…

dotnet/skills · 160 tokens

dart-run-static-analysis

Execute dart analyze to identify warnings and errors, and use dart fix --apply to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.

flutter/agent-plugins · 43 tokens

hotpath_init

Configure hotpath profiling in a Rust project. Adds the hotpath dependency with feature-gated setup, instruments main with hotpath::main, functions with measure/measureall, and wraps channels, mutexes, rwlocks, streams, futures, reqwest clients, axum routers and byte-level I/O with hotpath macros. Use when the user…

pawurb/hotpath-rs · 88 tokens

agents-sdk-dotnet-debugging

Use when troubleshooting an agent built with the Microsoft Agents SDK (Microsoft.Agents.Hosting.AspNetCore and related packages) in C# / .NET. Trigger on any of these symptoms: build or C# compile errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, appsettings.json…

microsoft/Agents · 136 tokens

golang-error-handling

Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…

samber/cc-skills-golang · 144 tokens