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

claude-md-projectClaude MD project 搜索

Agent Skill

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

总安装

264

周安装

11

GitHub Stars

11

下载量

88
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

claude-md-project 生成针对单个仓库的项目级 CLAUDE.md 文件。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中为特定项目定制 AI 指导文档。
  • 通过 GitHub 仓库安装,目标约 40 行高度聚焦内容。
  • 使用前需读取 package.json 等配置文件获取项目特征。
  • 注意该文件仅作用于当前仓库,不影响其他项目。

SKILL.md

claude-md-project

Generate or audit a project-level ./CLAUDE.md — context specific to this repository.

The project file lives at ./CLAUDE.md (repo root) and applies to THIS project only. Target: ~40 lines maximum.

  1. Analyze the current project Read these files to understand the project (do NOT put discoverable info in the output):

- package.json or pyproject.toml — dependencies, scripts - README.md — project description - tsconfig.json or equivalent — language config - .eslintrc / biome.json / ruff.toml — linting rules - .claude/settings.json — check for existing hooks (don't duplicate what hooks already enforce) - Scan top-level directory structure

  1. Identify non-discoverable context For each candidate line, apply the filter: "Can the agent figure this out by reading the code?" What typically passes the filter: What typically fails the filter:

- If YES → do not include - If NO → include - What the project does (1-2 sentences of domain context) - Non-obvious stack choices (e.g., "Supabase with RLS" — not "uses React") - Commands with special setup (e.g., pnpm db:migrate — not pnpm dev) - Architecture decisions the agent would get wrong (e.g., "all DB queries go through /lib/db") - Implicit patterns not enforced by linters (e.g., "Server Components fetch; Client Components interact") - Guardrails for common mistakes (e.g., "do not modify /lib/db/client.ts") - Directory tree listings (agent runs ls) - Dependency lists (agent reads package.json) - Standard commands like npm install, npm test, npm run dev - README content repeated - Generic best practices - Rules already enforced by linters or type system

  1. Think before writing (critical step) Before generating, walk through each section mentally:

- For "What this project does": Is this inferable from the README? If so, what's the ONE thing the README doesn't capture? - For "Stack": Would the agent guess wrong about any choice? Only include those. - For "Commands": Is this just pnpm <script-name>? If so, skip it. - For "Architecture": What would a new contributor get wrong in their first week? - For "Do NOT": What mistakes has the agent (or a human) actually made?

  1. Generate the file with these sections Philosophy (~4 lines) What this project does (~2 lines) Stack (~3 lines) Commands (~3 lines) Architecture decisions (~5 lines) Patterns to follow (~4 lines) Do NOT (~3 lines)

- This project's design principles — not generic advice - Quality test: "If I removed this, would the agent make a different (wrong) choice?" - Domain context, not marketing copy - What problem it solves, for whom - Only non-obvious choices not discoverable from config files - Include WHERE things live if the convention is unusual - Only commands with non-standard flags or required setup steps - Skip anything that's just pnpm <standard-script> - Decisions the agent would get wrong without guidance - Where specific things live and WHY - Patterns that aren't enforced by linters or types - Project-specific conventions - Rules the agent tends to violate in this codebase - Explicit guardrails for common mistakes — include WHY for each - Protected files or directories - Anti-patterns specific to this project

  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, hook, 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 (~40 lines, 30-50 acceptable) - No two lines say the same thing differently - Every bullet is a COMMAND or CONSTRAINT, not a description - Every "Do NOT" includes a reason

  1. Write the file

- Write to ./CLAUDE.md at the project root - Use # headers for sections (no nested headers) - Use - bullet lists for rules - Use plain text for commands (no code blocks needed for simple commands) - No XML tags, no frontmatter — plain markdown only

  1. Suggest.claude/rules/ if appropriate If the project has: Then suggest splitting into .claude/rules/ files: Also: if rules can be automated (format, lint, test), suggest using hooks in .claude/settings.json instead of CLAUDE.md instructions. Hooks are more reliable than asking.

- Multiple distinct domains (frontend + backend + infra) - File-type-specific rules (different conventions for tests vs source) - More than 50 lines of context needed - Keep the main CLAUDE.md for cross-cutting concerns (~20 lines) - Create .claude/rules/[domain].md for specific areas - Each rules file can use globs in frontmatter: globs: ["src/api/**"]

# Philosophy
- API-first: public endpoints are the contract, internals can change freely
- Thin components, thick hooks: UI components are dumb, logic lives in hooks
- Fail loudly: errors bubble to boundaries, never swallowed silently
- Schema-first: Zod defines the contract, types and validation derive from it

# What this project does
Internal dashboard for the sales team — tracks pipeline and generates commission reports.

# Stack
- Supabase Auth with RLS policies on every table
- Charts use Recharts with the custom theme in /lib/charts/theme.ts

# Commands
pnpm db:migrate   # applies pending Supabase migrations locally
pnpm db:gen       # regenerates TypeScript types from DB schema

# Architecture decisions
- All DB queries go through /lib/db — never call Supabase client directly
- Zod schemas in /lib/schemas are the single source of truth for validation
- Background jobs use Inngest in /inngest/functions — not cron or setTimeout
- Commission calculations in /lib/commissions are the most complex part — always add tests

# Patterns to follow
- Server Components fetch data; Client Components handle interactivity only
- Use server actions for mutations, not API routes
- Let errors bubble to error.tsx boundaries

# Do NOT
- Do not create barrel files (index.ts re-exports) — causes circular deps
- Do not add console.log — use /lib/logger for structured output
- Do not modify /lib/db/client.ts — configures connection pooling, changes break prod

BAD — verbose, full of discoverable info (annotated):

# Project Overview                             ← REMOVE: restates README
This is a Next.js application that uses        ← REMOVE: narrative, not instruction
React for the frontend and Supabase for        ← REMOVE: discoverable from package.json
the backend database.                          ← REMOVE: discoverable from package.json

# Tech Stack                                   ← REMOVE: entire section is discoverable
- React 18.2                                   ← REMOVE: in package.json
- Next.js 15                                   ← REMOVE: in package.json
- TypeScript 5.3                               ← REMOVE: in package.json
- Tailwind CSS 3.4                             ← REMOVE: in package.json
- Supabase                                     ← REMOVE: in package.json

# Directory Structure                          ← REMOVE: agent runs ls
src/
├── components/
├── pages/
├── utils/
└── lib/

# How to run                                   ← REMOVE: standard commands
npm install                                    ← REMOVE: obvious
npm run dev                                    ← REMOVE: standard script
npm test                                       ← REMOVE: standard script

# Code Style                                   ← REMOVE: enforced by tooling
- Use 2-space indentation                      ← REMOVE: in .prettierrc
- Use single quotes                            ← REMOVE: in .prettierrc
- Always use semicolons                        ← REMOVE: in .prettierrc

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.77%
按下载量换算34

Claude

28.9%
按下载量换算25

Cursor

18.98%
按下载量换算17

Gemini CLI

9.31%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills