claude-code-best-practice-zh: Command for Claude Code

.claude/commands/workflows/best-practice/workflow-concepts.md

workflow-concepts is a command for Claude Code from rongxinzy/claude-code-best-practice-zh. It costs 17 tokens per session (3,310 once invoked), scanned A, a copy of workflow-concepts, MIT.

A command workflow for checking whether a project's README accurately lists Claude Code concepts and features. It uses Claude Code documentation and change history, then compares them with local project files.

In plain words
What is it for?
Use it to research recent Claude Code concepts, verify URLs and descriptions, and report missing, changed, deprecated, or inaccurately documented items.
Why use it?
It helps keep a concepts section current when the programming assistant gains, changes, or removes features.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is rongxinzy/claude-code-best-practice-zh's own configuration. It tells Claude Code how to work on claude-code-best-practice-zh itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-best-practice-zh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rongxinzy/claude-code-best-practice-zh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rongxinzy/claude-code-best-practice-zh/main/.claude/commands/workflows/best-practice/workflow-concepts.md
Clone the repo
git clone --depth 1 https://github.com/rongxinzy/claude-code-best-practice-zh

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflow-concepts

README.md
[![agentmods](https://agentmods.dev/badge/commands/rongxinzy/claude-code-best-practice-zh/workflow-concepts/github.svg)](https://agentmods.dev/commands/rongxinzy/claude-code-best-practice-zh/workflow-concepts)
Your own site
<a href="https://agentmods.dev/commands/rongxinzy/claude-code-best-practice-zh/workflow-concepts"><img src="https://agentmods.dev/badge/commands/rongxinzy/claude-code-best-practice-zh/workflow-concepts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workflow-concepts

Your own site · 80×15
<a href="https://agentmods.dev/commands/rongxinzy/claude-code-best-practice-zh/workflow-concepts"><img src="https://agentmods.dev/badge/commands/rongxinzy/claude-code-best-practice-zh/workflow-concepts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.03310
Opus 5 $0.00009 $0.01655
Sonnet 5 $0.00003 $0.00662
Haiku 4.5 $0.00002 $0.00331

Measured 8d ago against content hash 6e9b8755bf84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

workflow-concepts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to workflow-concepts — 252 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/workflows/best-practice/workflow-concepts.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

工作流变更日志 —— README 概念

你是 claude-code-best-practice 项目的协调员。你的工作是并行启动两个研究代理,等待它们的结果,合并发现,并呈现关于README CONCEPTS 部分README.md)差异的统一报告。

检查版本数: $ARGUMENTS(默认:如果为空或非数字则为 10)

这是一个先读取后报告的工作流。启动代理,合并结果,生成报告。仅在用户批准时采取行动。


阶段 0: 并行启动两个代理

立即同一条消息中使用 Task 工具生成两个代理(并行启动):

代理 1: workflow-concepts-agent

使用 subagent_type: "workflow-concepts-agent" 生成。给它这个提示:

研究 claude-code-best-practice 项目的 README CONCEPTS 部分差异。检查最后 $ARGUMENTS 个版本(默认:10)。

获取这 3 个外部来源:

  1. Claude Code 文档索引:https://code.claude.com/docs/en
  2. Claude Code 变更日志:https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
  3. Claude Code 功能概述:https://code.claude.com/docs/zh-CN/overview

然后读取本地 README.md(特别是 CONCEPTS 表格)、CLAUDE.md 和 reports/claude-global-vs-project-settings.md。分析官方文档列为 Claude Code 概念/功能的内容与我们的 README CONCEPTS 表格文档之间的差异。返回涵盖缺失概念、变更概念、已弃用概念、URL 准确性、描述准确性和徽章准确性的结构化发现报告。

代理 2: claude-code-guide

使用 subagent_type: "claude-code-guide" 生成。给它这个提示:

研究最新的 Claude Code 功能和概念。我需要你找到应该记录的完整Claude Code 概念/功能列表。对于每个,提供:

  1. 官方功能名称
  2. 官方文档 URL
  3. 文件系统位置(例如 .claude/commands/~/.claude/teams/
  4. 简要描述(一行)
  5. 引入时间(如果知道的版本/日期)

具体检查这些可能缺失的概念:

  • Worktrees —— 用于并行开发的 git 工作树隔离
  • 代理团队 —— 多代理协调
  • 任务 —— 跨会话的持久任务列表
  • 自动记忆 —— Claude 的自写项目学习
  • 快捷键 —— 自定义键盘快捷键
  • 远程连接 —— SSH、Docker、云开发
  • IDE 集成 —— VS Code、JetBrains 扩展
  • 模型配置 —— 模型选择和路由
  • GitHub 集成 —— PR 审查、问题分类
  • 最近 Claude Code 版本的任何其他概念

要彻底 —— 搜索网络、获取文档,并为你发现的所有内容提供具体的版本号和详细信息。

两个代理独立运行并返回它们的发现。


阶段 0.5: 读取验证清单

在代理运行时,如果存在则读取 changelog/best-practice/concepts/verification-checklist.md。此文件包含累积的验证规则。如果尚不存在,跳过此步骤 —— 它将在阶段 2 中创建。


阶段 1: 读取之前的变更日志条目

在合并发现之前,如果存在则读取文件 changelog/best-practice/concepts/changelog.md 获取之前的变更日志条目。每个条目由 --- 分隔。解析那些之前条目的优先行动项,以便你可以将它们与当前发现对比。这让你可以识别:

  • 重复项目 —— 之前出现过且仍未解决的问题
  • 新解决的项目 —— 之前运行中现已修复的问题
  • 新增项目 —— 此次运行中首次出现的问题

如果文件尚不存在,所有项目都是新增的。


阶段 2: 合并发现与生成报告

**等待两个代理完成。**一旦你有了:

  • workflow-concepts-agent 发现 —— 带有本地文件读取、外部文档获取和差异检测的详细分析
  • claude-code-guide 发现 —— 关于最新 Claude Code 功能和概念的独立研究

Read the full file on GitHub · 232 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 232 lines · 17 tokens per session scan A 6e9b8755bf84

Subscribe to this mod's changes

workflow-concepts is a command published in the GitHub repository rongxinzy/claude-code-best-practice-zh (6 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 3,310 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to workflow-concepts, differing in 252 lines, and is treated as a copy.