LobeHub Alint Rule Set Maintenance
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.
Write or revise a habit-hooks coaching prompt. An agent skill from habit-hooks/habit-hooks.
$ npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install habit-hooks/habit-hooks habit-hooks-prompting --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/habit-hooks/habit-hooks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/habit-hooks-prompting .claude/skills/habit-hooks-prompting && rm -rf skills-srcUse ~/.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/
Install the "habit-hooks-prompting" agent skill from https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-prompting into .claude/skills/habit-hooks-prompting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "habit-hooks-prompting", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-promptingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install habit-hooks/habit-hooks habit-hooks-prompting --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/habit-hooks/habit-hooks.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/habit-hooks-prompting .agents/skills/habit-hooks-prompting && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "habit-hooks-prompting" agent skill from https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-prompting into .agents/skills/habit-hooks-prompting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "habit-hooks-prompting", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install habit-hooks/habit-hooks habit-hooks-prompting --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/habit-hooks/habit-hooks.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/habit-hooks-prompting .cursor/skills/habit-hooks-prompting && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "habit-hooks-prompting" agent skill from https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-prompting into .cursor/skills/habit-hooks-prompting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "habit-hooks-prompting", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/habit-hooks/habit-hooks.git --path skills/habit-hooks-prompting--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install habit-hooks/habit-hooks habit-hooks-prompting --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/habit-hooks/habit-hooks.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/habit-hooks-prompting .gemini/skills/habit-hooks-prompting && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "habit-hooks-prompting" agent skill from https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-prompting into .gemini/skills/habit-hooks-prompting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "habit-hooks-prompting", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install habit-hooks/habit-hooks habit-hooks-promptingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/habit-hooks/habit-hooks.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/habit-hooks-prompting .github/skills/habit-hooks-prompting && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "habit-hooks-prompting" agent skill from https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-prompting into .github/skills/habit-hooks-prompting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "habit-hooks-prompting", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install habit-hooks/habit-hooks habit-hooks-prompting --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/habit-hooks/habit-hooks.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/habit-hooks-prompting .opencode/skills/habit-hooks-prompting && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "habit-hooks-prompting" agent skill from https://github.com/habit-hooks/habit-hooks/tree/main/skills/habit-hooks-prompting into .opencode/skills/habit-hooks-prompting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "habit-hooks-prompting", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
habit-hooks-promptingWrite or revise a habit-hooks coaching prompt. An agent skill from habit-hooks/habit-hooks.
Habit Hooks Prompting is an agent skill from habit-hooks/habit-hooks. Write or revise a habit-hooks coaching prompt. Use when a linter / knip / jscpd rule fires and the agent's default fix is wrong or shallow, or when adding a project-local override prompt. Keeps prompts short and outcome-focused using the ROSE pattern.
Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Linting and formatting. It works with ESLint. The repository describes itself as: Automated quality checks that nudge AI coding agents toward better habits. The licence is MIT.
Read from SKILL.md and the folder at commit 5603331. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Habit Hooks Prompting loads about 570 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 297 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from habit-hooks/habit-hooks at commit 5603331, republished under its MIT licence (© habit-hooks). 297 words, ~570 tokens.
.claude/skills/habit-hooks-prompting/SKILL.md (or your agent's skills folder).Coaching prompts exist to change behaviour the agent gets wrong by default — nothing else.
The goal of every prompt is to drive the agent to fix the root cause the violation points at, not to appease the reporting tool. A fix that clears the report while going against the spirit of the rule is a failure, even when the tool goes green.
eslint-disable → write a prompt that redirects it.This is reactive: add a prompt the moment you catch the default behaviour being wrong, not pre-emptively for every rule.
A good prompt is the minimum text that reliably nudges the right behaviour. If it reads like an essay, cut it — direction beats explanation. The agent already has the violation in front of it.
ROSE structures feedback so the agent understands why, not just what, and fixes the cause rather than the symptom:
So a habit-hooks prompt writes R, S, E and lets the tool supply O. See eslint-fatal.md and eslint-typescript-eslint-no-non-null-assertion.md for prompts in this shape.
src/prompts/<slugified-rule-id>.md (: and / → -, @ dropped).prompts: in habit-hooks.config.© habit-hooks, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/habit-hooks-prompting of habit-hooks/habit-hooks.
Open the folder on GitHubat commit 5603331
Habit Hooks Prompting 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Habit Hooks Prompting this skillhabit-hooks/habit-hooks | 222 | — | ~570 | Automated safety check: Pass | MIT | |
| LobeHub Alint Rule Set Maintenancelobehub/lobehub | 83k | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| Eslint Migrate Optionsbiomejs/biome | 26k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Ultraciteagustinusnathaniel/nextarter-tailwind | 125 | 2 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Code Qualityredis/RedisInsight | 8.9k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Boundaries Architectjavierbrea/eslint-plugin-boundaries | 997 | — | ~4.2k | Automated safety check: Pass | MIT |
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.
biomejs/biome
A skill your agent uses when biome migrate eslint must preserve configurable ESLint rule options through source-option models, Biome conversions, typed rule variants, and migration fixtures.
agustinusnathaniel/nextarter-tailwind
Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects.
redis/RedisInsight
Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…
javierbrea/eslint-plugin-boundaries
Act as a software architect: analyze a repository's folder structure and cross-file import dependencies, detect its architectural pattern, design element/file boundaries with the user, and configure…
web-infra-dev/rslint
Port a new ESLint core or plugin rule to rslint, including explicitly requested batches.
habit-hooks/habit-hooks
Cut a new release of the habit-hooks packages. An agent skill from habit-hooks/habit-hooks.
habit-hooks/habit-hooks
Spawn a reviewer sub-agent to assess a change set against habit-hooks's coding principles.
habit-hooks/habit-hooks
Write or trim habit-hooks documentation under docs/. An agent skill from habit-hooks/habit-hooks.
Works with
Categories
Write or revise a habit-hooks coaching prompt. An agent skill from habit-hooks/habit-hooks. Habit Hooks Prompting is an agent skill from habit-hooks/habit-hooks. Write or revise a habit-hooks coaching prompt.
Habit Hooks Prompting fits situations like: A linter / knip / jscpd rule fires and the agents default fix is wrong; adding a project-local override prompt.
Run `npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a claude-code`. Or copy the skill folder (skills/habit-hooks-prompting in habit-hooks/habit-hooks) into .claude/skills/habit-hooks-prompting in your project. Claude Code loads it when a task matches its description.
Run `npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a codex`. Or copy the skill folder (skills/habit-hooks-prompting in habit-hooks/habit-hooks) into .agents/skills/habit-hooks-prompting in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add habit-hooks/habit-hooks --skill habit-hooks-prompting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/habit-hooks-prompting, .gemini/skills/habit-hooks-prompting, .github/skills/habit-hooks-prompting and .opencode/skills/habit-hooks-prompting in your project.
SKILL.md names no scripts, command-line tools or credentials: Habit Hooks Prompting is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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. Review the folder before installing.
Habit Hooks Prompting is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 570 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Habit Hooks Prompting: LobeHub Alint Rule Set Maintenance (lobehub/lobehub, 83k stars), Eslint Migrate Options (biomejs/biome, 26k stars), Ultracite (agustinusnathaniel/nextarter-tailwind, 125 stars) and Code Quality (redis/RedisInsight, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
habit-hooks (a GitHub organization) maintains it in habit-hooks/habit-hooks, which has 222 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 2, 2026.
Source: habit-hooks/habit-hooks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.