A shared skill package for Codex, Cursor, and Claude Code, containing sixteen independently triggered language skills:
- Codex:
.codex-plugin/plugin.json - Cursor:
.cursor-plugin/plugin.json - Claude Code:
.claude-plugin/plugin.json
All three hosts use the same skills/ directory, so language guidance is not
duplicated or allowed to drift between integrations.
Marketplace catalogs are provided for direct repository or local installation:
- Codex:
.agents/plugins/marketplace.json - Cursor:
.cursor-plugin/marketplace.json - Claude Code:
.claude-plugin/marketplace.json
This project is distributed directly from its repository and is not submitted to the official plugin stores.
The repository is hosted at
zcyc/modern-code-guidelines.
The marketplace name is modern-code-guidelines for all three hosts.
Run these commands in a terminal. The first command adds the repository marketplace; the second installs the plugin:
codex plugin marketplace add zcyc/modern-code-guidelines
codex plugin add modern-code-guidelines@modern-code-guidelinesFor a local checkout, replace zcyc/modern-code-guidelines with its absolute path.
Add the repository marketplace from a terminal, then install the plugin from Cursor's
/plugins interface:
cursor-agent plugin marketplace add https://github.com/zcyc/modern-code-guidelinesOpen /plugins, select the modern-code-guidelines marketplace, and install
modern-code-guidelines.
Run these commands inside a Claude Code session:
/plugin marketplace add zcyc/modern-code-guidelines
/plugin install modern-code-guidelines@modern-code-guidelines
For a local checkout, use its absolute path with /plugin marketplace add.
Refresh the marketplace before reinstalling or updating the plugin:
# Codex
codex plugin marketplace upgrade modern-code-guidelines
codex plugin remove modern-code-guidelines@modern-code-guidelines
codex plugin add modern-code-guidelines@modern-code-guidelines
# Claude Code
claude plugin marketplace update modern-code-guidelines
claude plugin update modern-code-guidelines@modern-code-guidelinesFor Cursor, run cursor-agent plugin marketplace update modern-code-guidelines,
then reopen Cursor and reinstall from /plugins if the cached version does not
change.
use-modern-javause-modern-javascriptuse-modern-typescriptuse-modern-pythonuse-modern-csharpuse-modern-gouse-modern-rustuse-modern-scalause-modern-cppuse-modern-swiftuse-modern-kotlinuse-modern-dartuse-modern-phpuse-modern-rubyuse-modern-cuse-modern-sql
Each skill reads the project's explicit language/compiler/runtime target and applies only stable rules supported by that target. Version-specific references stay beside their skill.
The JavaScript skill covers core ECMAScript and Node.js. TypeScript has its own skill
for compiler/type-system behavior. Browser APIs, CSS, accessibility, and web
performance remain the responsibility of modern-web-guidance.
Each skill resolves the project's declared target first, then reads its local rules. The references prioritize official language specifications, release notes, compiler documentation, and runtime/standard-library API documentation:
The detailed rules and their source links live in each skill's local
references/guidelines.md. Secondary guidance can inform examples, but it does not
override the project's declared target or the primary sources above.
This project was inspired by modern-go-guidelines
and modern-web-guidance. It
complements both projects rather than replacing them:
modern-go-guidelinesfocuses on modern Go language and standard-library guidance.modern-web-guidancefocuses on browser and web-platform practices such as Web APIs, CSS, accessibility, and web performance.modern-code-guidelinesfocuses on version-aware language, compiler, runtime, standard-library, database, and secure-coding guidance across the listed languages. Its Go rules use official Go documentation as the authority, with JetBrainsgo-modern-guidelinesas supplementary reference; the official Go toolchain is used only for the most suitable formatting, testing, and correctness checks.
The JavaScript and TypeScript skills intentionally stop at core language, compiler,
Node.js, and runtime concerns. Browser UI, CSS, accessibility, and web performance
remain in modern-web-guidance, so the projects can be used together with clear
boundaries.
Support means that Codex, Cursor, and Claude Code can discover the shared skill package through their host-specific plugin manifest. This project does not add host-specific commands, agents, or duplicated rule files.