Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

claude-md-globalClaude MD global 搜索

Agent Skill

claude-md-global 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

259

周安装

11

GitHub Stars

11

下载量

91
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/reizam/claude-md-templates --skill claude-md-global

简介

claude-md-global 生成全局个人 CLAUDE.md 默认配置。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中为所有项目提供统一基础设置。
  • 通过 GitHub 仓库安装,目标约 30 行简洁指令。
  • 使用前需明确核心工程价值观等个性化参数。
  • 注意全局配置会影响所有项目,修改前应充分测试。

SKILL.md

claude-md-global

Generate or audit a global ~/.claude/CLAUDE.md — your personal defaults for every project.

The global file lives at ~/.claude/CLAUDE.md and applies to ALL projects. Target: ~30 lines maximum.

  1. Ask the user about their preferences Only ask what cannot be inferred. Ask in a single grouped message: Philosophy (most important): Preferences:

- "What are your core engineering values? The principles that guide your decisions when there's no clear right answer." - Prompt with contrasting examples to help them articulate: - "YAGNI vs. building for extensibility?" - "Simplicity vs. performance?" - "Explicit vs. DRY?" - Target: 3-5 bullet points that are OPINIONATED and SPECIFIC - Quality test: "Would two reasonable engineers disagree on this?" — if no, it's too generic - Preferred response language - Primary language/framework (TypeScript, Python, Go, etc.) - Package manager preference (pnpm, npm, yarn, bun, uv, etc.) - Test runner preference (vitest, jest, pytest, etc.) - Commit convention (conventional commits, other)

  1. Think before writing (critical step) Before generating, evaluate each candidate line against the golden rule:

- "Can the agent discover this on its own?" → if YES, don't include - "Is this a generic best practice any senior dev knows?" → if YES, don't include - "Would the agent make the WRONG choice without this?" → if YES, include

  1. Generate the file following these principles The golden rule: write only what the agent cannot discover on its own. Include ONLY these sections: Philosophy (~4 lines) Response language & style (~2 lines) Code conventions (~4 lines) Tools (~3 lines) Git (~3 lines) Workflow (~3 lines)

- The user's core engineering values from step 2 - These shape HOW the agent thinks — they're the tiebreakers for ambiguous decisions - Language to respond in - Communication style (e.g., no unsolicited explanations) - Naming conventions (files, variables, components, constants) - Strictness rules (e.g., strict TypeScript, unknown over any) - Only conventions the agent would get wrong without guidance - Package manager - Test runner - "Run tests after changes" if that's the user's expectation - Commit message format - Key guardrails (no force push, no amend published commits) - Critical process rules (read before edit, one task at a time) - Only rules the agent tends to violate

  1. Review and trim (critical step) Read the generated file as if you're paying per token (because the user is). For each line, ask these 3 questions: a) "Would the agent get this wrong without this line?" → if NO, delete b) "Is this already enforced by a linter, type system, or config?" → if YES, delete c) "Can I merge this with another line without losing meaning?" → if YES, merge Then verify:

- Line count within target (~30 lines, 25-35 acceptable) - No two lines say the same thing differently - Every bullet is a COMMAND or CONSTRAINT, not a description

  1. Write the file

- Write to ~/.claude/CLAUDE.md - Use # headers for sections (no nested headers) - Use - bullet lists, no numbered lists - No XML tags, no code blocks, no frontmatter — plain markdown only

# Philosophy
- YAGNI: only implement what's needed NOW — no speculative abstractions
- Explicit over DRY: a little repetition is better than the wrong abstraction
- Fix root causes, never band-aid solutions

# Language
Always respond in French. Code and commits in English.

# Code conventions
- Files: kebab-case | Variables: camelCase | Components: PascalCase
- Strict TypeScript: prefer unknown over any, no implicit returns

# Tools
- Package manager: pnpm
- Tests: vitest — run after every change

# Git
- Conventional commits: feat(scope): msg, fix:, refactor:, chore:
- Never force push to main

# Workflow
- Read files before editing — understand context first
- One task at a time: finish and verify before starting the next

BAD — verbose, generic, full of things the agent already knows (annotated):

# About Me                                    ← REMOVE: not actionable
I am a senior software engineer who values    ← REMOVE: narrative, not instruction
clean code and best practices.                ← REMOVE: generic, no one disagrees

# Code Style
- Use meaningful variable names               ← REMOVE: generic best practice
- Write clean, maintainable code              ← REMOVE: generic, adds nothing
- Use async/await for asynchronous operations ← REMOVE: agent already knows
- Handle errors with try/catch                ← REMOVE: agent already knows
- Import modules at the top of the file       ← REMOVE: agent already knows
- Files: kebab-case                           ← KEEP: naming convention
- Variables: camelCase                        ← MERGE: combine with above
- Components: PascalCase                      ← MERGE: combine with above

# Project Structure                           ← REMOVE: entire section
src/                                          ← REMOVE: agent runs ls
├── components/                               ← REMOVE: agent runs ls
├── utils/                                    ← REMOVE: agent runs ls
└── lib/                                      ← REMOVE: agent runs ls

# Tools
- Package manager: pnpm                       ← KEEP: preference
- Always run npm install before starting      ← REMOVE: contradicts pnpm above
- Use prettier for formatting                 ← REMOVE: agent reads config

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.14%
按下载量换算33

Claude

29.13%
按下载量换算27

Cursor

19.14%
按下载量换算17

Gemini CLI

9.29%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills