Agent skill

LobeHub Alint Rule Set Maintenance

by lobehub in lobehub/lobehub

Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.

Custom licenceAuto-check passedDevelopment

Install LobeHub Alint Rule Set Maintenance

skills CLI
$ npx skills add lobehub/lobehub --skill alint-ruleset -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lobehub/lobehub alint-ruleset --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/alint-ruleset .claude/skills/alint-ruleset && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
alint-ruleset
GitHub stars
83k
Token cost
~1.9k tokens
SKILL.md length
920 words
Files
10 (incl. scripts, references)
Skills in repo
50
Repo updated
First seen
Licence
Custom licence

At a glance

Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.

  • Works in 5 steps: .alint/config.toml exists (gitignored;… → bun run alint plugin install has run,… → In a git worktree, install dependencies… → …
  • Adding a new alint rule or narrowing an existing one
  • SKILL.md covers The loop, Decision rules, Preflight — before any… and Where the pieces live, plus 1 more section
  • Runs TypeScript scripts from its folder; calls bun; needs ALINT_API_KEY and DEEPSEEK_API_KEY

What it does

The `packages/alint` folder holds lint rules for judgment calls that ESLint cannot express, such as a secondary button not being `primary`. Each rule is a prompt run per file through alint and cached by file content. This skill owns the lifecycle of the set: how a rule is written, how its false positives are removed, when it earns `error` and what it costs. It does not own the rules in `packages/alint/rules` or restate the reading contract in the package README, which should be read once before editing a rule.

The work is one loop. Phase A collects the standard from the owner's recent review rejections, keeping what recurs. Phase B authors the rule in `rule.alint.toml` with what to report, where to anchor and an explicit do-not-report list. Phase C calibrates by scanning, sampling, classifying true and false positives, writing recurring false-positive patterns back as carve-outs and cold-running fixtures. Phase D clusters findings into a cleanup backlog, and phase E promotes from warn to error only at zero false positives on real PRs. Scripts cover rejections, cost reports, alint runs and finding samples.

When your agent uses it

  • Adding a new alint rule or narrowing an existing one
  • Classifying findings as true or false positives
  • Deciding whether a rule should move from warn to error
  • Running the weekly review of the rule set and its token cost

Example prompts

  • “Add an alint rule that flags secondary buttons using the primary variant, then calibrate it against the source.”
  • “Sample this rule's findings and classify which are false positives.”
  • “Based on recent PR data, should this rule be promoted from warn to error?”
  • “Run the weekly alint rule-set review and report the cost.”

Requirements

  • A LobeHub repository checkout with `packages/alint`
  • GitHub access to pull PR data for severity decisions

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. .alint/config.toml exists (gitignored; bun run alint:setup, needs ALINT_API_KEY or
  2. bun run alint plugin install has run, and is re-run after adding a rule or a
  3. In a git worktree, install dependencies for real. A symlinked node_modules resolves
  4. Delete .alintcache after every rule edit while calibrating. The local cache is keyed
  5. Confirm a run is cold when a count is quoted. A warm run replays the previous results and

What it can do on your machine

Read from SKILL.md and the folder at commit 35d442e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ALINT_API_KEY
    • DEEPSEEK_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LobeHub Alint Rule Set Maintenance loads about 1.9k tokens when it runs, and up to ~7.3k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 920 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 920 words (~1,919 tokens).

“packages/alint holds the model-backed lint rules for the judgement calls ESLint cannot express — semantic rules such as "fan-out over a runtime-sized list needs pMap" or "a secondary button is not primary". Each rule is a prompt that runs per…”

— opening of SKILL.md by lobehub, Custom licence
name
alint-ruleset
argument-hint
add <rule> | calibrate <rule> | promote | weekly

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references) in .agents/skills/alint-ruleset of lobehub/lobehub.

  • SKILL.md
  • references/calibration.md
  • references/cost.md
  • references/promotion.md
  • references/rule-authoring.md
  • references/weekly.md
  • scripts/collect-rejections.ts
  • scripts/cost-report.ts
  • scripts/pull-alint-runs.ts
  • scripts/sample-findings.ts

Open the folder on GitHubat commit 35d442e

Compare with similar skills

LobeHub Alint Rule Set Maintenance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LobeHub Alint Rule Set Maintenance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LobeHub Alint Rule Set Maintenance this skilllobehub/lobehub83k—~1.9kAutomated safety check: PassCustom licence
Figma Policy Guardrailsjeremylongshore/tons-of-skills-marketplace2.8k—~2kAutomated safety check: NotesMIT
Code Qualityredis/RedisInsight8.9k—~1.2kAutomated safety check: PassCustom licence
Obsidian Plugin Development Guidelinesgapmiss/obsidian-plugin-skill190—~4.5kAutomated safety check: PassMIT
Cb Code QualityBlkLeg/CircuitBreaker201—~1.9kAutomated safety check: PassMIT
Code QualitySidiora-Labs/centra-llm-agents116—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Figma Policy Guardrails

    jeremylongshore/tons-of-skills-marketplace

    Enforce security policies and coding standards for Figma API integrations.

    2.8k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Quality

    redis/RedisInsight

    Official

    Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…

    8.9k GitHub stars~1.2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Obsidian Plugin Development Guidelines

    gapmiss/obsidian-plugin-skill

    Rules and references for building Obsidian plugins: ESLint rules, TypeScript practices, memory cleanup, API choices, UI standards and the community submission process.

    190 GitHub stars~4.5k tokensUpdated 15 days ago
    DevelopmentAuto-check passed
  • Cb Code Quality

    BlkLeg/CircuitBreaker

    Circuit Breaker code conventions and the quality gates that actually block a push — ruff, mypy, eslint, the pytest coverage ratchet, and the make verify tiers.

    201 GitHub stars~1.9k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Code Quality

    Sidiora-Labs/centra-llm-agents

    Code quality standards and best practices. An agent skill from Sidiora-Labs/centra-llm-agents.

    116 GitHub stars~1.2k tokensUpdated 21 days ago
    DevelopmentAuto-check passed
  • Create custom Code Analyzer rules for Regex (pattern matching), PMD (XPath/AST for Apex and metadata XML), and ESLint (LWC/JavaScript/TypeScript).

    1.1k GitHub stars~9.9k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from lobehub/lobehub

All 50 skills in this repo
  • Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.

    83k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Verifies a delivery end to end by driving the real product on a CLI, web, desktop or iOS Simulator surface, capturing evidence and publishing a round with the lh CLI.

    83k GitHub stars~9.7k tokensUpdated today
    Auto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Guides building LobeHub builtin agent tools, from the manifest and execution runtime to executors, chat UI renders and registry wiring.

    83k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Explains how LobeHub client code fetches data through services, SWR store hooks and cache keys, and when to avoid useEffect fetching or duplicated state.

    83k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Guides work on LobeHub's own product search: the shared search repository, provider choice, Elasticsearch mappings, change syncing and reindexing.

    83k GitHub stars~4.1k tokensUpdated today
    Auto-check passed

Works with

Questions about LobeHub Alint Rule Set Maintenance

What does LobeHub Alint Rule Set Maintenance do?

Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost. The `packages/alint` folder holds lint rules for judgment calls that ESLint cannot express, such as a secondary button not being `primary`. Each rule is a prompt run per file through alint and cached by file content.

When should I use LobeHub Alint Rule Set Maintenance?

LobeHub Alint Rule Set Maintenance fits situations like: adding a new alint rule or narrowing an existing one; classifying findings as true or false positives; deciding whether a rule should move from warn to error; running the weekly review of the rule set and its token cost.

How do I install LobeHub Alint Rule Set Maintenance in Claude Code?

Run `npx skills add lobehub/lobehub --skill alint-ruleset -a claude-code`. Or copy the skill folder (.agents/skills/alint-ruleset in lobehub/lobehub) into .claude/skills/alint-ruleset in your project. Claude Code loads it when a task matches its description.

How do I install LobeHub Alint Rule Set Maintenance in Codex?

Run `npx skills add lobehub/lobehub --skill alint-ruleset -a codex`. Or copy the skill folder (.agents/skills/alint-ruleset in lobehub/lobehub) into .agents/skills/alint-ruleset in your project. Codex loads it when a task matches its description.

Can I use LobeHub Alint Rule Set Maintenance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lobehub/lobehub --skill alint-ruleset -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alint-ruleset, .gemini/skills/alint-ruleset, .github/skills/alint-ruleset and .opencode/skills/alint-ruleset in your project.

What does LobeHub Alint Rule Set Maintenance need to run?

Going by SKILL.md and its folder, LobeHub Alint Rule Set Maintenance needs TypeScript for the scripts in its folder, the command-line tools its instructions call (bun) and credentials named ALINT_API_KEY and DEEPSEEK_API_KEY. Our summary lists: A LobeHub repository checkout with `packages/alint`; GitHub access to pull PR data for severity decisions.

Does LobeHub Alint Rule Set Maintenance access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is LobeHub Alint Rule Set Maintenance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does LobeHub Alint Rule Set Maintenance use?

LobeHub Alint Rule Set Maintenance has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does LobeHub Alint Rule Set Maintenance use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.4k tokens, read only when the agent opens those files.

What are the alternatives to LobeHub Alint Rule Set Maintenance?

Skills that share tags, products or a category with LobeHub Alint Rule Set Maintenance: Figma Policy Guardrails (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Code Quality (redis/RedisInsight, 8.9k stars), Obsidian Plugin Development Guidelines (gapmiss/obsidian-plugin-skill, 190 stars) and Cb Code Quality (BlkLeg/CircuitBreaker, 201 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LobeHub Alint Rule Set Maintenance?

lobehub (a GitHub organization) maintains it in lobehub/lobehub, which has 83,074 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 9, 2026.

Source: lobehub/lobehub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.