Agent skill

Xrk Coding Style

by xrkseek in xrkseek/XRK-AGT

编写或审查 core/src 代码时的写法与性能规范(全局裸名、状态、I/O、异步、HTTP)。改 Core 前必读. An agent skill from xrkseek/XRK-AGT.

MITAuto-check passed

Install Xrk Coding Style

skills CLI
$ npx skills add xrkseek/XRK-AGT --skill xrk-coding-style -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xrkseek/XRK-AGT xrk-coding-style --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xrkseek/XRK-AGT.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/xrk-coding-style .claude/skills/xrk-coding-style && rm -rf skills-src

Use ~/.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/

Facts

Skill name
xrk-coding-style
GitHub stars
140
Token cost
~251 tokens
SKILL.md length
66 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

编写或审查 core/src 代码时的写法与性能规范(全局裸名、状态、I/O、异步、HTTP)。改 Core 前必读. An agent skill from xrkseek/XRK-AGT.

  • Works in 7 steps: 业务 core/ — 裸名 AgentRuntime/msgSegment,勿… → 类字段存 Map/缓存,constructor 只 super() + 固定配置 → 热路径 fs/promises,批加载 forEachBatch,出站… → …
  • SKILL.md covers 权威文档, 30 秒记忆 and 审查
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Xrk Coding Style is an agent skill from xrkseek/XRK-AGT. 编写或审查 core/src 代码时的写法与性能规范(全局裸名、状态、I/O、异步、HTTP)。改 Core 前必读。

Its SKILL.md is about 250 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 这是基于多语言所搭建的基于web,工作流,新型算法组件的智能体. The licence is MIT.

Example prompts

  • “/xrk-coding-style”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 业务 core/ — 裸名 AgentRuntime/msgSegment,勿 global.;HTTP 用 req.agentRuntime + HttpResponse(success 对象拍平约定见 skill xrk-http-api)
  2. 类字段存 Map/缓存,constructor 只 super() + 固定配置
  3. 热路径 fs/promises,批加载 forEachBatch,出站 fetch + AbortSignal.timeout(服务端;浏览器 Core www 见 xrk-www-compat)
  4. 错误 normalizeError,Shell #utils/exec-async.js
  5. 有 package.json 的子 Core 不用 # 别名
  6. 改 core/*/www:读 xrk-www-compat(/xrk→./web-compat.js;产品页只内联;勿用根名 shared)
  7. 入站事件:em('{tasker}.{post_type}', e) + e.tasker 字符串(skill xrk-tasker)

What it can do on your machine

Read from SKILL.md and the folder at commit 63f004e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xrk Coding Style loads about 251 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 66 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~251

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from xrkseek/XRK-AGT at commit 63f004e, republished under its MIT licence (© xrkseek). 66 words, ~251 tokens.

Download SKILL.mdSave it as .claude/skills/xrk-coding-style/SKILL.md (or your agent's skills folder).
name
xrk-coding-style
description
编写或审查 core/src 代码时的写法与性能规范(全局裸名、状态、I/O、异步、HTTP)。改 Core 前必读。

权威文档

  • 主文档:docs/coding-style.md(速查表 + 分节规范)
  • 挂载:docs/runtime-surface.md
  • Node API:docs/node-26-runtime.md · skill xrk-node-runtime
  • Loader:docs/infrastructure-shared.md

30 秒记忆

  1. 业务 core/ — 裸名 AgentRuntime/msgSegment,勿 global.;HTTP 用 req.agentRuntime + HttpResponse(success 对象拍平约定见 skill xrk-http-api)
  2. 类字段存 Map/缓存,constructor 只 super() + 固定配置
  3. 热路径 fs/promises,批加载 forEachBatch,出站 fetch + AbortSignal.timeout(服务端;浏览器 Core www 见 xrk-www-compat)
  4. 错误 normalizeError,Shell #utils/exec-async.js
  5. 有 package.json 的子 Core 不用 # 别名
  6. 改 core/*/www:读 xrk-www-compat(/xrk→./web-compat.js;产品页只内联;勿用根名 shared)
  7. 入站事件:em('{tasker}.{post_type}', e) + e.tasker 字符串(skill xrk-tasker)

审查

改代码前对照 docs/coding-style.md 文末清单 + .cursor/rules/xrk-dev-requirements.mdc。

© xrkseek, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/xrk-coding-style of xrkseek/XRK-AGT.

Open the folder on GitHubat commit 63f004e

Compare with similar skills

Xrk Coding Style 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.

Xrk Coding Style compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xrk Coding Style this skillxrkseek/XRK-AGT140—~251Automated safety check: PassMIT
Icons Srcforcedotcom/salesforcedx-vscode1k—~891Automated safety check: PassBSD-3-Clause
SPA Routes and Featureslobehub/lobehub83k—~3.2kAutomated safety check: PassCustom licence
Add Model Pricelangfuse/langfuse36k—~1.2kAutomated safety check: PassCustom licence
Video Syncitwanger/toBeBetterJavaer18k—~445Automated safety check: PassNone
Rust SQL Testshencangsheng/easydb_app590—~1.2kAutomated safety check: PassMIT

Similar skills

  • Icons Src

    forcedotcom/salesforcedx-vscode

    Add custom SVG icons to salesforcedx-vscode-services for font generation.

    1k GitHub stars~891 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Explains LobeHub's split between src/routes page segments and src/features domain code, and where router config, redirects and platform adapters belong.

    83k GitHub stars~3.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Add Model Price

    langfuse/langfuse

    A skill your agent uses when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes for OpenAI…

    36k GitHub stars~1.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Video Sync

    itwanger/toBeBetterJavaer

    把「王二讲Agent」的 B 站视频链接同步到 docs/src/ai/video/readme.md,把抖音视频 ID 同步到 docs/src/.vuepress/agentInterview.ts 的 douyinVideoIds 映射表(页面会渲染成播放器)。当用户说 B 站更新了、抖音更新了、同步视频链接、把视频地址放进脚本、更新 readme 视频时使用。

    18k GitHub stars~445 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Rust SQL Test

    shencangsheng/easydb_app

    Enforces unit test requirements for the Rust data-processing modules in src-tauri/src/sql/ (generator.rs, parse.rs) and src-tauri/src/reader/ (excel.rs and other readers).

    590 GitHub stars~1.2k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    179k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed

More from xrkseek/XRK-AGT

All 12 skills in this repo
  • Immersive Short Video

    xrkseek/XRK-AGT

    Produce immersive vertical short videos (口播/科普/产品讲解) without AI-slop aesthetics.

    140 GitHub stars~1k tokensUpdated 8 days ago
    Auto-check passed
  • Xrk Crawl

    xrkseek/XRK-AGT

    当你需要开发/排查 HTTP 抓取、SSRF、Playwright 受控浏览器、本地字体增强截图,或判断 webfetch 与 browser 工作流如何选型时使用。

    140 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Xrk HTTP API

    xrkseek/XRK-AGT

    当你需要开发或排查 HTTP API(core//http/.js)、理解 HttpApi 基类、HttpApiLoader、业务层约定时使用。

    140 GitHub stars~569 tokensUpdated 8 days ago
    Auto-check passed
  • Xrk Node Runtime

    xrkseek/XRK-AGT

    编写或审查 core/src 代码时,确保使用 Node 26 稳定 API,禁止旧写法(fetch/exec/错误/二进制)。AI 改 Core 前必读。

    140 GitHub stars~907 tokensUpdated 8 days ago
    Auto-check passed
  • Xrk GitHub Research

    xrkseek/XRK-AGT

    在 GitHub 搜索成熟开源实现、对比方案、读 issue/PR 时使用。架构选型、unfamiliar 领域、找业界最佳实践时主动调用。

    140 GitHub stars~202 tokensUpdated 8 days ago
    Auto-check passed
  • Xrk LLM

    xrkseek/XRK-AGT

    当你需要配置/新增/排查 LLM 提供商(OpenAI/Azure/Gemini/Anthropic/Ollama/各类兼容网关)时使用;确保 YAML/Schema/代码一致。

    140 GitHub stars~304 tokensUpdated 8 days ago
    Auto-check passed

Questions about Xrk Coding Style

What does Xrk Coding Style do?

编写或审查 core/src 代码时的写法与性能规范(全局裸名、状态、I/O、异步、HTTP)。改 Core 前必读. An agent skill from xrkseek/XRK-AGT. Xrk Coding Style is an agent skill from xrkseek/XRK-AGT.

How do I install Xrk Coding Style in Claude Code?

Run `npx skills add xrkseek/XRK-AGT --skill xrk-coding-style -a claude-code`. Or copy the skill folder (.cursor/skills/xrk-coding-style in xrkseek/XRK-AGT) into .claude/skills/xrk-coding-style in your project. Claude Code loads it when a task matches its description.

How do I install Xrk Coding Style in Codex?

Run `npx skills add xrkseek/XRK-AGT --skill xrk-coding-style -a codex`. Or copy the skill folder (.cursor/skills/xrk-coding-style in xrkseek/XRK-AGT) into .agents/skills/xrk-coding-style in your project. Codex loads it when a task matches its description.

Can I use Xrk Coding Style in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xrkseek/XRK-AGT --skill xrk-coding-style -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xrk-coding-style, .gemini/skills/xrk-coding-style, .github/skills/xrk-coding-style and .opencode/skills/xrk-coding-style in your project.

What does Xrk Coding Style need to run?

SKILL.md names no scripts, command-line tools or credentials: Xrk Coding Style is instructions for the agent only.

Does Xrk Coding Style access the network?

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.

Is Xrk Coding Style safe to install?

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.

What licence does Xrk Coding Style use?

Xrk Coding Style is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xrk Coding Style use?

About 251 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xrk Coding Style?

Skills that share tags, products or a category with Xrk Coding Style: Icons Src (forcedotcom/salesforcedx-vscode, 1k stars), SPA Routes and Features (lobehub/lobehub, 83k stars), Add Model Price (langfuse/langfuse, 36k stars) and Video Sync (itwanger/toBeBetterJavaer, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xrk Coding Style?

xrkseek (a GitHub user) maintains it in xrkseek/XRK-AGT, which has 140 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 1, 2026.

Source: xrkseek/XRK-AGT on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.