Google Chrome Project Discipline Guides Skill for Codex
Tighten web-platform guidance by comparing a discipline guide with a checked-in reference. Preserve project conventions and technically important rules while removing overlapping advice.
中文Setup for Codex
Use a Git checkout of modern-web-guidance-src. The pinned revision includes the JavaScript comparison files. Generating fresh mirrors separately requires the project's AI CLIs and Node tooling.
- Open the pinned repository in Codex. The full .agents/skills/project-discipline-guides directory is already in the checkout.
- Select $project-discipline-guides and check for a matching unified mirror. Use the checked-in JavaScript mirror for the example.
Example task
On a disposable branch, use $project-discipline-guides to propose edits to the JavaScript discipline guide. Compare it with the checked-in JavaScript mirror and show one fully overlapping rule, one project convention to keep, and a minimal diff.Expected result
The report identifies evidence in the guide and mirror. The proposed diff preserves the project convention in the JavaScript guide.
Upstream documentation
Original SKILL.md on GitHub · Apache-2.0 license · Source reviewed
Frequently asked question
Does Codex need three model accounts to review a discipline guide?
An existing unified mirror is sufficient for the comparison. Generating a new mirror runs a separate workflow that uses Gemini, Claude, and Codex.