Ring:Fixing Lint logo

Ring:Fixing Lint

Organization
LerianStudio
ring:fixing-lint

Fixing lint to a clean state: runs the linter, groups reported issues into independent streams, and dispatches one parallel fixer agent per stream (ring:backend-go for Go, ring:general-purpose otherwise), iterating until clean. Use when a codebase has lint errors across multiple files. Skip for a single error (fix directly), already-passing lint, or view-only requests; security lints are reported, not auto-fixed.

Overview

PublisherLerianStudio
Repositoryring
Skill namering:fixing-lint
Stars
215
Forks
28
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LerianStudio on GitHub. Read the source before you install it.

Installation

Install the Ring:Fixing Lint AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LerianStudio/ring.git /tmp/ring
mkdir -p .claude/skills
cp -r /tmp/ring/default/skills/fixing-lint .claude/skills/lerianstudio-ring-fixing-lint
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ring:Fixing Lint in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ring:Fixing Lint on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ring:Fixing Lint is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Linting Codebase

When to use

  • User runs /ring:fixing-lint command
  • Codebase has lint issues that need fixing
  • Multiple lint errors across different files/components

Skip when

  • Single lint error → fix directly without agent dispatch
  • Lint already passes → nothing to do
  • User only wants to see lint output, not fix

Run lint checks, group issues into independent streams, dispatch parallel agents, iterate until clean.

⛔ Critical Constraints (communicate to ALL dispatched agents)

  • DO NOT create automated scripts to fix lint issues
  • DO NOT create documentation or README files
  • DO NOT add comments explaining the fixes
  • Fix each issue directly by editing source code
  • Minimal changes — only what's needed for lint

Phase 1: Run Lint

Detect command: make lintnpm run lintyarn lintpnpm lintgolangci-lint runcargo clippyruff check .eslint .

bash
<lint_command> 2>&1 | tee /tmp/lint-output.txt; echo "EXIT_CODE: ${PIPESTATUS[0]}"

If EXIT_CODE is non-zero, lint failed. Report failure clearly before proceeding to grouping.

Parse: file path, line:column, error code/rule, message, severity.

Phase 2: Group into Streams

Issue CountGrouping Strategy
< 10By file
10-50By directory
50-100By error type/rule
> 100By component/module

A stream is independent if: files don't import each other, fixes won't conflict, agents can work without knowledge of other streams.

Phase 3: Parallel Agent Dispatch

⛔ STOP-CHECK BEFORE DISPATCH

Before emitting any Task call, count the agents you intend to launch in this turn.

  • Count MUST equal the number of independent streams you identified in Phase 2.
  • If your dispatch count diverges from your stream count → STOP and reconcile against the Phase 2 grouping.
  • One agent per stream. No substitutions, no omissions.

⛔ MUST NOT trickle-dispatch

All stream agents leave in the SAME TURN, before reading any agent output.

Forbidden sequences:

  • Dispatch agent 1 → read result → dispatch agent 2
  • Dispatch a subset → wait → dispatch the rest
  • Dispatch follow-up agents conditioned on partial output
  • Loop sequentially over the stream list

If you find yourself about to dispatch a stream agent in a turn AFTER any agent has already returned a result → STOP. You violated parallel dispatch. Report the violation and mark the phase INCOMPLETE rather than completing the trickle. (The verification loop in Phase 4 may dispatch a fresh round; that round is itself bound by the same rule.)

Self-verify after dispatch

After the dispatch turn, verify all stream Task calls were emitted in that single turn. If fewer went out than scoped streams, the phase did NOT execute correctly. Mark INCOMPLETE and surface the dispatch failure — do NOT silently continue with a partial pool.

Parallel dispatch — atomic batch

Emit all scoped Task calls (the count established in the STOP-CHECK above) in a SINGLE TURN, as one atomic batch.

If your runtime exposes a multi_tool_use.parallel wrapper, use it to dispatch the complete pool in one wrapped invocation. This is the canonical fan-out mechanism on OpenAI-style tool envelopes and on certain Anthropic SDK consumers — naming it explicitly activates parallel emission on runtimes where trickle-dispatch is the default behavior.

If your runtime emits parallel tool_use blocks natively (Claude Code with Claude models), multi_tool_use.parallel may not be needed — but naming it is harmless and serves as an enforcement anchor.

The STOP-CHECK, anti-trickle, and self-verify guards above remain binding regardless of which mechanism your runtime uses.

Single turn with multiple Task calls — one ring:general-purpose agent per stream.

Each agent receives: scope (files/dirs), issues (file:line:col + message), constraints (from above).

Dispatch when: 3+ files have issues, issues are in independent areas, fixes are mechanical.

Skip dispatch when: single file → fix directly, issues require architectural decisions, fixes would break things.

Phase 4: Verification Loop (max 5 iterations)

Re-run lint after all agents complete:

ResultAction
Lint passes✅ Done
Same issues remain⚠️ Investigate why fixes failed
New issues appeared🔄 Analyze + dispatch new agents
Fewer issues remain🔄 New streams, repeat

After 5 iterations: report remaining issues and ask user.

Output

Success: Initial issues, streams processed, agents dispatched, iterations, all pass, changes by stream.

Partial: Remaining issues with reasons (e.g., requires external types, intentional usage), recommended actions.

Agent Selection

Issue TypeAgent
TypeScript/JavaScriptring:general-purpose
Goring:backend-go
Security lintsring:security-reviewer for report/analysis only — security findings are not auto-fixed; escalate to human review
Style/formattingring:general-purpose

Frequently asked questions

What does the Ring:Fixing Lint AI skill do?

Fixing lint to a clean state: runs the linter, groups reported issues into independent streams, and dispatches one parallel fixer agent per stream (ring:backend-go for Go, ring:general-purpose otherwise), iterating until clean. Use when a codebase has lint errors across multiple files. Skip for a single error (fix directly), already-passing lint, or view-only requests; security lints are reported, not auto-fixed.

Why use Ring:Fixing Lint on TypingMind?

Because you install it once and use it with any model. Ring:Fixing Lint is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ring:Fixing Lint in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LerianStudio/ring/tree/main/default/skills/fixing-lint. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ring:Fixing Lint?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ring:Fixing Lint?

As many as you like. As long as a model supports skills, you can use Ring:Fixing Lint with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ring:Fixing Lint AI skill free?

Yes. It is published on GitHub by LerianStudio under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇