CLAUDE.md@srcA

CLAUDE.md@src from fengshao1227/ccg-workflow is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add fengshao1227/ccg-workflow/src/CLAUDE.md@git:20261012.db66728

Pins git:20261012.db66728 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
fengshao1227/ccg-workflow
Path
src/CLAUDE.md
Versions recorded
5
Latest version
git:20261012.db66728, committed Oct 12, 2026
First version recorded
Aug 29, 2026
Size
21,985 bytes
Repository stars
5,957
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# src (CCG TypeScript CLI)

> [根目录](../CLAUDE.md) > **src**

**Last Updated**: 2026-09-15

---

## 模块职责

`src/` 是 CCG Workflow CLI 工具的全部 TypeScript 实现。负责:一键安装/更新 CCG 工作流到用户环境 (`~/.claude/`),从 `templates/` 读取素材并经过模板变量替换后写入目标位置,管理 MCP 服务配置(Claude/Codex/Gemini 三端同步),提供中英双语交互界面,以及通过 Skill Registry 从 SKILL.md frontmatter 自动生成 slash commands。

打包产物由 `unbuild` 输出到 `dist/`,由 `bin/ccg.mjs` 加载,通过 `npx ccg-workflow` 或 `npx ccg-workflow menu` 调用。

---

## 入口与启动

| 文件 | 角色 |
|------|------|
| `src/cli.ts` | CLI 主入口,创建 `cac('ccg')` 实例,调用 `setupCommands()` 注册命令,然后 `cli.parse()` |
| `src/cli-setup.ts` | 命令注册层,读取 `~/.claude/.ccg/config.toml` 初始化语言,为每个命令绑定 action |
| `src/index.ts` | 库导出入口,聚合所有公开 API 供外部程序调用 |
| `dist/` | `unbuild` 产物,`cli.mjs` + `index.mjs` 各一份 |
| `bin/ccg.mjs` | npm bin 脚本,加载 `dist/cli.mjs` |

**启动链**:`npx ccg-workflow` → `bin/ccg.mjs` → `dist/cli.mjs` → `cli.ts:main()` → `setupCommands()` → `cli.parse()`

---

## 对外接口

### CLI 命令(`src/cli-setup.ts`)

| 命令 | 别名 | 说明 | 实现文件 |
|------|------|------|----------|
| `ccg` (默认) | — | 显示交互式菜单 | `commands/menu.ts:showMainMenu()` |
| `ccg init` | `ccg i` | 4 步交互安装向导 | `commands/init.ts:init()` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fengshao1227/ccg-workflow/src/CLAUDE.md@sha256:30c378627d0d264c

The line at the top of this page pins the label git:20261012.db66728, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ntnbf4ozwqvuntmn.svg)](https://markdownregistry.com/a/art_ntnbf4ozwqvuntmn)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 29, 2026 and Oct 12, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20261012.db66728 latest2026-10-12 db66728 21,985 BA view · diff
git:20260915.f349e3d2026-09-15 f349e3d 20,727 BA view · diff
git:20260915.2247aac2026-09-15 2247aac 20,564 BA view · diff
git:20260903.fba314b2026-09-03 fba314b 20,156 BA view · diff
git:20260829.fe904052026-08-29 fe90405 18,824 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (21985 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fengshao1227/ccg-workflow · 5,957 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ntnbf4ozwqvuntmn
GET https://markdownregistry.com/api/v1/resolve?ref=fengshao1227/ccg-workflow/src/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/30c378627d0d264c83b853939180be9ecb89ef7a256d04b5b432ff042ae252b8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from fengshao1227/ccg-workflow

openspec-apply-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 5,957 stars
openspec-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 5,957 stars
openspec-bulk-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-bulk-archive-change/SKILL.md · Archive multiple completed changes at once. Use when archiving several parallel changes.
v1.0 · audit A · 5,957 stars
openspec-continue-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-continue-change/SKILL.md · Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change…
v1.0 · audit A · 5,957 stars
openspec-explore SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 5,957 stars
openspec-ff-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-ff-change/SKILL.md · Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for…
v1.0 · audit A · 5,957 stars
openspec-new-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-new-change/SKILL.md · Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature…
v1.0 · audit A · 5,957 stars
openspec-onboard SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-onboard/SKILL.md · Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
v1.0 · audit A · 5,957 stars
openspec-sync-specs SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 5,957 stars
openspec-verify-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-verify-change/SKILL.md · Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete…
v1.0 · audit A · 5,957 stars
CLAUDE.md CLAUDE.md file
fengshao1227/ccg-workflow · CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars
CLAUDE.md@codeagent-wrapper CLAUDE.md file
fengshao1227/ccg-workflow · codeagent-wrapper/CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars

Every file in fengshao1227/ccg-workflow

Other files named CLAUDE.md@src

CLAUDE.md@src CLAUDE.md file
7xuanlu/wenlan · src/CLAUDE.md
git:20260816.95cb545 · audit B · 93 stars
CLAUDE.md@src CLAUDE.md file
wenlan-app/wenlan · src/CLAUDE.md
git:20260816.95cb545 · audit B · 90 stars
CLAUDE.md@src CLAUDE.md file
sfc-gh-eraigosa/dotfiles · src/CLAUDE.md
git:20260707.3f46d49 · audit B · 53 stars
CLAUDE.md@src CLAUDE.md file
rjmurillo/ai-agents · src/CLAUDE.md
git:20260911.1c2f8a7 · audit B · 49 stars
CLAUDE.md@src CLAUDE.md file
eric-cielo/moflo · src/CLAUDE.md
git:20260426.0a84d2c · audit A · 19 stars
CLAUDE.md@src CLAUDE.md file
pdugan20/claudelint · src/CLAUDE.md
git:20260727.016b46d · audit B · 14 stars
CLAUDE.md@src CLAUDE.md file
edmonds-commerce-limited/claude-code-hooks-daemon · src/CLAUDE.md
git:20260914.b5284d3 · audit A · 4 stars

Browse by kind, by grade A, or by owner.