Claude Code Project 标志

Claude Code Project

社区
zebbern
claude-code-project

Use this skill when the user wants to update their project's CLAUDE.md or AGENTS.md, verify their Claude Code setup, or check for improvements to their project configuration. Triggers on requests like: "update my project docs", "verify my claude setup", "check my project configuration", "audit my .claude directory", "improve my CLAUDE.md", "is my setup correct", "/update-project", "/verify-project", or "/check".

概览

发布者zebbern
代码仓库skills
技能名称claude-code-project
星标数
29
复刻数
2
附带文件
6
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个随附文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 zebbern 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Claude Code Project AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/zebbern/skills/tree/main/claude-code-project
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zebbern/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/claude-code-project .claude/skills/claude-code-project
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Claude Code Project,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Claude Code Project。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Claude Code Project 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Claude Code Project Manager

Manage and maintain Claude Code project configuration files. This skill provides three invokable workflows for keeping your Claude Code setup optimized and in sync with your project.

When to Use Each Command

CommandUse When
/update-projectProject changed (new stack, tools, conventions). User is unsure if CLAUDE.md/AGENTS.md need updates.
/verify-projectWant to validate entire .claude setup is correct and functional. Before major changes or periodically.
/checkWant to discover what could be improved. Looking for missing tools, MCPs, skills, or config gaps.

Prerequisites

Before running any command, understand the current project state:

  1. Check if .claude/ directory or CLAUDE.md exists in the project root
  2. Check if AGENTS.md exists (may be imported by CLAUDE.md)
  3. Identify the project stack (language, framework, build tools) by examining:
    • package.json, Cargo.toml, pyproject.toml, go.mod, etc.
    • Dockerfile, docker-compose.yml, Makefile, justfile
    • CI/CD configs (.github/workflows/, .gitlab-ci.yml)
    • Test runner configs (vitest.config.*, jest.config.*, pytest.ini)
  4. Run ls -la .claude/ or check for .claude/ directory structure

/update-project: Update CLAUDE.md and AGENTS.md

Review the current project state and update documentation to reflect reality.

Workflow

  1. Read existing files: Read current CLAUDE.md, AGENTS.md, and .claude/ contents
  2. Analyze project: Detect the actual stack, tools, commands, and conventions currently in use
  3. Identify gaps: Compare actual state vs documented state using the checklist in references/update-project-checklist.md
  4. Update CLAUDE.md: Rewrite or patch to reflect current reality. Follow the template in assets/claude-md-template.md
  5. Update AGENTS.md: If used, ensure it imports correctly and covers agent conventions
  6. Summarize changes: Report what changed and why

CLAUDE.md Best Practices (from code.claude.com/docs)

  • Be comprehensive but concise. Every line should earn its place — prefer specific rules over vague ones, but do not omit important conventions just to stay short
  • Target under 200 lines as a guideline. If you need more, use .claude/rules/ for path-scoped instructions and @imports for detailed guides
  • Load every session — only include broadly-applicable rules
  • List all commands: build, test, lint, format, dev, db commands Claude should know
  • Be specific: "Use 2-space indentation" not "Format code properly"
  • Use @imports: Pull in README, package.json with @README, @package.json
  • Keep personal prefs in CLAUDE.local.md (gitignored, not committed)
  • Use .claude/rules/ for path-scoped instructions that load only when needed
  • Place at project root or .claude/CLAUDE.md — both work

CLAUDE.md Required Sections

A high-quality CLAUDE.md should cover these categories. Adapt to the project's stack:

Commands (always include):

  • Dev server, build, start (production)
  • Test (once + watch mode if available)
  • Lint, format (write + check modes)
  • Type check
  • Database commands (generate, migrate, seed, studio)
  • Any other frequently-used scripts

Stack (always include):

  • Language + version + strict mode status
  • Framework + version + key features (e.g., App Router)
  • Database / ORM
  • Key libraries (validation, styling, testing)
  • Build tool / bundler

Code Style:

  • Indentation (spaces/tabs, count)
  • Naming conventions (files, components, functions, variables)
  • Import/export style (ES modules vs CommonJS, named vs default)

Rules (specific and verifiable):

  • File organization (directory structure, test colocation)
  • Component patterns (Server Components vs Client Components)
  • API conventions (request/response shapes, error handling)
  • Validation rules (input validation library, schemas)
  • Git workflow (branch naming, commit style, pre-commit checks)
  • Security rules (secrets handling, auth patterns)

Testing:

  • Test runner and location
  • Mocking policy (what to mock, what not to mock)
  • Coverage expectations

AGENTS.md Notes

  • Claude Code reads CLAUDE.md, not AGENTS.md directly
  • If AGENTS.md exists for other agents, import it from CLAUDE.md: @AGENTS.md
  • Add Claude-specific instructions after the import
  • AGENTS.md is optional — only create if other tools need it too

What to Check

Read references/update-project-checklist.md for the full checklist.

/verify-project: End-to-End Verification

Run a comprehensive audit of the entire Claude Code project setup.

Workflow

  1. Read all config files: .claude/, CLAUDE.md, AGENTS.md, .mcp.json, settings.json, settings.local.json
  2. Check file structure: Validate directory layout follows conventions
  3. Validate syntax: Ensure all markdown frontmatter, JSON, and configs parse correctly
  4. Check cross-references: Verify imports (@file) point to existing files
  5. Verify hooks: Check hook scripts are executable and reference valid commands
  6. Test MCP connectivity: Verify .mcp.json servers are accessible if possible
  7. Check skills: Verify .claude/skills/*/SKILL.md files have valid frontmatter
  8. Check subagents: Verify .claude/agents/*.md files have valid frontmatter
  9. Validate rules: Ensure .claude/rules/*.md have proper globs and content
  10. Report findings: Output pass/fail for each check with specific issues

Read references/verify-project-checklist.md for the full checklist.

Common Issues to Flag

  • CLAUDE.md > 200 lines without path-scoped rules
  • Missing build/test/format commands in CLAUDE.md
  • @import references to non-existent files
  • Subagents with duplicate name fields
  • Hooks referencing commands not in PATH
  • skills without YAML frontmatter or missing name/description
  • AGENTS.md not imported in CLAUDE.md (if both exist)

/check: Discover Improvements

Audit the project setup and suggest improvements for tools, MCPs, skills, hooks, and configuration.

Workflow

  1. Analyze the project: Read package.json, README, Dockerfile, CI configs, source structure
  2. Check current .claude/ setup: List all existing configuration
  3. Identify gaps: Compare against the improvement categories in references/check-improvements-guide.md
  4. Search for skills: If skill recommendations needed, use the npx skills CLI (see Skill Discovery below)
  5. Propose improvements: Deliver prioritized, actionable recommendations

Improvement Categories

  1. CLAUDE.md quality: Length, specificity, command coverage, import usage
  2. Missing tools: Build, test, lint, format tools not documented
  3. MCP opportunities: External services (databases, APIs, cloud) that could benefit from MCP
  4. Skill gaps: Workflows that could be automated with skills
  5. Subagent opportunities: Tasks that would benefit from specialized subagents
  6. Hook opportunities: Automated actions (format-on-save, lint checks, notifications)
  7. Rules organization: Path-scoped rules for monorepos or multi-language projects
  8. Settings optimization: Permission modes, model selection, context management

Skill Discovery with npx skills CLI

Use the Skills CLI for all skill operations. Do NOT browse the website — use the terminal.

Key commands:

bash
# Search for skills by keyword
npx skills find <keyword>
# Example: npx skills find react
# Example: npx skills find testing

# Interactive search (opens fzf-style picker, no arguments)
npx skills find

# List currently installed skills (project + global)
npx skills list

# List only globally installed skills
npx skills ls -g

# Check for skill updates
npx skills check

# Update all installed skills
npx skills update

# Install a skill
npx skills add <owner/repo>
# Example: npx skills add vercel-labs/agent-skills

# Install a specific skill from a multi-skill repo
npx skills add <owner/repo> --skill <skill-name>

# Remove a skill
npx skills remove <skill-name>

# Create a new skill scaffold
npx skills init <skill-name>

How to recommend skills in /check:

  1. Run npx skills list to see what the user already has installed
  2. Identify gaps based on the project stack (e.g., React project missing React skills)
  3. Run npx skills find <keyword> to search for relevant skills (e.g., npx skills find react)
  4. Verify quality: prefer 1K+ installs, official sources (anthropics, vercel-labs, microsoft)
  5. Report: skill name, purpose, install command, why it fits

Common skills by category (use npx skills find <keyword> to discover):

  • React/Next.js: Search npx skills find react or npx skills find nextjs
  • Testing: Search npx skills find testing or npx skills find tdd
  • Design: Search npx skills find design or npx skills find frontend
  • Code review: Search npx skills find review
  • Architecture: Search npx skills find architecture
  • Security: Search npx skills find security

Output Format

Use this structure for /check results:

markdown
# Project Configuration Check: <project-name>

## Summary
<brief overview of current state and top 3 recommendations>

## Current Setup
<what exists today>

## Recommendations (prioritized)
### High Impact
1. **<recommendation>** - <why>
2. ...

### Medium Impact
1. ...

### Low Impact / Nice to Have
1. ...

## Missing Tools/Integrations
- <tool> - <purpose> - <how to add>

## Suggested Skills
- `<owner/repo>` - <purpose> - `npx skills add <owner/repo>`

## Quick Wins
<3 things to do right now for immediate improvement>

Managing Installed Skills

When the user needs to manage existing skills (list, update, remove):

bash
# See all installed skills
npx skills list

# Check which skills have updates available
npx skills check

# Update everything
npx skills update

# Remove a skill no longer needed
npx skills remove <skill-name>

# Install skill globally (available in all projects)
npx skills add <owner/repo> -g

# Install skill to project only (committed to repo)
npx skills add <owner/repo>

Reference: .claude Directory Structure

project/
├── CLAUDE.md              # or .claude/CLAUDE.md - main instructions
├── CLAUDE.local.md        # personal prefs (gitignored)
├── AGENTS.md              # shared agent instructions (imported by CLAUDE.md)
├── .mcp.json              # MCP server configuration
├── .claude/
│   ├── CLAUDE.md          # alternative location for main instructions
│   ├── settings.json      # project-level settings
│   ├── settings.local.json # personal overrides (gitignored)
│   ├── .mcp.json          # alternative MCP location
│   ├── hooks/             # hook scripts (optional)
│   ├── skills/            # custom skills
│   │   └── <skill-name>/
│   │       └── SKILL.md
│   ├── agents/            # custom subagents
│   │   └── <agent-name>.md
│   ├── workflows/         # dynamic workflow scripts (optional)
│   ├── commands/          # custom slash commands (optional)
│   ├── rules/             # path-scoped rules
│   │   └── <rule-name>.md
│   └── agent-memory/      # per-agent memory (auto-managed)

For full details, read references/claude-directory-structure.md.

Key Resources

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Claude Code Project AI 技能有什么作用?

Use this skill when the user wants to update their project's CLAUDE.md or AGENTS.md, verify their Claude Code setup, or check for improvements to their project configuration. Triggers on requests like: "update my project docs", "verify my claude setup", "check my project configuration", "audit my .claude directory", "improve my CLAUDE.md", "is my setup correct", "/update-project", "/verify-project", or "/check".

为什么在 TypingMind 中使用 Claude Code Project?

因为您只需安装一次,就能搭配任何模型使用。Claude Code Project 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Claude Code Project?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/zebbern/skills/tree/main/claude-code-project。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Claude Code Project?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Claude Code Project 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Claude Code Project 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Claude Code Project AI 技能免费吗?

该技能源自 zebbern 在 GitHub 上发布的项目。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇