Enforce Rules For Typescript
moeru-ai/airi
Enforce AIRI's TypeScript and Vue source rules for imports, naming, comments, JSDoc, fallbacks, stateful and protocol code, and module design.
Create or align a package in the Remix monorepo to match existing package conventions.
$ npx skills add remix-run/remix --skill add-package -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install remix-run/remix add-package --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/remix-run/remix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-package .claude/skills/add-package && 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 "add-package" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/add-package into .claude/skills/add-package/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-package", 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/remix-run/remix/tree/main/.agents/skills/add-packageType 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 remix-run/remix --skill add-package -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install remix-run/remix add-package --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/add-package .agents/skills/add-package && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-package" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/add-package into .agents/skills/add-package/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-package", 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 remix-run/remix --skill add-package -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install remix-run/remix add-package --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/add-package .cursor/skills/add-package && 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 "add-package" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/add-package into .cursor/skills/add-package/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-package", 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/remix-run/remix.git --path .agents/skills/add-package--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 remix-run/remix --skill add-package -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install remix-run/remix add-package --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/add-package .gemini/skills/add-package && 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 "add-package" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/add-package into .gemini/skills/add-package/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-package", 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 remix-run/remix add-packageInstalls 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 remix-run/remix --skill add-package -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/add-package .github/skills/add-package && 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 "add-package" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/add-package into .github/skills/add-package/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-package", 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 remix-run/remix --skill add-package -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install remix-run/remix add-package --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/add-package .opencode/skills/add-package && 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 "add-package" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/add-package into .opencode/skills/add-package/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-package", 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.
add-packageCreate or align a package in the Remix monorepo to match existing package conventions.
Add Package is an agent skill from remix-run/remix. Create or align a package in the Remix monorepo to match existing package conventions. Use when adding a brand new package under packages/, or when fixing an existing package's structure, test setup, TypeScript/build config, code style, and README layout to match the rest of Remix 3.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Monorepo tooling and Technical documentation. It works with TypeScript and Remix. The repository describes itself as: The fully-stacked web framework. The licence is MIT.
Read from SKILL.md and the folder at commit ef2c594. 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.
Shell commands in SKILL.md call:
pnpmnpmgitbunnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, npm and git, which can reach the network depending on how they are called.
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.
Add Package loads about 2k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 762 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 remix-run/remix at commit ef2c594, republished under its MIT licence (© remix-run). 762 words, ~2,006 tokens.
.claude/skills/add-package/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill to scaffold and standardize packages so they look and behave like the existing @remix-run/* packages. Follow this exactly when creating package files, public exports, tests, and docs.
packages/<package-name>/.package.jsontsconfig.jsontsconfig.build.jsonCHANGELOG.mdREADME.mdLICENSEsrc/CHANGELOG.md with ## Unreleased as the first section to indicate changes are not released yet.package.json using monorepo conventions.name: @remix-run/<package-name>version (for brand-new packages): "0.0.0"type: "module"license: "MIT"repository.directory: packages/<package-name>homepage: https://github.com/remix-run/remix/tree/main/packages/<package-name>#readmefiles:LICENSEREADME.mddistsrc!src/**/*.test.tsbuild: tsgo -p tsconfig.build.jsonclean: git clean -fdXprepublishOnly: pnpm run buildtest: remix testtest:bun: bun x --bun remix testtypecheck: tsgo --noEmit"@remix-run/assert": "workspace:^""@remix-run/test": "workspace:^""@types/node": "catalog:""@typescript/native-preview": "catalog:"keywords like existing packages (short, lowercase, feature-focused).sideEffects metadata. The generated remix package derives its metadata from each owning package, and package metadata validation rejects missing or invalid declarations."sideEffects": false only when evaluating every runtime module is free of observable side effects, including effects introduced by its imports../src/register.ts and ./dist/register.js.src entry files only.exports, map each public subpath to a dedicated file in src../package.json.publishConfig.exports with dist output:types: ./dist/<entry>.d.tsdefault: ./dist/<entry>.jssrc file that re-exports from src/lib../foo -> src/foo.ts -> export { ... } from './lib/foo.ts'types condition to src/*.d.ts and dist/*.d.ts.default when the runtime owns that condition, such as node-hmr for remix/node-hmr/runtime.node ../../scripts/copy-package-type-only-exports.ts . to the package build script after tsgo.Use this tsconfig.json pattern:
{
"compilerOptions": {
"strict": true,
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"module": "ES2022",
"moduleResolution": "Bundler",
"target": "ESNext",
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"verbatimModuleSyntax": true
}
}Use this tsconfig.build.json pattern:
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"outDir": "./dist"
},
"include": ["src"],
"exclude": ["src/**/*.test.ts"]
}src/<entry>.ts for public entry pointssrc/lib/*.ts for implementationsrc/lib/*.test.ts for tests (colocated with implementation)import * as assert from '@remix-run/assert'import { describe, it } from '@remix-run/test'describe().import type { ... } and export type { ... } for types..ts extensions in relative imports.let for locals; use const only at module scope.var.method() {}) instead of arrow properties.#private members.# <package-name>## Features## Installation## Usage## Related Packages (if applicable)## Licenseremix package.npm i remixnpm i remix <peer-dependency>Usage examples must always import from remix package exports, not from @remix-run/<package-name> directly.
License section format:
See [LICENSE](https://github.com/remix-run/remix/blob/main/LICENSE)remix package updates deliberately.packages/remix is generated automatically in CI.packages/remix/package.json or packages/remix/src/*; run the generator when generated output is required.packages/remix/manifest.json before running the generator:"remix/<canonical-path>": "@remix-run/<package-name>","remix/<canonical-path>/foo": "@remix-run/<package-name>/foo".remix/..., such as remix/<canonical-path>/types.remix/middleware/logger, not remix/logger-middleware).README.md package list when applicable.pnpm --filter @remix-run/<package-name> run typecheckpnpm --filter @remix-run/<package-name> run testpnpm --filter @remix-run/<package-name> run buildpnpm run lintpackages/<package-name>/.changes/ on demand and add or update a change file when requested by contribution workflow.minor. filename (for example, minor.initial-release.md) so the first release bumps 0.0.0 to 0.1.0.Use this minimal src/index.ts style:
export { createThing, type ThingOptions } from './lib/thing.ts'Use this minimal test style:
import * as assert from '@remix-run/assert'
import { describe, it } from '@remix-run/test'
import { createThing } from './thing.ts'
describe('createThing', () => {
it('returns expected value', () => {
let result = createThing()
assert.equal(result, 'ok')
})
})© remix-run, 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 1 other file in .agents/skills/add-package of remix-run/remix.
Open the folder on GitHubat commit ef2c594
Add Package 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 |
|---|---|---|---|---|---|---|
| Add Package this skillremix-run/remix | 33k | — | ~2k | Automated safety check: Pass | MIT | |
| Enforce Rules For Typescriptmoeru-ai/airi | 50k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Adk Readme WriterBrainDAO/adk-ts | 119 | — | ~2.6k | Automated safety check: Notes | MIT | |
| New Packagepetarzarkov/dunx | 100 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Link Workspace Packagesnomcopter/react-mosaic | 4.8k | 6 repos | ~760 | Automated safety check: Pass | Custom licence |
moeru-ai/airi
Enforce AIRI's TypeScript and Vue source rules for imports, naming, comments, JSDoc, fallbacks, stateful and protocol code, and module design.
BrainDAO/adk-ts
ADK-TS README specialist. An agent skill from BrainDAO/adk-ts.
petarzarkov/dunx
Add a workspace to the dunx monorepo - a published package under packages/, a published CLI under tools/, a private workspace under internal/, or an example under examples/ - with correct manifest…
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
nomcopter/react-mosaic
Link workspace packages in monorepos (npm, yarn, pnpm, bun).
teambit/bit
Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.
remix-run/remix
Safely replace one GitHub pull request with another. An agent skill from remix-run/remix.
remix-run/remix
Build idiomatic headless primitives in packages/ui for Remix.
remix-run/remix
Fix a reported issue in Remix from a GitHub issue. An agent skill from remix-run/remix.
remix-run/remix
Create or revise demos in the Remix repository. An agent skill from remix-run/remix.
remix-run/remix
Create GitHub pull requests with clear, reviewer-friendly descriptions.
remix-run/remix
Create or revise a GitHub tracking issue for a Remix change, including the target outcome, implementor context, a concise checkbox plan, compatibility concerns, and required gates.
Works with
Categories
Create or align a package in the Remix monorepo to match existing package conventions. Add Package is an agent skill from remix-run/remix. Create or align a package in the Remix monorepo to match existing package conventions.
Add Package fits situations like: adding a brand new package under packages/; fixing an existing packages structure; typeScript/build config; README layout to match the rest of Remix 3.
Run `npx skills add remix-run/remix --skill add-package -a claude-code`. Or copy the skill folder (.agents/skills/add-package in remix-run/remix) into .claude/skills/add-package in your project. Claude Code loads it when a task matches its description.
Run `npx skills add remix-run/remix --skill add-package -a codex`. Or copy the skill folder (.agents/skills/add-package in remix-run/remix) into .agents/skills/add-package 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 remix-run/remix --skill add-package -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-package, .gemini/skills/add-package, .github/skills/add-package and .opencode/skills/add-package in your project.
Going by SKILL.md and its folder, Add Package needs the command-line tools its instructions call (pnpm, npm, git, bun and node). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm and git, which can reach the network depending on how they are called. 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.
Add Package is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k 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 Add Package: Enforce Rules For Typescript (moeru-ai/airi, 50k stars), Adk Readme Writer (BrainDAO/adk-ts, 119 stars), New Package (petarzarkov/dunx, 100 stars) and Nx Import (nrwl/nx, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
remix-run (a GitHub organization) maintains it in remix-run/remix, which has 33,397 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 8, 2026.
Source: remix-run/remix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.