AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Ring:fixing Lint

skill-lerianstudio-ring-fixing-lint · by LerianStudio

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…

No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add skill-lerianstudio-ring-fixing-lint

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-lerianstudio-ring-fixing-lint)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ring:fixing Lint? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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 .

 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 Count | Grouping Strategy | |-------------|-------------------| | 100 | By 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:

| Result | Action | |--------|--------| | 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 Type | Agent | |------------|-------| | TypeScript/JavaScript | ring:general-purpose | | Go | ring:backend-go | | Security lints | ring:security-reviewer for report/analysis only — security findings are not auto-fixed; escalate to human review | | Style/formatting | ring:general-purpose |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.