Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计提醒

code-standards代码标准

Agent Skill

code-standards 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

233

周安装

10

GitHub Stars

1

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:code-standards(代码标准)
来源仓库:https://github.com/qiaoshouqing/skills
仓库路径:skills/code-standards
安装命令:
npx skills add https://github.com/qiaoshouqing/skills --skill code-standards
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/qiaoshouqing/skills --skill code-standards

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装。
  • 需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • code-standards 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Code Standards — Universal AI Tool Configuration Generator

Generate code standards files based on Linus Torvalds' "Good Taste" philosophy. Auto-detects AI tools in your project and creates the appropriate configuration files in the user's language.

When to Use

  • User wants to set up coding standards for a project
  • User wants to sync code quality rules across AI coding tools
  • User mentions "code standards", "init claude md", "code review", or equivalent in any language

Instructions for Agent

Step 1: Detect Language & Read Template

Detect the user's language. Read the matching template from this skill's references/ directory:

  • Simplified Chinese → references/code-standards-zh-CN.md
  • Traditional Chinese → references/code-standards-zh-TW.md
  • Japanese → references/code-standards-ja.md
  • All other languages → references/code-standards-en.md

Step 2: Detect AI Tools

PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)

[ -d "$PROJECT_ROOT/.cursor" ] && echo "CURSOR"
[ -f "$PROJECT_ROOT/AGENTS.md" ] || [ -d "$PROJECT_ROOT/.codex" ] && echo "CODEX"
[ -f "$PROJECT_ROOT/GEMINI.md" ] || [ -d "$PROJECT_ROOT/.gemini" ] && echo "GEMINI"
[ -d "$PROJECT_ROOT/.github" ] && echo "COPILOT"
[ -d "$PROJECT_ROOT/.windsurf" ] || [ -f "$PROJECT_ROOT/.windsurfrules" ] && echo "WINDSURF"
[ -f "$PROJECT_ROOT/.aider.conf.yml" ] && echo "AIDER"
[ -d "$PROJECT_ROOT/.clinerules" ] || [ -d "$PROJECT_ROOT/.roo" ] && echo "CLINE"

Step 3: Generate Files

Write the template content directly. No confirmation needed — the user invoked this skill, that IS the intent.

Always generate: CLAUDE.md

For each detected tool, also generate:

ToolFileNotes
Cursor.cursor/rules/code-standards.mdcPrepend ---\ndescription: "Linus Torvalds code standards"\nalwaysApply: true\n---\n
CodexAGENTS.mdSame content
GeminiGEMINI.mdSame content
Copilot.github/copilot-instructions.mdmkdir -p.github first
Windsurf.windsurfrulesSame content
AiderCONVENTIONS.mdSame content
Cline/Roo.clinerules/code-standards.mdmkdir -p.clinerules first

Step 4: Report

Report created files in the user's language. Keep it brief.

Response Guidelines

  1. Execute immediately — No confirmation, no "shall I proceed?". Just write.
  2. Unconditionally overwrite existing files — Always overwrite CLAUDE.md and other config files without asking. The invocation is explicit intent to replace.
  3. Respond in user's language — Match the language they used to invoke.
  4. No extra commentary — Detect, write, report. Done.

Error Handling

SituationAction
Not in a git repoUse current directory as root
No tools detectedOnly generate CLAUDE.md
Permission deniedReport error with path
Template not foundFall back to English

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Gemini CLI

27.79%
按下载量换算23

Claude Code

20.86%
按下载量换算17

Codex

17.46%
按下载量换算14

OpenCode

11.46%
按下载量换算9

trae

8.18%
按下载量换算7

Cursor

3.18%
按下载量换算3

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills