Dinero Best Practices
dinerojs/dinero.js
Core best practices for the Dinero.js money library. An agent skill from dinerojs/dinero.js.
Workflow for refactoring discipline-level guides (e.g., JavaScript, CSS) to remove "Common Knowledge" by generating and comparing against model-specific "Knowledge Mirrors".
$ npx skills add GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install GoogleChrome/modern-web-guidance-src project-discipline-guides --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/GoogleChrome/modern-web-guidance-src.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/project-discipline-guides .claude/skills/project-discipline-guides && 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 "project-discipline-guides" agent skill from https://github.com/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guides into .claude/skills/project-discipline-guides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-discipline-guides", 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/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guidesType 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 GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install GoogleChrome/modern-web-guidance-src project-discipline-guides --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-src.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/project-discipline-guides .agents/skills/project-discipline-guides && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "project-discipline-guides" agent skill from https://github.com/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guides into .agents/skills/project-discipline-guides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-discipline-guides", 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 GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install GoogleChrome/modern-web-guidance-src project-discipline-guides --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-src.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/project-discipline-guides .cursor/skills/project-discipline-guides && 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 "project-discipline-guides" agent skill from https://github.com/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guides into .cursor/skills/project-discipline-guides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-discipline-guides", 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/GoogleChrome/modern-web-guidance-src.git --path .agents/skills/project-discipline-guides--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 GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install GoogleChrome/modern-web-guidance-src project-discipline-guides --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-src.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/project-discipline-guides .gemini/skills/project-discipline-guides && 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 "project-discipline-guides" agent skill from https://github.com/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guides into .gemini/skills/project-discipline-guides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-discipline-guides", 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 GoogleChrome/modern-web-guidance-src project-discipline-guidesInstalls 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 GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-src.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/project-discipline-guides .github/skills/project-discipline-guides && 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 "project-discipline-guides" agent skill from https://github.com/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guides into .github/skills/project-discipline-guides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-discipline-guides", 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 GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install GoogleChrome/modern-web-guidance-src project-discipline-guides --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-src.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/project-discipline-guides .opencode/skills/project-discipline-guides && 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 "project-discipline-guides" agent skill from https://github.com/GoogleChrome/modern-web-guidance-src/tree/main/.agents/skills/project-discipline-guides into .opencode/skills/project-discipline-guides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-discipline-guides", 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.
project-discipline-guidesWorkflow for refactoring discipline-level guides (e.g., JavaScript, CSS) to remove "Common Knowledge" by generating and comparing against model-specific "Knowledge Mirrors".
Project Discipline Guides is an agent skill from GoogleChrome/modern-web-guidance-src. Workflow for refactoring discipline-level guides (e.g., JavaScript, CSS) to remove "Common Knowledge" by generating and comparing against model-specific "Knowledge Mirrors".
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts (for example `intersection_prompt.md`, `mirror_prompt.md` and `mirrors/javascript/claude_mirror.md`).
It sits in Development, covering Refactoring. It works with JavaScript. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7569f28. 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.
Ships 1 file in scripts/ (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
nodeFrom 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.
Project Discipline Guides loads about 1.1k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 543 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); the scripts in this folder are not scanned.
The full file from GoogleChrome/modern-web-guidance-src at commit 7569f28, republished under its Apache-2.0 licence (© GoogleChrome). 543 words, ~1,129 tokens.
.claude/skills/project-discipline-guides/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.This skill facilitates the "Differential Knowledge Refactor" of technical guides. It ensures that SKILL.md files for specific disciplines are lean, context-efficient, and strictly additive to what modern AI models already know natively.
The goal is to aggressively "whittle down" a target guide (the Target) by removing any content that is natively understood by modern coding models.
Use the provided script to generate "Redundancy Mirrors"—comprehensive guides of what Gemini, Claude, and Codex consider "Common Knowledge" for a given discipline, and intersect them into a single LCD mirror.
# Ensure that model setup is configured (instructions are in the top level readme)
node .agents/skills/project-discipline-guides/scripts/generate_mirrors.ts <discipline_name>This will create files inside the .agents/skills/project-discipline-guides/mirrors/ directory:
mirrors/<discipline>/gemini_mirror.md (via Gemini - temporary)mirrors/<discipline>/claude_mirror.md (via Claude - temporary)mirrors/<discipline>/codex_mirror.md (via Codex - temporary)mirrors/<discipline>/mirror.md (Unified Redundancy Mirror intersection)[!IMPORTANT] Ensure that the unified Redundancy Mirror (
.agents/skills/project-discipline-guides/mirrors/<discipline>/mirror.md) has been successfully generated. This mirror represents the exact mathematical intersection of all three source models, preventing pruning errors and reducing context window overhead.
As the agent, read the Target guide and the unified Redundancy Mirror (.agents/skills/project-discipline-guides/mirrors/<discipline>/mirror.md).
[!WARNING] Keep the Refactor Scoped: The primary and sole goal of this skill is reduction of redundant common knowledge. Do not add new rules, modify logic, or introduce unrelated guidelines in this refactoring pass. Keep the changes highly focused and easy to review.
Perform the cleanup on the Target file. Aim for surgical edits that preserve the file's structure while removing unnecessary content.
In your response, provide an explanation of the changes made and the rationale for what was removed or kept.
After applying edits, perform a self-verification:
Object.groupBy()) were not accidentally removed.© GoogleChrome, Apache-2.0. 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 7 other files (scripts) in .agents/skills/project-discipline-guides of GoogleChrome/modern-web-guidance-src.
Open the folder on GitHubat commit 7569f28
Project Discipline Guides 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 |
|---|---|---|---|---|---|---|
| Project Discipline Guides this skillGoogleChrome/modern-web-guidance-src | 1.1k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Dinero Best Practicesdinerojs/dinero.js | 6.8k | — | ~756 | Automated safety check: Pass | MIT | |
| ast-grep Codemod Referencewarp-drive-data/warp-drive | 3.2k | — | ~2.6k | Automated safety check: Pass | MIT | |
| React Best Practicesshapeshift/web | 206 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| DRY Refactoring With jscpdkucherenko/jscpd | 6.4k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Coding Agentmastra-ai/mastra | 29k | — | ~2.3k | Automated safety check: Pass | Custom licence |
dinerojs/dinero.js
Core best practices for the Dinero.js money library. An agent skill from dinerojs/dinero.js.
warp-drive-data/warp-drive
Reference for writing and debugging TypeScript and JavaScript codemods with @ast-grep/napi: parsing, node queries, meta-variables, rule objects and editing.
shapeshift/web
Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.
kucherenko/jscpd
Removes copy-paste duplication found by jscpd, starting with exact clones and hotspots, then renamed and near-miss copies, using proven refactoring strategies.
mastra-ai/mastra
Authoring playbook for building agents that write, edit, review, or refactor code.
wshobson/agents
Covers ES6+ syntax and functional patterns for refactoring older JavaScript: async/await, destructuring, spread, modules, generators and data pipelines.
GoogleChrome/modern-web-guidance-src
Run a document coherence, link integrity, and git repository status audit across repository markdown files using a dedicated subagent.
GoogleChrome/modern-web-guidance-src
Downloads and analyzes the latest three distinct nightly evaluation runs (Claude Code, Codex CLI, and Jetski CLI) from the GCS remote dashboard to identify and flag unhealthy or low-performing tasks…
GoogleChrome/modern-web-guidance-src
Build and publish Chrome Extensions using Manifest V3 best practices.
GoogleChrome/modern-web-guidance-src
Coding style, architectural conventions, and PR review standards for the modern-web-guidance-src (guidance) repository.
GoogleChrome/modern-web-guidance-src
Best practices for creating expectations and grader files to evaluate guidance quality.
GoogleChrome/modern-web-guidance-src
Best practices for authoring guidance. An agent skill from GoogleChrome/modern-web-guidance-src.
Works with
Categories
Workflow for refactoring discipline-level guides (e.g., JavaScript, CSS) to remove "Common Knowledge" by generating and comparing against model-specific "Knowledge Mirrors". Project Discipline Guides is an agent skill from GoogleChrome/modern-web-guidance-src., JavaScript, CSS) to remove "Common Knowledge" by generating and comparing against model-specific "Knowledge Mirrors".
Project Discipline Guides fits situations like: tasks that involve Refactoring.
Run `npx skills add GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a claude-code`. Or copy the skill folder (.agents/skills/project-discipline-guides in GoogleChrome/modern-web-guidance-src) into .claude/skills/project-discipline-guides in your project. Claude Code loads it when a task matches its description.
Run `npx skills add GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a codex`. Or copy the skill folder (.agents/skills/project-discipline-guides in GoogleChrome/modern-web-guidance-src) into .agents/skills/project-discipline-guides 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 GoogleChrome/modern-web-guidance-src --skill project-discipline-guides -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/project-discipline-guides, .gemini/skills/project-discipline-guides, .github/skills/project-discipline-guides and .opencode/skills/project-discipline-guides in your project.
Going by SKILL.md and its folder, Project Discipline Guides needs TypeScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Project Discipline Guides is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.5k 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 Project Discipline Guides: Dinero Best Practices (dinerojs/dinero.js, 6.8k stars), ast-grep Codemod Reference (warp-drive-data/warp-drive, 3.2k stars), React Best Practices (shapeshift/web, 206 stars) and DRY Refactoring With jscpd (kucherenko/jscpd, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
GoogleChrome (a GitHub organization) maintains it in GoogleChrome/modern-web-guidance-src, which has 1,143 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 9, 2026.
Source: GoogleChrome/modern-web-guidance-src on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.