Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By hashiiiiiv2.11.0MITIn 1 marketplace
Adds skills for commit messages, branch names, GitHub issues and pull requests, and English or Japanese prose checks. English checks need Node.js 20+ and Japanese checks need Python 3.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Shared rules and skills for Claude Code, Codex, and Cursor.
Choose a platform (claude, codex, or cursor) and a scope:
| Scope | Use |
|---|---|
user | All your projects on this machine |
project | One repository, shared through Git |
local | One repository, with installed files excluded from Git |
For example, install for your Codex user:
curl -fsSL https://raw.githubusercontent.com/hashiiiii/rules-for-ai/main/rules-for-ai.sh | sh -s -- install codex user
From a checkout, use the installer directly:
./rules-for-ai.sh <install|uninstall> <claude|codex|cursor> <user|project|local> [path/to/repo]
The path applies to project and local; it defaults to the current directory.
The target must be a Git repository other than this checkout.
Run the same install command to update. Use uninstall with the same platform and scope to remove the installation.
| Platform | Installation |
|---|---|
| Claude Code | Requires the claude CLI. Uses its plugin manager and scope settings. Teammates must trust the repository to load a project installation. |
| Codex | Copies AGENTS.md and skills to $CODEX_HOME (default ~/.codex) and ~/.agents/skills/ for user scope, or to the repository root and .agents/skills/ for project and local scopes. Restart Codex afterward. |
| Cursor | Uses ~/.cursor/plugins/local/rules-for-ai/ for user scope or .cursor/ for project and local scopes. Restart Cursor afterward. |
Codex keeps an existing or modified AGENTS.md and prints a path for manual merging.
Codex and Cursor replace bundled skills on installation and remove them on uninstallation, including local edits.
Cursor keeps a modified or existing foreign hooks.json and prints the entries to add or remove manually.
If Cursor already imports this plugin from Claude Code, skip a second user installation.
Local scope cannot hide files already tracked by Git; use project scope for those files.
To load rules and skills through Codex's plugin system, use:
codex plugin marketplace add hashiiiii/rules-for-ai
codex plugin add rules-for-ai@hashiiiii
Approve the plugin hooks when prompted. Remove it with codex plugin remove rules-for-ai@hashiiiii.
Use hashiiiii-locale with a scope and locale tag, for example local ja_JP.
To set languages separately, use project issues=ja_JP pull-requests=ja_JP comments=ja_JP logs=en_US test-logs=en_US.
| Scope | Locale file |
|---|---|
user | $XDG_CONFIG_HOME/rules-for-ai/LOCALE.md (default ~/.config/rules-for-ai/LOCALE.md) |
project | <repo>/.rules-for-ai/LOCALE.md |
local | <absolute-git-dir>/rules-for-ai/LOCALE.md |
Get the local Git directory with git rev-parse --absolute-git-dir.
Locale scope is independent of installation scope.
Project instructions take precedence; otherwise, the first existing local, project, user, or bundled locale file wins as a whole. The default is en_US.
| Skill | Task |
|---|---|
| hashiiiii-git | Name branches and write commit messages |
| hashiiiii-issues | Create and edit GitHub issues |
| hashiiiii-pull-request | Create and edit pull requests |
| hashiiiii-explain-pr | Explain a pull request from its diff and related code |
| hashiiiii-locale | Set language preferences |
| hashiiiii-write-en | Write and review English; requires Node.js 20+ and npm 8.3+ |
| hashiiiii-write-ja | Write and review Japanese; requires Python 3 |
| hashiiiii-zig | Write and test Zig code |
| hashiiiii-images | Create image assets; SVG conversion requires rsvg-convert |
| hallmark | Design, audit, redesign, and study interfaces |
| show-me | Explain code and workflows visually |
AGENTS.md defines the shared rules, including required writing skills.
See maintenance for checks, dependencies, and releases.
MIT. Bundled dependencies retain their own licenses.
7-day copy clicks
npx claudepluginhub hashiiiii/rules-for-ai --plugin rules-for-aiBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground