Conventions
championswimmer/onepixel_backend
Apply onepixel repository conventions for env loading, DB backend selection, auth locals, error payloads, and shortcode semantics.
Project code patterns and conventions. An agent skill from nklisch/claude-code-modes.
$ npx skills add nklisch/claude-code-modes --skill patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nklisch/claude-code-modes patterns --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/nklisch/claude-code-modes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/patterns .claude/skills/patterns && 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 "patterns" agent skill from https://github.com/nklisch/claude-code-modes/tree/main/.claude/skills/patterns into .claude/skills/patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "patterns", 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/nklisch/claude-code-modes/tree/main/.claude/skills/patternsType 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 nklisch/claude-code-modes --skill patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nklisch/claude-code-modes patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nklisch/claude-code-modes.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/patterns .agents/skills/patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "patterns" agent skill from https://github.com/nklisch/claude-code-modes/tree/main/.claude/skills/patterns into .agents/skills/patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "patterns", 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 nklisch/claude-code-modes --skill patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nklisch/claude-code-modes patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nklisch/claude-code-modes.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/patterns .cursor/skills/patterns && 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 "patterns" agent skill from https://github.com/nklisch/claude-code-modes/tree/main/.claude/skills/patterns into .cursor/skills/patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "patterns", 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/nklisch/claude-code-modes.git --path .claude/skills/patterns--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 nklisch/claude-code-modes --skill patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nklisch/claude-code-modes patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nklisch/claude-code-modes.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/patterns .gemini/skills/patterns && 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 "patterns" agent skill from https://github.com/nklisch/claude-code-modes/tree/main/.claude/skills/patterns into .gemini/skills/patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "patterns", 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 nklisch/claude-code-modes patternsInstalls 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 nklisch/claude-code-modes --skill patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nklisch/claude-code-modes.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/patterns .github/skills/patterns && 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 "patterns" agent skill from https://github.com/nklisch/claude-code-modes/tree/main/.claude/skills/patterns into .github/skills/patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "patterns", 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 nklisch/claude-code-modes --skill patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nklisch/claude-code-modes patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nklisch/claude-code-modes.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/patterns .opencode/skills/patterns && 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 "patterns" agent skill from https://github.com/nklisch/claude-code-modes/tree/main/.claude/skills/patterns into .opencode/skills/patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "patterns", 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.
patternsProject code patterns and conventions. An agent skill from nklisch/claude-code-modes.
Patterns is an agent skill from nklisch/claude-code-modes. Project code patterns and conventions. Auto-loads when implementing, designing, verifying, or reviewing code. Provides detailed pattern definitions with code examples.
Its SKILL.md is about 230 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `as-const-enum.md`, `cli-runner-factory.md` and `fail-fast-errors.md`).
The repository describes itself as: CLI launcher for Claude Code with behaviorally-tuned system prompts — control agency, quality, and scope instead of fighting the defaults. The licence is MIT.
Read from SKILL.md and the folder at commit 4dbbb28. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGlobGrepFrom 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.
Patterns loads about 228 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 51 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 nklisch/claude-code-modes at commit 4dbbb28, republished under its MIT licence (© nklisch). 51 words, ~228 tokens.
.claude/skills/patterns/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.This skill contains detailed pattern documentation for the claude-code-modes project. See individual pattern files for full details with code examples.
Available patterns:
as const Enum Arrays© nklisch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in .claude/skills/patterns of nklisch/claude-code-modes.
Open the folder on GitHubat commit 4dbbb28
Patterns 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 |
|---|---|---|---|---|---|---|
| Patterns this skillnklisch/claude-code-modes | 116 | — | ~228 | Automated safety check: Pass | MIT | |
| Conventionschampionswimmer/onepixel_backend | 186 | — | ~398 | Automated safety check: Pass | None | |
| Conventionsxiaolai/nlpm | 146 | — | ~3.6k | Automated safety check: Pass | ISC | |
| Ecc Conventionsaffaan-m/ECC | 275k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Naming Conventionsthedaviddias/Front-End-Checklist | 74k | — | ~481 | Automated safety check: Pass | MIT | |
| Conventional CommitJanDeDobbeleer/oh-my-posh | 24k | — | ~1.2k | Automated safety check: Notes | MIT |
championswimmer/onepixel_backend
Apply onepixel repository conventions for env loading, DB backend selection, auth locals, error payloads, and shortcode semantics.
xiaolai/nlpm
Universal NL conventions: SKILL.md open spec, AGENTS.md, vague quantifiers, naming.
affaan-m/ECC
Development conventions and patterns for ECC. An agent skill from affaan-m/ECC.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use consistent CSS naming conventions.
JanDeDobbeleer/oh-my-posh
Workflow for generating conventional commit messages following the Conventional Commits specification.
getsentry/sentry
Sentry backend conventions for logging, tracing/spans, span/tag attribute naming, metrics tags, and the options system.
nklisch/claude-code-modes
Compare this project's base prompts and model metadata against a Claude Code release.
nklisch/claude-code-modes
Project structural organization rules for Bun/TypeScript CLI.
nklisch/claude-code-modes
Project stylistic refactoring rules for Bun/TypeScript CLI. An agent skill from nklisch/claude-code-modes.
Project code patterns and conventions. An agent skill from nklisch/claude-code-modes. Patterns is an agent skill from nklisch/claude-code-modes. Project code patterns and conventions.
Run `npx skills add nklisch/claude-code-modes --skill patterns -a claude-code`. Or copy the skill folder (.claude/skills/patterns in nklisch/claude-code-modes) into .claude/skills/patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nklisch/claude-code-modes --skill patterns -a codex`. Or copy the skill folder (.claude/skills/patterns in nklisch/claude-code-modes) into .agents/skills/patterns 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 nklisch/claude-code-modes --skill patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/patterns, .gemini/skills/patterns, .github/skills/patterns and .opencode/skills/patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Patterns is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep.
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.
Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 228 tokens (SKILL.md is roughly 912 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 Patterns: Conventions (championswimmer/onepixel_backend, 186 stars), Conventions (xiaolai/nlpm, 146 stars), Ecc Conventions (affaan-m/ECC, 275k stars) and Naming Conventions (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nklisch (a GitHub user) maintains it in nklisch/claude-code-modes, which has 116 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 1, 2026.
Source: nklisch/claude-code-modes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.