Create Saleor Package
saleor/apps
Scaffold a new shared package in the saleor-apps monorepo under ./packages/.
Anthony Fu's {Opinionated} preferences and best practices for web development
$ npx skills add oyjt/uniapp-vue3-template --skill antfu -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install oyjt/uniapp-vue3-template antfu --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/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/skills/antfu .claude/skills/antfu && 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 "antfu" agent skill from https://github.com/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfu into .claude/skills/antfu/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "antfu", 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/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfuType 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 oyjt/uniapp-vue3-template --skill antfu -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install oyjt/uniapp-vue3-template antfu --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.trae/skills/antfu .agents/skills/antfu && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "antfu" agent skill from https://github.com/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfu into .agents/skills/antfu/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "antfu", 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 oyjt/uniapp-vue3-template --skill antfu -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install oyjt/uniapp-vue3-template antfu --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.trae/skills/antfu .cursor/skills/antfu && 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 "antfu" agent skill from https://github.com/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfu into .cursor/skills/antfu/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "antfu", 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/oyjt/uniapp-vue3-template.git --path .trae/skills/antfu--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 oyjt/uniapp-vue3-template --skill antfu -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install oyjt/uniapp-vue3-template antfu --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.trae/skills/antfu .gemini/skills/antfu && 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 "antfu" agent skill from https://github.com/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfu into .gemini/skills/antfu/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "antfu", 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 oyjt/uniapp-vue3-template antfuInstalls 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 oyjt/uniapp-vue3-template --skill antfu -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .github/skills && cp -r skills-src/.trae/skills/antfu .github/skills/antfu && 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 "antfu" agent skill from https://github.com/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfu into .github/skills/antfu/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "antfu", 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 oyjt/uniapp-vue3-template --skill antfu -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install oyjt/uniapp-vue3-template antfu --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.trae/skills/antfu .opencode/skills/antfu && 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 "antfu" agent skill from https://github.com/oyjt/uniapp-vue3-template/tree/main/.trae/skills/antfu into .opencode/skills/antfu/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "antfu", 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.
antfuAnthony Fu's {Opinionated} preferences and best practices for web development
Antfu is an agent skill from oyjt/uniapp-vue3-template. Anthony Fu's {Opinionated} preferences and best practices for web development
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/antfu-eslint-config.md`, `references/app-development.md` and `references/github-actions.md`).
It sits in Development, covering Linting and formatting and Unit testing. It works with ESLint, pnpm, TypeScript and Git. The repository describes itself as: 使用uniapp+vite+vue3+typescript+uview-plus+unocss 搭建的适合团队协作的快速开发模版. The licence is MIT.
Read from SKILL.md and the folder at commit 4d7f307. 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:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, 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.
Antfu loads about 1.3k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 21 tokens; SKILL.md has 432 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 oyjt/uniapp-vue3-template at commit 4d7f307, republished under its MIT licence (© oyjt). 432 words, ~1,343 tokens.
.claude/skills/antfu/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.This skill covers Anthony Fu's preferred tooling, configurations, and best practices for web development. This skill is opinionated.
| Category | Preference |
|---|---|
| Package Manager | pnpm |
| Language | TypeScript (strict mode) |
| Module System | ESM ("type": "module") |
| Linting & Formatting | @antfu/eslint-config (no Prettier) |
| Testing | Vitest |
| Git Hooks | simple-git-hooks + lint-staged |
| Documentation | VitePress (in docs/) |
Use pnpm as the package manager.
For monorepo setups, use pnpm workspaces:
# pnpm-workspace.yaml
packages:
- 'packages/*'Use pnpm named catalogs in pnpm-workspace.yaml to manage dependency versions:
| Catalog | Purpose |
|---|---|
prod | Production dependencies |
inlined | Dependencies inlined by bundler |
dev | Development tools (linter, bundler, testing, dev-server) |
frontend | Frontend libraries bundled into frontend |
Catalog names are not limited to the above and can be adjusted based on needs. Avoid using default catalog.
Use @antfu/ni for unified package manager commands. It auto-detects the package manager (pnpm/npm/yarn/bun) based on lockfile.
| Command | Description |
|---|---|
ni | Install dependencies |
ni <pkg> | Add dependency |
ni -D <pkg> | Add dev dependency |
nr <script> | Run script |
nu | Upgrade dependencies |
nun <pkg> | Uninstall dependency |
nci | Clean install (like pnpm i --frozen-lockfile) |
nlx <pkg> | Execute package (like npx) |
Install globally with pnpm i -g @antfu/ni if the commands are not found.
Always use TypeScript with strict mode enabled.
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true
}
}Always work in ESM mode. Set "type": "module" in package.json.
Use @antfu/eslint-config for both formatting and linting. This eliminates the need for Prettier.
Create eslint.config.js with // @ts-check comment:
// @ts-check
import antfu from '@antfu/eslint-config'
export default antfu()Add script to package.json:
{
"scripts": {
"lint": "eslint ."
}
}When getting linting errors, try to fix them with nr lint --fix. Don't add lint:fix script.
Use simple-git-hooks with lint-staged for pre-commit linting:
{
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"scripts": {
"prepare": "npx simple-git-hooks"
}
}Use Vitest for unit testing.
{
"scripts": {
"test": "vitest"
}
}Conventions:
foo.ts → foo.test.ts (same directory)tests/ directory in each packagedescribe and it API (not test)expect API for assertionsassert only for TypeScript null assertionstoMatchSnapshot for complex output assertionstoMatchFileSnapshot with explicit file path and extension for language-specific output (exclude those files from linting)For library projects, publish through GitHub Releases triggered by bumpp:
{
"scripts": {
"release": "bumpp -r"
}
}Use VitePress for documentation. Place docs under docs/ directory.
docs/
├── .vitepress/
│ └── config.ts
├── index.md
└── guide/
└── getting-started.mdAdd script to package.json:
{
"scripts": {
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs"
}
}| Topic | Description | Reference |
|---|---|---|
| @antfu/eslint-config | ESLint flat config for formatting and linting | antfu-eslint-config |
| GitHub Actions | Preferred workflows using sxzz/workflows | github-actions |
| .gitignore | Preferred .gitignore for JS/TS projects | gitignore |
| VS Code Extensions | Recommended extensions for development | vscode-extensions |
| Topic | Description | Reference |
|---|---|---|
| App Development | Preferences for Vue/Vite/Nuxt/UnoCSS web applications | app-development |
| Library Development | Preferences for bundling and publishing TypeScript libraries | library-development |
| Monorepo | pnpm workspaces, centralized alias, Turborepo | monorepo |
© oyjt, 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 7 other files (references) in .trae/skills/antfu of oyjt/uniapp-vue3-template.
Open the folder on GitHubat commit 4d7f307
Antfu 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 |
|---|---|---|---|---|---|---|
| Antfu this skilloyjt/uniapp-vue3-template | 627 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Create Saleor Packagesaleor/apps | 162 | — | ~608 | Automated safety check: Pass | Custom licence | |
| npm Packagejwynia/agent-skills | 169 | — | ~2.1k | Automated safety check: Pass | None | |
| Npx CLIjwynia/agent-skills | 169 | — | ~2.4k | Automated safety check: Pass | None | |
| Implementing Lint Rulesflint-fyi/flint | 312 | — | ~857 | Automated safety check: Pass | MIT | |
| Igniteui Angular LintingIgniteUI/igniteui-angular | 599 | — | ~614 | Automated safety check: Pass | Custom licence |
saleor/apps
Scaffold a new shared package in the saleor-apps monorepo under ./packages/.
jwynia/agent-skills
Build and publish npm packages using Bun as the primary toolchain with npm-compatible output.
jwynia/agent-skills
Build and publish npx-executable CLI tools using Bun as the primary toolchain with npm-compatible output.
flint-fyi/flint
Implements ESLint-style lint rules with proper AST handling, targeted reporting, and comprehensive unit tests.
IgniteUI/igniteui-angular
Quick-reference for linting the core Ignite UI for Angular library.
eslint-config/airbnb-extended
Fix the "<Plugin Updated with <rule" build error from script/checkUpdates.ts by adding a new or deprecated plugin rule to the right rules/ file.
oyjt/uniapp-vue3-template
Vite next-generation frontend build tool with fast HMR and optimized builds.
oyjt/uniapp-vue3-template
Vue.js progressive JavaScript framework. An agent skill from oyjt/uniapp-vue3-template.
oyjt/uniapp-vue3-template
Vue 3 and Vue.js best practices for TypeScript, vue-tsc, and Volar.
Works with
Categories
Anthony Fu's {Opinionated} preferences and best practices for web development. Antfu is an agent skill from oyjt/uniapp-vue3-template.
Antfu fits situations like: tasks that involve Linting and formatting; tasks that involve Unit testing.
Run `npx skills add oyjt/uniapp-vue3-template --skill antfu -a claude-code`. Or copy the skill folder (.trae/skills/antfu in oyjt/uniapp-vue3-template) into .claude/skills/antfu in your project. Claude Code loads it when a task matches its description.
Run `npx skills add oyjt/uniapp-vue3-template --skill antfu -a codex`. Or copy the skill folder (.trae/skills/antfu in oyjt/uniapp-vue3-template) into .agents/skills/antfu 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 oyjt/uniapp-vue3-template --skill antfu -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/antfu, .gemini/skills/antfu, .github/skills/antfu and .opencode/skills/antfu in your project.
Going by SKILL.md and its folder, Antfu needs the command-line tools its instructions call (pnpm). 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. Review the folder before installing.
Antfu is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Antfu: Create Saleor Package (saleor/apps, 162 stars), npm Package (jwynia/agent-skills, 169 stars), Npx CLI (jwynia/agent-skills, 169 stars) and Implementing Lint Rules (flint-fyi/flint, 312 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
oyjt (a GitHub user) maintains it in oyjt/uniapp-vue3-template, which has 627 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on June 4, 2026.
Source: oyjt/uniapp-vue3-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.